Project

General

Profile

gdb-audacious.txt

N.Y. Tam, January 29, 2015 16:25

 
1
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
2
Copyright (C) 2014 Free Software Foundation, Inc.
3
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
4
This is free software: you are free to change and redistribute it.
5
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
6
and "show warranty" for details.
7
This GDB was configured as "x86_64-linux-gnu".
8
Type "show configuration" for configuration details.
9
For bug reporting instructions, please see:
10
<http://www.gnu.org/software/gdb/bugs/>.
11
Find the GDB manual and other documentation resources online at:
12
<http://www.gnu.org/software/gdb/documentation/>.
13
For help, type "help".
14
Type "apropos word" to search for commands related to "word"...
15
Reading symbols from audacious...done.
16
(gdb) handle SIG33 pass nostop noprint
17
Signal        Stop	Print	Pass to program	Description
18
SIG33         No	No	Yes		Real-time event 33
19
(gdb) set pagination 0
20
(gdb) run
21
Starting program: /usr/local/bin/audacious 
22
[Thread debugging using libthread_db enabled]
23
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
24
[New Thread 0x7fffee270700 (LWP 24577)]
25
[New Thread 0x7fffeda6f700 (LWP 24578)]
26
[New Thread 0x7fffed26e700 (LWP 24579)]
27
[Thread 0x7fffeda6f700 (LWP 24578) exited]
28

    
29
Program received signal SIGSEGV, Segmentation fault.
30
strlen () at ../sysdeps/x86_64/strlen.S:106
31
106	../sysdeps/x86_64/strlen.S: No such file or directory.
32
(gdb) backtrace full
33
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
34
No locals.
35
#1  0x00007ffff7baa54b in str_concat (strings=...) at audstrings.cc:124
36
        len = <optimized out>
37
        s = 0x0
38
        __for_range = @0x7fffffffd3d0: {_M_array = 0x7fffffffd3e0, _M_len = 3}
39
        __for_begin = 0x7fffffffd3f0
40
        str = {stack = 0x7ffff7eb9000, m_data = 0x7ffff7eb9008 "pulse – \223 Default mixer device", m_len = 1048567}
41
        set = 0x7ffff7eb9012 "\223 Default mixer device"
42
        left = 1048557
43
#2  0x00007fffd3401985 in mixer_found (name=0xc0e860 "pulse", description=<optimized out>) at config.cc:174
44
No locals.
45
#3  0x00007fffd340148e in get_defined_devices (type=0x0, type@entry=0x7fffd34026f2 "ctl", found=0x7fffd3401940 <mixer_found(char const*, char const*)>) at config.cc:60
46
        name = 0xc0e860 "pulse"
47
        description = 0x0
48
        type = 0x0
49
        hints = 0xbf7410
50
        __FUNCTION__ = "get_defined_devices"
51
#4  0x00007fffd3401c2a in mixer_list_fill () at config.cc:188
52
No locals.
53
#5  alsa_prefs_init () at config.cc:309
54
No locals.
55
#6  0x00007fffd4f1e211 in audgui_show_plugin_prefs (plugin=0x6592c0) at plugin-prefs.cc:148
56
        node = <optimized out>
57
        __PRETTY_FUNCTION__ = "void audgui_show_plugin_prefs(PluginHandle*)"
58
        window = <optimized out>
59
        content = <optimized out>
60
        box = <optimized out>
61
        header = 0x7fffd3604900 <aud_plugin_instance>
62
        p = 0x7fffd36040e0 <ALSAPlugin::prefs>
63
        name = <optimized out>
64
#7  0x00007ffff73c1474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
65
No symbol table info available.
66
#8  0x00007ffff73db087 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
67
No symbol table info available.
68
#9  0x00007ffff73db9df in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
69
No symbol table info available.
70
#10 0x00007fffd647b2a5 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
71
No symbol table info available.
72
#11 0x00007ffff73c1474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
73
No symbol table info available.
74
#12 0x00007ffff73db087 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
75
No symbol table info available.
76
#13 0x00007ffff73db9df in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
77
No symbol table info available.
78
#14 0x00007fffd647a199 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
79
No symbol table info available.
80
#15 0x00007fffd652095f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
81
No symbol table info available.
82
#16 0x00007ffff73c1245 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
83
No symbol table info available.
84
#17 0x00007ffff73d2e62 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
85
No symbol table info available.
86
#18 0x00007ffff73db285 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
87
No symbol table info available.
88
#19 0x00007ffff73db9df in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
89
No symbol table info available.
90
#20 0x00007fffd6637adc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
91
No symbol table info available.
92
#21 0x00007fffd651f0a4 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
93
No symbol table info available.
94
#22 0x00007fffd651f53b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
95
No symbol table info available.
96
#23 0x00007fffd619377c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
97
No symbol table info available.
98
#24 0x00007ffff70ebc5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
99
No symbol table info available.
100
#25 0x00007ffff70ebf48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
101
No symbol table info available.
102
#26 0x00007ffff70ec272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
103
No symbol table info available.
104
#27 0x00007fffd651e4b7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
105
No symbol table info available.
106
#28 0x00007ffff7bb19a8 in interface_run () at interface.cc:166
107
No locals.
108
#29 0x00007ffff7bc2328 in aud_run () at runtime.cc:320
109
        autosave = {serial = 1, _running = true}
110
#30 0x000000000040581a in main (argc=<optimized out>, argv=<optimized out>) at main.cc:370
111
        __FUNCTION__ = "main"
112
(gdb) info registers
113
rax            0x0	0
114
rbx            0x7fffffffd3f0	140737488344048
115
rcx            0x0	0
116
rdx            0x5	5
117
rsi            0x7fffd34026b6	140736737584822
118
rdi            0x0	0
119
rbp            0x5	0x5
120
rsp            0x7fffffffd378	0x7fffffffd378
121
r8             0x0	0
122
r9             0xc0e860	12642400
123
r10            0xfffffffd	4294967293
124
r11            0x7ffff66418f0	140737327143152
125
r12            0x7ffff7eb9012	140737352798226
126
r13            0xfffed	1048557
127
r14            0x5	5
128
r15            0x0	0
129
rip            0x7ffff6558aca	0x7ffff6558aca <strlen+42>
130
eflags         0x10293	[ CF AF SF IF RF ]
131
cs             0x33	51
132
ss             0x2b	43
133
ds             0x0	0
134
es             0x0	0
135
fs             0x0	0
136
gs             0x0	0
137
(gdb) x/16i $pc
138
=> 0x7ffff6558aca <strlen+42>:	movdqu (%rax),%xmm12
139
   0x7ffff6558acf <strlen+47>:	pcmpeqb %xmm8,%xmm12
140
   0x7ffff6558ad4 <strlen+52>:	pmovmskb %xmm12,%edx
141
   0x7ffff6558ad9 <strlen+57>:	test   %edx,%edx
142
   0x7ffff6558adb <strlen+59>:	je     0x7ffff6558ae1 <strlen+65>
143
   0x7ffff6558add <strlen+61>:	bsf    %edx,%eax
144
   0x7ffff6558ae0 <strlen+64>:	retq   
145
   0x7ffff6558ae1 <strlen+65>:	and    $0xfffffffffffffff0,%rax
146
   0x7ffff6558ae5 <strlen+69>:	pcmpeqb 0x10(%rax),%xmm9
147
   0x7ffff6558aeb <strlen+75>:	pcmpeqb 0x20(%rax),%xmm10
148
   0x7ffff6558af1 <strlen+81>:	pcmpeqb 0x30(%rax),%xmm11
149
   0x7ffff6558af7 <strlen+87>:	pmovmskb %xmm9,%edx
150
   0x7ffff6558afc <strlen+92>:	pmovmskb %xmm10,%r8d
151
   0x7ffff6558b01 <strlen+97>:	pmovmskb %xmm11,%ecx
152
   0x7ffff6558b06 <strlen+102>:	shl    $0x10,%rdx
153
   0x7ffff6558b0a <strlen+106>:	shl    $0x10,%rcx
154
(gdb) thread apply all backtrace
155

    
156
Thread 4 (Thread 0x7fffed26e700 (LWP 24579)):
157
#0  do_sigwait (set=<optimized out>, sig=0x7fffed26de0c) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:63
158
#1  0x00007ffff798b693 in __sigwait (set=0x61ea80 <signal_set>, sig=0x0) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97
159
#2  0x0000000000405ecd in signal_thread (data=<optimized out>) at signals.cc:35
160
#3  0x00007ffff79840a4 in start_thread (arg=0x7fffed26e700) at pthread_create.c:309
161
#4  0x00007ffff65bcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
162

    
163
Thread 2 (Thread 0x7fffee270700 (LWP 24577)):
164
#0  0x00007ffff65b418d in poll () at ../sysdeps/unix/syscall-template.S:81
165
#1  0x00007ffff70ebee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
166
#2  0x00007ffff70ec272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
167
#3  0x00007ffff76ddf76 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
168
#4  0x00007ffff7112935 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
169
#5  0x00007ffff79840a4 in start_thread (arg=0x7fffee270700) at pthread_create.c:309
170
#6  0x00007ffff65bcccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
171

    
172
Thread 1 (Thread 0x7ffff7fba840 (LWP 24573)):
173
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
174
#1  0x00007ffff7baa54b in str_concat (strings=...) at audstrings.cc:124
175
#2  0x00007fffd3401985 in mixer_found (name=0xc0e860 "pulse", description=<optimized out>) at config.cc:174
176
#3  0x00007fffd340148e in get_defined_devices (type=0x0, type@entry=0x7fffd34026f2 "ctl", found=0x7fffd3401940 <mixer_found(char const*, char const*)>) at config.cc:60
177
#4  0x00007fffd3401c2a in mixer_list_fill () at config.cc:188
178
#5  alsa_prefs_init () at config.cc:309
179
#6  0x00007fffd4f1e211 in audgui_show_plugin_prefs (plugin=0x6592c0) at plugin-prefs.cc:148
180
#7  0x00007ffff73c1474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
181
#8  0x00007ffff73db087 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
182
#9  0x00007ffff73db9df in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
183
#10 0x00007fffd647b2a5 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
184
#11 0x00007ffff73c1474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
185
#12 0x00007ffff73db087 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
186
#13 0x00007ffff73db9df in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
187
#14 0x00007fffd647a199 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
188
#15 0x00007fffd652095f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
189
#16 0x00007ffff73c1245 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
190
#17 0x00007ffff73d2e62 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
191
#18 0x00007ffff73db285 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
192
#19 0x00007ffff73db9df in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
193
#20 0x00007fffd6637adc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
194
#21 0x00007fffd651f0a4 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
195
#22 0x00007fffd651f53b in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
196
#23 0x00007fffd619377c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
197
#24 0x00007ffff70ebc5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
198
#25 0x00007ffff70ebf48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
199
#26 0x00007ffff70ec272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
200
#27 0x00007fffd651e4b7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
201
#28 0x00007ffff7bb19a8 in interface_run () at interface.cc:166
202
#29 0x00007ffff7bc2328 in aud_run () at runtime.cc:320
203
#30 0x000000000040581a in main (argc=<optimized out>, argv=<optimized out>) at main.cc:370
204
(gdb) quit
205
A debugging session is active.
206

    
207
	Inferior 1 [process 24573] will be killed.
208

    
209
Quit anyway? (y or n)