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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195 | sudo -i
[sudo] password for wolf:
root@wolf-wolf:~# gdb -p 1671
GNU gdb (Ubuntu 7.12.50.20170314-0ubuntu1) 7.12.50.20170314-git
Copyright (C) 2017 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 "x86_64-linux-gnu".
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".
Attaching to process 1671
[New LWP 2042]
[New LWP 2043]
[New LWP 3954]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
38 ../sysdeps/unix/sysv/linux/x86_64/syscall.S: No such file or directory.
(gdb) backtrace full
#0 0x00007fde4eb29d79 in syscall ()
at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fde4f09c66c in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x0000562c4f308246 in thunar_file_monitor (monitor=<optimised out>, event_path=0x562c507922a0, other_path=0x562c50b92fa0, event_type=G_FILE_MONITOR_EVENT_MOVED, user_data=<optimised out>) at thunar-file.c:822
file = 0x7fde3c01ea00
other_file = <optimised out>
other_path = 0x562c50b92fa0
event_path = 0x562c507922a0
monitor = <optimised out>
event_type = G_FILE_MONITOR_EVENT_MOVED
user_data = <optimised out>
file = 0x7fde3c01ea00
#3 0x00007fde4a8ace18 in ffi_call_unix64 ()
at /usr/lib/x86_64-linux-gnu/libffi.so.6
#4 0x00007fde4a8ac87a in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#5 0x00007fde4f33193a in g_cclosure_marshal_generic_va ()
at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007fde4f330e54 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007fde4f34b57d in g_signal_emit_valist ()
at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007fde4f34bc6f in g_signal_emit ()
---Type <return> to continue, or q <return> to quit---
at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007fde4f6579c9 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007fde4f057377 in g_main_context_dispatch ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fde4f0575e0 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fde4f057902 in g_main_loop_run ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fde50f2a507 in gtk_main ()
at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x0000562c4f2eda7d in main (argc=<optimised out>, argv=<optimised out>)
at main.c:312
session_client = 0x562c506394d0
dbus_service = 0x562c50639500
application = 0x562c5063a0c0
error = 0x0
working_directory = 0x562c50652330 "\001"
filenames = <optimised out>
startup_id = 0x0
(gdb) info registers
rax 0xfffffffffffffe00 -512
rbx 0x562c4f5889e8 94748309752296
rcx 0x7fde4eb29d79 140592779795833
rdx 0x2 2
rsi 0x80 128
rdi 0x562c4f5889e8 94748309752296
rbp 0x2 0x2
rsp 0x7ffde69c1e58 0x7ffde69c1e58
r8 0x562c506a96e8 94748327712488
r9 0x7fde3c01ea00 140592466225664
r10 0x0 0
r11 0x246 582
r12 0x7fde3c01ea00 140592466225664
r13 0x562c50b92fa0 94748332863392
r14 0x7ffde69c2020 140728472444960
r15 0x7ffde69c1fe0 140728472444896
rip 0x7fde4eb29d79 0x7fde4eb29d79 <syscall+25>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
---Type <return> to continue, or q <return> to quit---
gs 0x0 0
(gdb) x/16i $pc
=> 0x7fde4eb29d79 <syscall+25>: cmp $0xfffffffffffff001,%rax
0x7fde4eb29d7f <syscall+31>: jae 0x7fde4eb29d82 <syscall+34>
0x7fde4eb29d81 <syscall+33>: retq
0x7fde4eb29d82 <syscall+34>:
mov 0x2bf0ef(%rip),%rcx # 0x7fde4ede8e78
0x7fde4eb29d89 <syscall+41>: neg %eax
0x7fde4eb29d8b <syscall+43>: mov %eax,%fs:(%rcx)
0x7fde4eb29d8e <syscall+46>: or $0xffffffffffffffff,%rax
0x7fde4eb29d92 <syscall+50>: retq
0x7fde4eb29d93: nopw %cs:0x0(%rax,%rax,1)
0x7fde4eb29d9d: nopl (%rax)
0x7fde4eb29da0 <daemon>: push %r12
0x7fde4eb29da2 <daemon+2>: push %rbp
0x7fde4eb29da3 <daemon+3>: mov %edi,%r12d
0x7fde4eb29da6 <daemon+6>: push %rbx
0x7fde4eb29da7 <daemon+7>: mov %esi,%ebp
0x7fde4eb29da9 <daemon+9>: sub $0x90,%rsp
(gdb) thread apply all backtrace
Thread 4 (Thread 0x7fde34a16700 (LWP 3954)):
#0 0x00007fde4eb29d79 in syscall ()
at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fde4f09d03f in g_cond_wait ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fde4f5d6d1b in g_io_scheduler_job_send_to_mainloop ()
at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#3 0x00007fde51ebb487 in exo_job_emit ()
at /usr/lib/x86_64-linux-gnu/libexo-1.so.0
#4 0x0000562c4f312242 in thunar_job_files_ready (job=0x562c50b685d0, file_list=file_list@entry=0x562c50b92920 = {...}) at thunar-job.c:557
#5 0x0000562c4f310c42 in _thunar_io_jobs_ls (job=0x562c50b685d0, param_values=param_values@entry=0x562c50b912c0, error=error@entry=0x7fde34a15b00)
at thunar-io-jobs.c:1212
#6 0x0000562c4f338d54 in thunar_simple_job_execute (job=0x562c50b685d0, error=0x7fde34a15b40) at thunar-simple-job.c:119
#7 0x00007fde51ebb0fd in () at /usr/lib/x86_64-linux-gnu/libexo-1.so.0
#8 0x00007fde4f5d6ab6 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#9 0x00007fde4f5fd76d in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#10 0x00007fde4f07f95e in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fde4f07ef65 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fde4edf66ca in start_thread (arg=0x7fde34a16700)
---Type <return> to continue, or q <return> to quit---
at pthread_create.c:333
#13 0x00007fde4eb300ff in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 3 (Thread 0x7fde46467700 (LWP 2043)):
#0 0x00007fde4eb2410d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fde4f057576 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fde4f057902 in g_main_loop_run ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fde4f63e476 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007fde4f07ef65 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fde4edf66ca in start_thread (arg=0x7fde46467700)
at pthread_create.c:333
#6 0x00007fde4eb300ff in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 2 (Thread 0x7fde46c68700 (LWP 2042)):
#0 0x00007fde4eb2410d in poll () at ../sysdeps/unix/syscall-template.S:84
#1 0x00007fde4f057576 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fde4f05768c in g_main_context_iteration ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fde4f0576d1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fde4f07ef65 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#5 0x00007fde4edf66ca in start_thread (arg=0x7fde46c68700)
at pthread_create.c:333
#6 0x00007fde4eb300ff in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105
Thread 1 (Thread 0x7fde52423a80 (LWP 1671)):
#0 0x00007fde4eb29d79 in syscall ()
at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007fde4f09c66c in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x0000562c4f308246 in thunar_file_monitor (monitor=<optimised out>, event_path=0x562c507922a0, other_path=0x562c50b92fa0, event_type=G_FILE_MONITOR_EVENT_MOVED, user_data=<optimised out>) at thunar-file.c:822
#3 0x00007fde4a8ace18 in ffi_call_unix64 ()
at /usr/lib/x86_64-linux-gnu/libffi.so.6
#4 0x00007fde4a8ac87a in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#5 0x00007fde4f33193a in g_cclosure_marshal_generic_va ()
at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007fde4f330e54 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007fde4f34b57d in g_signal_emit_valist ()
at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007fde4f34bc6f in g_signal_emit ()
at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007fde4f6579c9 in () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#10 0x00007fde4f057377 in g_main_context_dispatch ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fde4f0575e0 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fde4f057902 in g_main_loop_run ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fde50f2a507 in gtk_main ()
at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x0000562c4f2eda7d in main (argc=<optimised out>, argv=<optimised out>)
at main.c:312
(gdb) quit
A debugging session is active.
Inferior 1 [process 1671] will be detached.
Quit anyway? (y or n) y
Detaching from program: /usr/bin/thunar, process 1671
root@wolf-wolf:~#
|