]> git.feebdaed.xyz Git - linuxyz.git/commitdiff
add numbering
authorseantywork <seantywork@gmail.com>
Thu, 17 Apr 2025 13:16:18 +0000 (13:16 +0000)
committerseantywork <seantywork@gmail.com>
Thu, 17 Apr 2025 13:16:18 +0000 (13:16 +0000)
fault/2504-03.xyz.md

index 687c2babdeae9ab362bda11acb3af90402ef6968..4805e66cffebeae6108900da562778885f7b3bb2 100644 (file)
@@ -12,7 +12,7 @@
 
 
 
-# 
+# 02
 
 
 ```shell
@@ -34,7 +34,7 @@ sudo top -H -p 45742
 ```
 
 
-# 
+# 03
 
 
 ```shell
@@ -69,7 +69,7 @@ sudo top -H -p 45742
 
 
 
-# 
+# 04
 
 ```shell
 (gdb) thread 2
@@ -78,7 +78,8 @@ sudo top -H -p 45742
 43                  val = val ^ 1;
 ```
 
-# 
+# 05
+
 ```shell
 (gdb) step
 35                  if(nanosleep(&request , &remaing) < 0){
@@ -113,7 +114,7 @@ thread_func (p=0x3c75ade0) at main.c:43
 
 ```
 
-# 
+# 06
 
 ```shell
 
@@ -135,7 +136,7 @@ thread_func (p=0x3c75ade0) at main.c:43
 ```
 
 
-# 
+# 07
 
 ```shell
 
@@ -148,7 +149,7 @@ Num     Type           Disp Enb Address            What
 
 ```
 
-#
+# 08
 
 ```shell
 
@@ -183,7 +184,7 @@ Thread 2 "test.out" hit Breakpoint 3, thread_func (p=0x3c75ade0) at main.c:43
 ```
 
 
-#
+# 09
 
 ```shell
 
@@ -193,7 +194,7 @@ No breakpoints, watchpoints, tracepoints, or catchpoints.
 
 ```
 
-#
+# 10
 
 ```shell
 (gdb) thread 3
@@ -210,7 +211,7 @@ Num     Type           Disp Enb Address            What
 
 ```
 
-#
+# 11
 
 ```shell
 
@@ -227,7 +228,7 @@ Thread 3 "test.out" hit Breakpoint 13, thread_func (p=0x3c75aca0) at main.c:43
 
 ```
 
-#
+# 12
 
 ```shell
 
@@ -239,7 +240,7 @@ Thread 3 "test.out" hit Breakpoint 13, thread_func (p=0x3c75aca0) at main.c:43
 
 ```
 
-#
+# 13
 
 ```shell
 (gdb) thread 6
@@ -275,7 +276,7 @@ warning: 78     ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or di
 
 ```
 
-#
+# 14
 
 
 ```shell
@@ -287,7 +288,7 @@ remaing = {tv_sec = 0, tv_nsec = 558998877944888576}
 
 ```
 
-# 
+# 15
 
 ```shell
 (gdb) print *idx
@@ -296,7 +297,7 @@ $1 = 5
 ```
 
 
-# 
+# 16
 
 ```shell
 $ ulimit -c
@@ -305,7 +306,7 @@ $ ulimit -c unlimited
 $ ulimit -c
 unlimited
 ```
-#
+# 17
 ```shell
 $ ./test.out 2
 Segmentation fault (core dumped)
@@ -313,7 +314,7 @@ Segmentation fault (core dumped)
 ```
 
 
-# 
+# 18
 
 ```shell
 $ ls
@@ -322,7 +323,7 @@ $ ls
 ```
 
 
-# 
+# 19
 
 ```shell
 gdb ./test.out core
@@ -336,7 +337,7 @@ Program terminated with signal SIGSEGV, Segmentation fault.
 [Current thread is 1 (Thread 0x7320465fa6c0 (LWP 58184))]
 ```
 
-#
+# 20
 
 ```shell
 (gdb) info locals