Project

General

Profile

gdb-audacious3.txt

Mike S, January 28, 2015 22:29

 
1
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
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
(gdb) handle SIG33 pass nostop noproint
16
Signal        Stop	Print	Pass to program	Description
17
SIG33         No	No	Yes		Real-time event 33
18
(gdb) set pagination 0
19
(gdb) run
20
Starting program:  
21
No executable file specified.
22
Use the "file" or "exec-file" command.
23
(gdb) ex
24
exec-file  explore    
25
(gdb) exec-file /usr/bin/auddacious
26
(gdb) run
27
Starting program: /usr/bin/audacious 
28
[Thread debugging using libthread_db enabled]
29
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
30
[New Thread 0x7ffff23b3700 (LWP 11142)]
31
[New Thread 0x7ffff1bb2700 (LWP 11143)]
32
[New Thread 0x7ffff13b1700 (LWP 11144)]
33
[New Thread 0x7fffea60d700 (LWP 11145)]
34
[Thread 0x7fffea60d700 (LWP 11145) exited]
35
[New Thread 0x7fffea60d700 (LWP 11146)]
36
[Thread 0x7ffff1bb2700 (LWP 11143) exited]
37

    
38
Program received signal SIGSEGV, Segmentation fault.
39
strlen () at ../sysdeps/x86_64/strlen.S:106
40
106	../sysdeps/x86_64/strlen.S: No such file or directory.
41
(gdb) backtrace full
42
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
43
No locals.
44
#1  0x00007ffff7ba6a4b in str_concat (strings=...) at audstrings.cc:124
45
        len = <optimized out>
46
        s = 0x0
47
        __for_range = @0x7fffffffcef0: {_M_array = 0x7fffffffcf00, _M_len = 3}
48
        __for_begin = 0x7fffffffcf10
49
        str = {stack = 0x7ffff7ecc000, m_data = 0x7ffff7ecc008 "default – Default mixer device", m_len = 1048567}
50
        set = 0x7ffff7ecc014 "Default mixer device"
51
        left = 1048555
52
#2  0x00007fffdc1c5bc5 in mixer_found (name=0xbb2de0 "default", description=<optimized out>) at config.cc:174
53
No locals.
54
#3  0x00007fffdc1c565c in get_defined_devices (type=0x0, type@entry=0x7fffdc1c69b2 "ctl", found=0x7fffdc1c5b70 <mixer_found(char const*, char const*)>) at config.cc:60
55
        name = 0xbb2de0 "default"
56
        description = 0x0
57
        type = 0x0
58
        hints = 0xbd3d70
59
        __FUNCTION__ = "get_defined_devices"
60
#4  0x00007fffdc1c5eca in mixer_list_fill () at config.cc:188
61
No locals.
62
#5  alsa_prefs_init () at config.cc:309
63
No locals.
64
#6  0x00007fffe835d249 in audgui_show_plugin_prefs (plugin=0x659720) at plugin-prefs.cc:148
65
        node = <optimized out>
66
        __PRETTY_FUNCTION__ = "void audgui_show_plugin_prefs(PluginHandle*)"
67
        window = <optimized out>
68
        content = <optimized out>
69
        box = <optimized out>
70
        header = 0x7fffdc3c83c0 <aud_plugin_instance>
71
        p = 0x7fffdc3c7ba0 <ALSAPlugin::prefs>
72
        name = <optimized out>
73
#7  0x00007ffff73be474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
74
No symbol table info available.
75
#8  0x00007ffff73d8057 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
76
No symbol table info available.
77
#9  0x00007ffff73d89af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
78
No symbol table info available.
79
#10 0x00007fffe9015425 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
80
No symbol table info available.
81
#11 0x00007ffff73be245 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
82
No symbol table info available.
83
#12 0x00007ffff73cf80b in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
84
No symbol table info available.
85
#13 0x00007ffff73d8748 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
86
No symbol table info available.
87
#14 0x00007ffff73d89af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
88
No symbol table info available.
89
#15 0x00007fffe9014319 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
90
No symbol table info available.
91
#16 0x00007fffe90bac0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
92
No symbol table info available.
93
#17 0x00007ffff73be245 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
94
No symbol table info available.
95
#18 0x00007ffff73cfe32 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
96
No symbol table info available.
97
#19 0x00007ffff73d8255 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
98
No symbol table info available.
99
#20 0x00007ffff73d89af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
100
No symbol table info available.
101
#21 0x00007fffe91d22fc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
102
No symbol table info available.
103
#22 0x00007fffe90b9354 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
104
No symbol table info available.
105
#23 0x00007fffe90b97eb in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
106
No symbol table info available.
107
#24 0x00007fffe8d2d76c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
108
No symbol table info available.
109
#25 0x00007ffff70e8c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
110
No symbol table info available.
111
#26 0x00007ffff70e8f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
112
No symbol table info available.
113
#27 0x00007ffff70e9272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
114
No symbol table info available.
115
#28 0x00007fffe90b8747 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
116
No symbol table info available.
117
#29 0x00007ffff7bae7e8 in interface_run () at interface.cc:166
118
No locals.
119
#30 0x00007ffff7bbfc38 in aud_run () at runtime.cc:320
120
        autosave = {serial = 1, _running = true}
121
#31 0x00000000004052dd in ?? ()
122
No symbol table info available.
123
#32 0x0000000000000001 in ?? ()
124
No symbol table info available.
125
#33 0x00007ffff6837e0c in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3219
126
        av = 0x1
127
        oldtop = 0x7fffffffdfd8
128
        p = <optimized out>
129
        bytes = 6464320
130
        sz = 6464320
131
        csz = <optimized out>
132
        oldtopsize = 1
133
        mem = <optimized out>
134
        clearsize = <optimized out>
135
        nclears = <optimized out>
136
        d = <optimized out>
137
        hook = <optimized out>
138
        __func__ = "__libc_calloc"
139
#34 0x00007ffff67ee881 in __new_exitfn (listp=listp@entry=0x7ffff6b726c8 <__exit_funcs>) at cxa_atexit.c:101
140
        p = <optimized out>
141
        l = <optimized out>
142
        r = 0x0
143
        i = <optimized out>
144
        __PRETTY_FUNCTION__ = "__new_exitfn"
145
#35 0x00007ffff67ee929 in __internal_atexit (listp=0x7ffff6b726c8 <__exit_funcs>, d=0x61c680, arg=0x61c700, func=0x405960) at cxa_atexit.c:35
146
        new = <optimized out>
147
#36 __cxa_atexit (func=0x405960, arg=0x61c700, d=0x61c680) at cxa_atexit.c:58
148
No locals.
149
#37 0x572ff6fd63cc7e00 in ?? ()
150
No symbol table info available.
151
#38 0x0000000000627e60 in ?? ()
152
No symbol table info available.
153
#39 0x0000000000000000 in ?? ()
154
No symbol table info available.
155
(gdb) info registers 
156
rax            0x0	0
157
rbx            0x7fffffffcf10	140737488342800
158
rcx            0x0	0
159
rdx            0x5	5
160
rsi            0x7fffdc1c6976	140736886237558
161
rdi            0x0	0
162
rbp            0x5	0x5
163
rsp            0x7fffffffce98	0x7fffffffce98
164
r8             0x0	0
165
r9             0xbb2de0	12266976
166
r10            0x7ffff6b71920	140737332582688
167
r11            0x7ffff693a790	140737330259856
168
r12            0x7ffff7ecc014	140737352876052
169
r13            0xfffeb	1048555
170
r14            0x5	5
171
r15            0x0	0
172
rip            0x7ffff683d60a	0x7ffff683d60a <strlen+42>
173
eflags         0x10293	[ CF AF SF IF RF ]
174
cs             0x33	51
175
ss             0x2b	43
176
ds             0x0	0
177
es             0x0	0
178
fs             0x0	0
179
gs             0x0	0
180
(gdb) x/16i $pc
181
=> 0x7ffff683d60a <strlen+42>:	movdqu (%rax),%xmm12
182
   0x7ffff683d60f <strlen+47>:	pcmpeqb %xmm8,%xmm12
183
   0x7ffff683d614 <strlen+52>:	pmovmskb %xmm12,%edx
184
   0x7ffff683d619 <strlen+57>:	test   %edx,%edx
185
   0x7ffff683d61b <strlen+59>:	je     0x7ffff683d621 <strlen+65>
186
   0x7ffff683d61d <strlen+61>:	bsf    %edx,%eax
187
   0x7ffff683d620 <strlen+64>:	retq   
188
   0x7ffff683d621 <strlen+65>:	and    $0xfffffffffffffff0,%rax
189
   0x7ffff683d625 <strlen+69>:	pcmpeqb 0x10(%rax),%xmm9
190
   0x7ffff683d62b <strlen+75>:	pcmpeqb 0x20(%rax),%xmm10
191
   0x7ffff683d631 <strlen+81>:	pcmpeqb 0x30(%rax),%xmm11
192
   0x7ffff683d637 <strlen+87>:	pmovmskb %xmm9,%edx
193
   0x7ffff683d63c <strlen+92>:	pmovmskb %xmm10,%r8d
194
   0x7ffff683d641 <strlen+97>:	pmovmskb %xmm11,%ecx
195
   0x7ffff683d646 <strlen+102>:	shl    $0x10,%rdx
196
   0x7ffff683d64a <strlen+106>:	shl    $0x10,%rcx
197
(gdb) thread apply all backtrace
198

    
199
Thread 6 (Thread 0x7fffea60d700 (LWP 11146)):
200
#0  0x00007ffff68a43dd in poll () at ../sysdeps/unix/syscall-template.S:81
201
#1  0x00007ffff70e8ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
202
#2  0x00007ffff70e8ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
203
#3  0x00007fffdf84527d in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
204
#4  0x00007ffff710f925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
205
#5  0x00007ffff79810a5 in start_thread (arg=0x7fffea60d700) at pthread_create.c:309
206
#6  0x00007ffff68ae88d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
207

    
208
Thread 4 (Thread 0x7ffff13b1700 (LWP 11144)):
209
#0  0x00007ffff7988a21 in do_sigwait (sig=0x7ffff13b0e04, set=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:60
210
#1  __sigwait (set=0x61c780, sig=0x7ffff13b0e04) at ../nptl/sysdeps/unix/sysv/linux/../../../../../sysdeps/unix/sysv/linux/sigwait.c:97
211
#2  0x00000000004059ad in ?? ()
212
#3  0x0000000000000000 in ?? ()
213

    
214
Thread 2 (Thread 0x7ffff23b3700 (LWP 11142)):
215
#0  0x00007ffff68a43dd in poll () at ../sysdeps/unix/syscall-template.S:81
216
#1  0x00007ffff70e8ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
217
#2  0x00007ffff70e9272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
218
#3  0x00007ffff76daef6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
219
#4  0x00007ffff710f925 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
220
#5  0x00007ffff79810a5 in start_thread (arg=0x7ffff23b3700) at pthread_create.c:309
221
#6  0x00007ffff68ae88d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
222

    
223
Thread 1 (Thread 0x7ffff7fcd840 (LWP 11138)):
224
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
225
#1  0x00007ffff7ba6a4b in str_concat (strings=...) at audstrings.cc:124
226
#2  0x00007fffdc1c5bc5 in mixer_found (name=0xbb2de0 "default", description=<optimized out>) at config.cc:174
227
#3  0x00007fffdc1c565c in get_defined_devices (type=0x0, type@entry=0x7fffdc1c69b2 "ctl", found=0x7fffdc1c5b70 <mixer_found(char const*, char const*)>) at config.cc:60
228
#4  0x00007fffdc1c5eca in mixer_list_fill () at config.cc:188
229
#5  alsa_prefs_init () at config.cc:309
230
#6  0x00007fffe835d249 in audgui_show_plugin_prefs (plugin=0x659720) at plugin-prefs.cc:148
231
#7  0x00007ffff73be474 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
232
#8  0x00007ffff73d8057 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
233
#9  0x00007ffff73d89af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
234
#10 0x00007fffe9015425 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
235
#11 0x00007ffff73be245 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
236
#12 0x00007ffff73cf80b in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
237
#13 0x00007ffff73d8748 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
238
#14 0x00007ffff73d89af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
239
#15 0x00007fffe9014319 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
240
#16 0x00007fffe90bac0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
241
#17 0x00007ffff73be245 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
242
#18 0x00007ffff73cfe32 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
243
#19 0x00007ffff73d8255 in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
244
#20 0x00007ffff73d89af in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
245
#21 0x00007fffe91d22fc in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
246
#22 0x00007fffe90b9354 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
247
#23 0x00007fffe90b97eb in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
248
#24 0x00007fffe8d2d76c in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
249
#25 0x00007ffff70e8c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
250
#26 0x00007ffff70e8f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
251
#27 0x00007ffff70e9272 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
252
#28 0x00007fffe90b8747 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
253
#29 0x00007ffff7bae7e8 in interface_run () at interface.cc:166
254
#30 0x00007ffff7bbfc38 in aud_run () at runtime.cc:320
255
#31 0x00000000004052dd in ?? ()
256
#32 0x0000000000000001 in ?? ()
257
#33 0x00007ffff6837e0c in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3219
258
#34 0x00007ffff67ee881 in __new_exitfn (listp=listp@entry=0x7ffff6b726c8 <__exit_funcs>) at cxa_atexit.c:101
259
#35 0x00007ffff67ee929 in __internal_atexit (listp=0x7ffff6b726c8 <__exit_funcs>, d=0x61c680, arg=0x61c700, func=0x405960) at cxa_atexit.c:35
260
#36 __cxa_atexit (func=0x405960, arg=0x61c700, d=0x61c680) at cxa_atexit.c:58
261
#37 0x572ff6fd63cc7e00 in ?? ()
262
#38 0x0000000000627e60 in ?? ()
263
#39 0x0000000000000000 in ?? ()
264
(gdb) quit
265
A debugging session is active.
266

    
267
	Inferior 1 [process 11138] will be killed.
268

    
269
Quit anyway? (y or n)