Bug#707681: gvfs-backends: backtrace with debugging symbols
Felipe Reyes
freyes at tty.cl
Wed Nov 6 20:37:52 UTC 2013
On Wed, Nov 06, 2013 at 05:08:09PM +0100, Andreas Henriksson wrote:
> [...]
> http://sourceforge.net/p/gphoto/code/14076/
>
> Please add the patch in debian/patches/ and add the name to
> debian/patches/series, rebuild the package and report back if that
> solves the problem or not.
It seems now is crashing somewhere else. Here is the output of the crash
with the patch applied:
Thread 3 (Thread 0x7fffeffff700 (LWP 20524)):
#0 0x00007ffff69ab24d in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1 0x00007ffff6ede194 in g_main_context_poll (priority=2147483647, n_fds=3, fds=0x7fffe80010c0, timeout=-1, context=0x7ffff000d1a0)
at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3995
poll_func = 0x7ffff6eecdd0 <g_poll>
#2 g_main_context_iterate (context=0x7ffff000d1a0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3696
max_priority = 2147483647
timeout = -1
some_ready = <optimized out>
nfds = 3
allocated_nfds = 3
fds = 0x7fffe80010c0
#3 0x00007ffff6ede5fa in g_main_loop_run (loop=0x7ffff000d130) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3895
__PRETTY_FUNCTION__ = "g_main_loop_run"
#4 0x00007ffff76b5d26 in gdbus_shared_thread_func (user_data=0x7ffff000d170) at /tmp/buildd/glib2.0-2.36.4/./gio/gdbusprivate.c:278
data = 0x7ffff000d170
#5 0x00007ffff6f021d5 in g_thread_proxy (data=0x7ffff000b630) at /tmp/buildd/glib2.0-2.36.4/./glib/gthread.c:798
thread = 0x7ffff000b630
#6 0x00007ffff6c81e0e in start_thread (arg=0x7fffeffff700) at pthread_create.c:311
__res = <optimized out>
pd = 0x7fffeffff700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737219917568, -5228456005136789005, 1, 140737302535152, 4096, 140737219917568,
5228420820160762355, 5228441016704324083}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#7 0x00007ffff69b69ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
Thread 2 (Thread 0x7ffff4eca700 (LWP 20523)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
No locals.
#1 0x00007ffff6f1d5f5 in g_cond_wait_until (cond=cond at entry=0x6393d8, mutex=mutex at entry=0x6393d0, end_time=end_time at entry=61501494657)
at /tmp/buildd/glib2.0-2.36.4/./glib/gthread-posix.c:865
ts = {tv_sec = 61501, tv_nsec = 494657000}
status = <optimized out>
#2 0x00007ffff6eb4941 in g_async_queue_pop_intern_unlocked (queue=queue at entry=0x6393d0, wait=wait at entry=1, end_time=end_time at entry=61501494657)
at /tmp/buildd/glib2.0-2.36.4/./glib/gasyncqueue.c:424
retval = <optimized out>
__PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
#3 0x00007ffff6eb4ecb in g_async_queue_timeout_pop (queue=0x6393d0, timeout=timeout at entry=15000000)
at /tmp/buildd/glib2.0-2.36.4/./glib/gasyncqueue.c:545
end_time = 61501494657
retval = <optimized out>
#4 0x00007ffff6f02c66 in g_thread_pool_wait_for_new_pool () at /tmp/buildd/glib2.0-2.36.4/./glib/gthreadpool.c:169
pool = <optimized out>
local_max_idle_time = 15000
local_wakeup_thread_serial = <optimized out>
local_max_unused_threads = 2
last_wakeup_thread_serial = 0
have_relayed_thread_marker = <optimized out>
#5 g_thread_pool_thread_proxy (data=<optimized out>) at /tmp/buildd/glib2.0-2.36.4/./glib/gthreadpool.c:366
free_pool = <optimized out>
task = 0x2
pool = <optimized out>
#6 0x00007ffff6f021d5 in g_thread_proxy (data=0x6296d0) at /tmp/buildd/glib2.0-2.36.4/./glib/gthread.c:798
thread = 0x6296d0
#7 0x00007ffff6c81e0e in start_thread (arg=0x7ffff4eca700) at pthread_create.c:311
__res = <optimized out>
pd = 0x7ffff4eca700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737302537984, -5228456005136789005, 1, 140737488347120, 4096, 140737302537984,
5228436373847953907, 5228441016704324083}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0,
cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#8 0x00007ffff69b69ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.
Thread 1 (Thread 0x7ffff7fd0800 (LWP 20519)):
#0 0x00007ffff69031e5 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = 0
pid = 20519
selftid = 20519
#1 0x00007ffff6906398 in __GI_abort () at abort.c:90
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffffffa49a, sa_sigaction = 0x7fffffffa49a}, sa_mask = {__val = {6, 140737331300817, 2,
140737488331950, 2, 140737331289785, 1, 140737331300813, 3, 140737488331924, 12, 140737331300817, 2, 140737488332736, 21,
140737488334496}}, sa_flags = 116, sa_restorer = 0x7}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007ffff693e7cb in __libc_message (do_abort=do_abort at entry=2, fmt=fmt at entry=0x7ffff6a3aca8 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
ap = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffaeb0, reg_save_area = 0x7fffffffadc0}}
ap_copy = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffaeb0, reg_save_area = 0x7fffffffadc0}}
fd = 12
on_2 = <optimized out>
list = <optimized out>
nlist = <optimized out>
cp = <optimized out>
written = <optimized out>
#3 0x00007ffff6948a26 in malloc_printerr (action=3, str=0x7ffff6a3adb0 "double free or corruption (!prev)", ptr=<optimized out>) at malloc.c:4923
buf = "00000000006501e0"
cp = <optimized out>
#4 0x00007ffff69497a3 in _int_free (av=<optimized out>, p=0x6501d0, have_lock=0) at malloc.c:3779
size = <optimized out>
fb = <optimized out>
nextchunk = <optimized out>
nextsize = <optimized out>
nextinuse = <optimized out>
prevsize = <optimized out>
bck = <optimized out>
fwd = <optimized out>
errstr = <optimized out>
locked = <optimized out>
__func__ = "_int_free"
#5 0x00007ffff44c5e7f in gp_port_usb_exit (port=0x6488a0) at libusb1.c:284
No locals.
#6 0x00007ffff794ddc2 in gp_port_exit (port=0x6488a0) at gphoto2-port.c:124
r = 2
#7 0x00007ffff794deac in gp_port_set_info (port=0x6488a0, info=...) at gphoto2-port.c:154
ops_func = 0x7ffff7fd74e8
#8 0x00007ffff7b5ef9d in gp_camera_set_port_info (camera=0x61f920, info=...) at gphoto2-camera.c:447
r1 = 0
#9 0x00007ffff7b5fcc4 in gp_camera_init (camera=0x61f920, context=0x646ae0) at gphoto2-camera.c:728
r5 = -157846832
m = 134
info = {type = GP_PORT_USB,
name = "Universal Serial Bus", '\000' <repeats 32 times>, "\370\342d\000\000\000\000\000\257\001\235", <incomplete sequence \303>,
path = "usb:001,011\000\000\000\001\000\001\000\001\000\340\262\377\377\377\177\000\000\377\377\377\377\000\000\000\000p%e\000\000\000\000\000pFL\364\377\177\000\000p\337d\000\000\000\000\000\020\260\377\377",
library_filename = "/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0/usb1\000nd", '\000' <repeats 13 times>, "P\261\377\377\377\177\000\000\002\000\000\000\000\000\000\000\230\n\220\366\377\177\000\000\001\000\000\000\000\000\000\000\000\314\377\367\377\177\000\000\360\320\377\367\377\177\000\000`\320\377\367\377\177\000\000\000p\375\367\377\177\000\000̳l\366\377\177\000\000\020\261\377\377\377\177\000\000\234Ӟ\366\377\177\000\000\002\000\000\000\377\177", '\000' <repeats 14 times>, "\001\000\000\000 \344\243\366\377\177\000\000\000\000\000\000\000\000\000\000 at F\307\366\002", '\000' <repeats 11 times>...}
list = 0x7fffeedfd010
al = 0x645170
pinfo = {type = GP_PORT_USB,
name = "Universal Serial Bus", '\000' <repeats 32 times>, "\370\374d\000\000\000\000\000\257\001\235", <incomplete sequence \303>,
path = "usb:001,011\000\000\000\000\000^ser \320\377\377\377\177\000\000\377\377\377\377\000\000\000\000\060\221l\364\377\177\000\000pFL\364\377\177\000\000p\371d\000\000\000\000\000\270\215", <incomplete sequence \364>,
library_filename = "/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0/usb1\000\204d", '\000' <repeats 13 times>, "\220\316\377\377\377\177\000\000\002\000\000\000\000\000\000\000\230\n\220\366\377\177\000\000& L\366\377\177\000\000\000\314\377\367\377\177\000\000\360\320\377\367\377\177\000\000`\320\377\367\377\177\000\000\000p\375\367\377\177\000\000̳l\366\377\177\000\000P\316\377\377\377\177\000\000\234Ӟ\366\377\177\000\000\002\000\000\000\377\177", '\000' <repeats 14 times>, "\001\000\000\000 \344\243\366\377\177\000\000\000\000\000\000\000\000\000\000 at F\307\366\002", '\000' <repeats 11 times>...}
il = 0x656e80
p = 6
a = {model = "Canon Digital Rebel XT (normal mode)", '\000' <repeats 91 times>, status = GP_DRIVER_STATUS_EXPERIMENTAL, port = GP_PORT_USB,
speed = {0 <repeats 64 times>}, operations = (GP_OPERATION_CAPTURE_IMAGE | GP_OPERATION_CAPTURE_PREVIEW | GP_OPERATION_CONFIG),
file_operations = (GP_FILE_OPERATION_DELETE | GP_FILE_OPERATION_PREVIEW | GP_FILE_OPERATION_EXIF),
folder_operations = (GP_FOLDER_OPERATION_MAKE_DIR | GP_FOLDER_OPERATION_REMOVE_DIR), usb_vendor = 1193, usb_product = 12526,
usb_class = 0, usb_subclass = 0, usb_protocol = 0,
library = "/usr/lib/x86_64-linux-gnu/libgphoto2/2.4.14/canon", '\000' <repeats 974 times>, id = "canon", '\000' <repeats 1018 times>,
device_type = GP_DEVICE_STILL_CAMERA, reserved2 = 0, reserved3 = 0, reserved4 = 0, reserved5 = 0, reserved6 = 0, reserved7 = 0,
reserved8 = 0}
model = 0x7fffeedfd014 "Canon Digital Rebel XT (normal mode)"
port = 0x7fffeedfd094 "usb:001,011"
init_func = 0x7fffffffc1c8
result = 0
#10 0x00000000004067af in get_stores_for_camera (bus_num=bus_num at entry=0x6447c0 "001", device_num=device_num at entry=0x648530 "011")
at ggphoto2volumemonitor.c:636
l = 0x0
storage_info = 0x7fffffffd7f0
context = 0x646ae0
info = {type = GP_PORT_USB,
name = "Universal Serial Bus", '\000' <repeats 32 times>, "\370\374d\000\000\000\000\000\257\001\235", <incomplete sequence \303>,
path = "usb:001,011\000\000\000\000\000^ser \320\377\377\377\177\000\000\377\377\377\377\000\000\000\000\060\221l\364\377\177\000\000pFL\364\377\177\000\000p\371d\000\000\000\000\000\270\215", <incomplete sequence \364>,
library_filename = "/usr/lib/x86_64-linux-gnu/libgphoto2_port/0.8.0/usb1\000\204d", '\000' <repeats 13 times>, "\220\316\377\377\377\177\000\000\002\000\000\000\000\000\000\000\230\n\220\366\377\177\000\000& L\366\377\177\000\000\000\314\377\367\377\177\000\000\360\320\377\367\377\177\000\000`\320\377\367\377\177\000\000\000p\375\367\377\177\000\000̳l\366\377\177\000\000P\316\377\377\377\177\000\000\234Ӟ\366\377\177\000\000\002\000\000\000\377\177", '\000' <repeats 14 times>, "\001\000\000\000 \344\243\366\377\177\000\000\000\000\000\000\000\000\000\000 at F\307\366\002", '\000' <repeats 11 times>...}
il = 0x0
num_storage_info = 0
n = <optimized out>
rc = <optimized out>
camera = 0x61f920
port = 0x646ac0 "usb:001,011"
i = <optimized out>
#11 0x0000000000406976 in gudev_add_camera (monitor=0x628400, device=0x6388f0, do_emit=1) at ggphoto2volumemonitor.c:221
volume = <optimized out>
store_heads = <optimized out>
usb_device_num = 0x648530 "011"
l = <optimized out>
num_store_heads = <optimized out>
usb_bus_num = 0x6447c0 "001"
do_emit = 1
device = 0x6388f0
monitor = 0x628400
#12 0x00007ffff71a4f28 in g_closure_invoke (closure=0x629820, return_value=0x0, n_param_values=3, param_values=0x7fffffffde20,
invocation_hint=0x7fffffffddc0) at /tmp/buildd/glib2.0-2.36.4/./gobject/gclosure.c:777
marshal = 0x7ffff73ebca0 <g_udev_marshal_VOID__STRING_OBJECT>
marshal_data = 0x0
in_marshal = 0
real_closure = 0x629800
__PRETTY_FUNCTION__ = "g_closure_invoke"
#13 0x00007ffff71b5edd in signal_emit_unlocked_R (node=node at entry=0x628f50, detail=detail at entry=0, instance=instance at entry=0x628440,
emission_return=emission_return at entry=0x0, instance_and_params=instance_and_params at entry=0x7fffffffde20)
at /tmp/buildd/glib2.0-2.36.4/./gobject/gsignal.c:3584
tmp = <optimized out>
handler = 0x624e30
accumulator = 0x0
emission = {next = 0x0, instance = 0x628440, ihint = {signal_id = 14, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN,
chain_type = 4}
handler_list = 0x624e30
return_accu = 0x0
accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0,
v_pointer = 0x0}}}
signal_id = 14
max_sequential_handler_number = 25
return_value_altered = 0
#14 0x00007ffff71bdce9 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>,
var_args=var_args at entry=0x7fffffffdfd8) at /tmp/buildd/glib2.0-2.36.4/./gobject/gsignal.c:3328
instance_and_params = 0x7fffffffde20
signal_return_type = <optimized out>
param_values = 0x7fffffffde38
i = <optimized out>
n_params = <optimized out>
__PRETTY_FUNCTION__ = "g_signal_emit_valist"
#15 0x00007ffff71bdf32 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
at /tmp/buildd/glib2.0-2.36.4/./gobject/gsignal.c:3384
var_args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffffffe0b0, reg_save_area = 0x7fffffffdff0}}
#16 0x00007ffff73e8f23 in ?? () from /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0
No symbol table info available.
#17 0x00007ffff6eddea6 in g_main_dispatch (context=0x624330) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3054
dispatch = 0x7ffff6f1dc50 <g_io_unix_dispatch>
was_in_call = 0
user_data = 0x628440
callback = 0x7ffff73e8ec0
cb_funcs = 0x7ffff7193940 <g_source_callback_funcs>
cb_data = 0x629dc0
need_destroy = <optimized out>
current_source_link = {data = 0x62a0d0, next = 0x0}
source = 0x62a0d0
current = 0x6215b0
i = 0
#18 g_main_context_dispatch (context=context at entry=0x624330) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3630
No locals.
#19 0x00007ffff6ede1f8 in g_main_context_iterate (context=0x624330, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3701
max_priority = 2147483647
timeout = -1
some_ready = 1
nfds = <optimized out>
allocated_nfds = 2
fds = 0x63a450
#20 0x00007ffff6ede5fa in g_main_loop_run (loop=0x624490) at /tmp/buildd/glib2.0-2.36.4/./glib/gmain.c:3895
__PRETTY_FUNCTION__ = "g_main_loop_run"
#21 0x000000000040abd8 in g_vfs_proxy_volume_monitor_daemon_main (argc=<optimized out>, argv=<optimized out>, dbus_name=<optimized out>,
volume_monitor_type=6439376) at gvfsproxyvolumemonitordaemon.c:2009
name_owner_id = 1
#22 0x00007ffff68ef995 in __libc_start_main (main=0x4059a0 <main>, argc=1, ubp_av=0x7fffffffe2e8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe2d8) at libc-start.c:260
result = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -5228456005136789005, 4217293, 140737488347872, 0, 0, 5228456004201501171,
5228441582411862515}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x40e9c0 <__libc_csu_init>, 0x7fffffffe2e8}, data = {
prev = 0x0, cleanup = 0x0, canceltype = 4254144}}}
not_first_call = <optimized out>
#23 0x00000000004059f6 in _start ()
Also I'm attaching the patch I used just in case you want to review it.
Regards,
--
Felipe Reyes
http://tty.cl
More information about the pkg-gnome-maintainers
mailing list