1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127 | phablet@ubuntu-phablet:~/Documents$ gdb mainv3/main
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mainv3/main...(no debugging symbols found)...done.
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb)
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb)
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /home/phablet/Documents/mainv3/main
[INFO ] [Logger ] Record log in /home/phablet/.kivy/logs/kivy_16-03-30_2.txt
[INFO ] [Kivy ] v1.9.2-dev0
[INFO ] [Python ] v3.4.2 (default, Oct 19 2014, 14:03:53)
[GCC 4.9.1]
[INFO ] [Factory ] 182 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored)
Program received signal SIGSEGV, Segmentation fault.
__libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
47 ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) backtrace full
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
No locals.
#1 0xb6ec862e in __GI_raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:55
_a1 = 0
_a3tmp = 11
_a1tmp = 0
_a3 = 11
_nametmp = 268
_a2tmp = 29624
_a2 = 29624
_name = 268
_sys_result = <optimized out>
pd = 0xb6ffa000
pid = 0
selftid = 29624
#2 0x0001417c in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) backtrace full
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
No locals.
#1 0xb6ec862e in __GI_raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:55
_a1 = 0
_a3tmp = 11
_a1tmp = 0
_a3 = 11
_nametmp = 268
_a2tmp = 29624
_a2 = 29624
_name = 268
_sys_result = <optimized out>
pd = 0xb6ffa000
pid = 0
selftid = 29624
#2 0x0001417c in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info registers
r0 0x0 0
r1 0x73b8 29624
r2 0xb 11
r3 0xb6ffa000 3070205952
r4 0xb6ffa4c0 3070207168
r5 0x3a1e0 238048
r6 0x1 1
r7 0x10c 268
r8 0x2 2
r9 0xbeffc108 3204432136
r10 0x1 1
r11 0x0 0
r12 0x10c 268
sp 0xbeffc0d0 0xbeffc0d0
lr 0xb6ec862f -1226013137
pc 0xb6eba9a6 0xb6eba9a6 <__libc_do_syscall+6>
cpsr 0x80070030 -2147024848
(gdb) x/16i $pc
=> 0xb6eba9a6 <__libc_do_syscall+6>: pop {r7, pc}
0xb6eba9a8: nop.w
0xb6eba9ac: nop.w
0xb6eba9b0 <__GI___errno_location>: ldr r3, [pc, #12] ; (0xb6eba9c0 <__GI___errno_location+16>)
0xb6eba9b2 <__GI___errno_location+2>: mrc 15, 0, r0, cr13, cr0, {3}
0xb6eba9b6 <__GI___errno_location+6>: add r3, pc
0xb6eba9b8 <__GI___errno_location+8>: ldr r3, [r3, #0]
0xb6eba9ba <__GI___errno_location+10>: add r0, r3
0xb6eba9bc <__GI___errno_location+12>: bx lr
0xb6eba9be <__GI___errno_location+14>: nop
0xb6eba9c0 <__GI___errno_location+16>: adds r6, #254 ; 0xfe
0xb6eba9c2 <__GI___errno_location+18>: movs r5, r1
0xb6eba9c4 <__aeabi_assert>: push {r3, lr}
0xb6eba9c6 <__aeabi_assert+2>: movs r3, #0
0xb6eba9c8 <__aeabi_assert+4>: bl 0xb6ec39fc <__GI___assert_fail>
0xb6eba9cc <__aeabi_localeconv>: b.w 0xb6ec2e10 <__localeconv>
(gdb) thread apply all backtrace
Thread 1 (process 29624):
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
#1 0xb6ec862e in __GI_raise (sig=11) at ../sysdeps/unix/sysv/linux/raise.c:55
#2 0x0001417c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) quit
A debugging session is active.
Inferior 1 [process 29624] will be killed.
Quit anyway? (y or n) y
|