Phillip Susi wrote, on 23/05/14 01:23:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
It looks like the problem may have originated in one of the other
threads, and only is being displayed by the main thread. Could you
use the info threads command to list the other threads and use the
thread command to switch to each, and grab a bt there as well?
gparted-0.15.0/src# gdb ./gpartedbin
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1)
Copyright (C) 2013 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/src/sound/gparted-0.15.0/src/gpartedbin...done.
(gdb) break g_log
Function "g_log" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (g_log) pending.
(gdb) run
Starting program: /usr/src/sound/gparted-0.15.0/src/./gpartedbin
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
======================
libparted : 2.3
======================
[New Thread 0xb7e45b40 (LWP 17650)]
[New Thread 0xafa77b40 (LWP 17652)]
[New Thread 0xaf0ffb40 (LWP 17653)]
Breakpoint 1, g_log (log_domain=0x43214e77 "glibmm",
log_level=G_LOG_LEVEL_CRITICAL,
format=0x43216168 "\nunhandled exception (type Glib::Error) in
signal handler:\ndomain: %s\ncode : %d\nwhat : %s\n")
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmessages.c:1067
1067 /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmessages.c: No such
file or directory.
(gdb) finish
Run till exit from #0 g_log (log_domain=0x43214e77 "glibmm",
log_level=G_LOG_LEVEL_CRITICAL,
format=0x43216168 "\nunhandled exception (type Glib::Error) in
signal handler:\ndomain: %s\ncode : %d\nwhat : %s\n")
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmessages.c:1067
(gpartedbin:17642): glibmm-CRITICAL **:
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code : 1
what : Invalid byte sequence in conversion input
0x4320591d in Glib::exception_handlers_invoke() ()
from /usr/lib/i386-linux-gnu/libglibmm-2.4.so.1
(gdb) info threads
Id Target Id Frame
4 Thread 0xaf0ffb40 (LWP 17653) "gpartedbin" 0xb7fffa80 in
__kernel_vsyscall ()
3 Thread 0xafa77b40 (LWP 17652) "gdbus" 0xb7fffa80 in
__kernel_vsyscall ()
2 Thread 0xb7e45b40 (LWP 17650) "gmain" 0xb7fffa80 in
__kernel_vsyscall ()
* 1 Thread 0xb7fb68c0 (LWP 17642) "gpartedbin" 0x4320591d in
Glib::exception_handlers_invoke() () from
/usr/lib/i386-linux-gnu/libglibmm-2.4.so.1
(gdb) bt
#0 0x4320591d in Glib::exception_handlers_invoke() ()
from /usr/lib/i386-linux-gnu/libglibmm-2.4.so.1
#1 0x43206b15 in Glib::Source::dispatch_vfunc(_GSource*, int
(*)(void*), void*) () from /usr/lib/i386-linux-gnu/libglibmm-2.4.so.1
#2 0x413881d7 in g_main_dispatch (context=0x819b860,
context@entry=0xae705108)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3064
#3 g_main_context_dispatch (context=context@entry=0x819b860)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3663
#4 0x41388598 in g_main_context_iterate (context=0x819b860,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3734
#5 0x4138889b in g_main_loop_run (loop=loop@entry=0x81ebfc0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3928
#6 0x422a3e30 in IA__gtk_main ()
at /build/gtk+2.0-GomcuM/gtk+2.0-2.24.23/gtk/gtkmain.c:1257
#7 0x4396eed4 in Gtk::Main::run_impl (this=0xbfffebfc) at main.cc:534
#8 0x4396f60f in Gtk::Main::run () at main.cc:477
#9 0x080b0822 in GParted::GParted_Core::set_devices (
this=this@entry=0xbffff298,
devices=std::vector of length 2, capacity 2 = {...}) at
GParted_Core.cc:145
#10 0x080fd04b in GParted::Win_GParted::menu_gparted_refresh_devices (
this=0xbfffec10) at Win_GParted.cc:1247
#11 0x439e86cf in Gtk::Widget_Class::show_callback (self=0x819aa70)
at widget.cc:3855
---Type <return> to continue, or q <return> to quit---
#12 0x41509709 in g_cclosure_marshal_VOID__VOIDv (closure=0x81c5a50,
return_value=0x0, instance=0x819aa70, args=0xbfffeb4c "\005",
marshal_data=0x439e8670
<Gtk::Widget_Class::show_callback(_GtkWidget*)>,
n_params=0, param_types=0x0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./gobject/gmarshal.c:115
#13 0x41506457 in g_type_class_meta_marshalv (closure=0x81c5a50,
return_value=0x0, instance=0x819aa70, args=0xbfffeb4c "\005",
marshal_data=0x5c, n_params=0, param_types=0x0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./gobject/gclosure.c:988
#14 0x41507cce in _g_closure_invoke_va (closure=closure@entry=0x81c5a50,
return_value=return_value@entry=0x0, instance=instance@entry=0x819aa70,
args=args@entry=0xbfffeb4c "\005", n_params=0, param_types=0x0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./gobject/gclosure.c:831
#15 0x4152112c in g_signal_emit_valist (instance=instance@entry=0x819aa70,
signal_id=signal_id@entry=12, detail=detail@entry=0,
var_args=var_args@entry=0xbfffeb4c "\005")
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./gobject/gsignal.c:3215
#16 0x41521c83 in g_signal_emit (instance=instance@entry=0x819aa70,
signal_id=12, detail=detail@entry=0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./gobject/gsignal.c:3363
#17 0x423da0fa in IA__gtk_widget_show (widget=0x819aa70)
at /build/gtk+2.0-GomcuM/gtk+2.0-2.24.23/gtk/gtkwidget.c:3236
#18 0x439efa74 in Gtk::Widget::show (this=this@entry=0xbfffec10)
at widget.cc:6129
---Type <return> to continue, or q <return> to quit---
#19 0x4396f63f in Gtk::Main::run (window=...) at main.cc:482
#20 0x0805d1d4 in main (argc=1, argv=0xbffff3f4) at main.cc:55
(gdb) thread
[Current thread is 1 (Thread 0xb7fb68c0 (LWP 17642))]
(gdb) thread 2
[Switching to thread 2 (Thread 0xb7e45b40 (LWP 17650))]
#0 0xb7fffa80 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fffa80 in __kernel_vsyscall ()
#1 0x41f4215b in poll () at ../sysdeps/unix/syscall-template.S:81
#2 0x4139738b in poll (__timeout=__timeout@entry=-1, __nfds=__nfds@entry=1,
__fds=__fds@entry=0xb7500468)
at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3 g_poll (fds=fds@entry=0xb7500468, nfds=nfds@entry=1,
timeout=timeout@entry=-1)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gpoll.c:124
#4 0x41388518 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0xb7500468, timeout=-1, context=0x8208ac8)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:4028
#5 g_main_context_iterate (context=context@entry=0x8208ac8,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3729
#6 0x41388658 in g_main_context_iteration (context=0x8208ac8,
may_block=may_block@entry=1)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3795
#7 0x413886ae in glib_worker_main (data=0x0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:5541
#8 0x413aed4a in g_thread_proxy (data=0x81c3c90)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gthread.c:764
#9 0x41029ed9 in start_thread (arg=0xb7e45b40) at pthread_create.c:312
#10 0x41f502be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb)
#0 0xb7fffa80 in __kernel_vsyscall ()
#1 0x41f4215b in poll () at ../sysdeps/unix/syscall-template.S:81
#2 0x4139738b in poll (__timeout=__timeout@entry=-1, __nfds=__nfds@entry=1,
__fds=__fds@entry=0xb7500468)
at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3 g_poll (fds=fds@entry=0xb7500468, nfds=nfds@entry=1,
timeout=timeout@entry=-1)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gpoll.c:124
#4 0x41388518 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0xb7500468, timeout=-1, context=0x8208ac8)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:4028
#5 g_main_context_iterate (context=context@entry=0x8208ac8,
block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3729
#6 0x41388658 in g_main_context_iteration (context=0x8208ac8,
may_block=may_block@entry=1)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3795
#7 0x413886ae in glib_worker_main (data=0x0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:5541
#8 0x413aed4a in g_thread_proxy (data=0x81c3c90)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gthread.c:764
#9 0x41029ed9 in start_thread (arg=0xb7e45b40) at pthread_create.c:312
#10 0x41f502be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) thread 3
[Switching to thread 3 (Thread 0xafa77b40 (LWP 17652))]
#0 0xb7fffa80 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fffa80 in __kernel_vsyscall ()
#1 0x41f4215b in poll () at ../sysdeps/unix/syscall-template.S:81
#2 0x4139738b in poll (__timeout=__timeout@entry=-1, __nfds=__nfds@entry=1,
__fds=__fds@entry=0xaf100c68)
at /usr/include/i386-linux-gnu/bits/poll2.h:46
#3 g_poll (fds=fds@entry=0xaf100c68, nfds=nfds@entry=1,
timeout=timeout@entry=-1)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gpoll.c:124
#4 0x41388518 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0xaf100c68, timeout=-1, context=0x81ef1e0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:4028
#5 g_main_context_iterate (context=0x81ef1e0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3729
#6 0x4138889b in g_main_loop_run (loop=0x82f26c0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gmain.c:3928
#7 0x4168206a in gdbus_shared_thread_func (user_data=0x82f26d0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./gio/gdbusprivate.c:273
#8 0x413aed4a in g_thread_proxy (data=0x81c40f0)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gthread.c:764
#9 0x41029ed9 in start_thread (arg=0xafa77b40) at pthread_create.c:312
#10 0x41f502be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) thread 4
[Switching to thread 4 (Thread 0xaf0ffb40 (LWP 17653))]
#0 0xb7fffa80 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fffa80 in __kernel_vsyscall ()
#1 0x4102dc5b in pthread_cond_wait@@GLIBC_2.3.2 ()
at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2 0x413cd8e0 in g_cond_wait (cond=0x829bb10, mutex=0x82ad9d8)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gthread-posix.c:762
#3 0x431fd417 in Glib::Cond::wait(Glib::Mutex&) ()
from /usr/lib/i386-linux-gnu/libglibmm-2.4.so.1
#4 0x080f0dba in GParted::Utils::execute_command (command=..., output=...,
error=..., use_C_locale=use_C_locale@entry=true) at Utils.cc:487
#5 0x081145c7 in GParted::fat32::set_used_sectors (this=0x8207e08,
partition=...) at fat32.cc:98
#6 0x080b7401 in GParted::GParted_Core::set_used_sectors (this=0xbffff298,
partitions=std::vector of length 4, capacity 4 = {...},
lp_disk=0xae702118)
at GParted_Core.cc:1565
#7 0x080bbfe5 in GParted::GParted_Core::set_devices_thread
(this=0xbffff298,
pdevices=0xbfffed7c) at GParted_Core.cc:299
#8 0x080c4f4a in operator() (_A_a1=<optimized out>, this=0x827c9e0)
at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1851
#9 operator()<std::vector<GParted::Device>*&> (_A_arg1=<optimized out>,
this=0x827c9dc)
at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:84
#10 operator() (this=0x827c9d8)
at /usr/include/sigc++-2.0/sigc++/adaptors/bind.h:1110
---Type <return> to continue, or q <return> to quit---
#11 sigc::internal::slot_call0<sigc::bind_functor<-1,
sigc::bound_mem_functor1<void, GParted::GParted_Core,
std::vector<GParted::Device, std::allocator<GParted::Device> >*>,
std::vector<GParted::Device, std::allocator<GParted::Device> >*,
sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>,
void>::call_it (rep=0x827c9c0) at
/usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#12 0x431fcddc in ?? () from /usr/lib/i386-linux-gnu/libglibmm-2.4.so.1
#13 0x413aed4a in g_thread_proxy (data=0x81c4150)
at /build/glib2.0-f_gKLq/glib2.0-2.40.0/./glib/gthread.c:764
#14 0x41029ed9 in start_thread (arg=0xaf0ffb40) at pthread_create.c:312
#15 0x41f502be in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129
(gdb) quit
A debugging session is active.
Inferior 1 [process 17642] will be killed.
Quit anyway? (y or n) y
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org