On Wed, 2007-11-21 at 12:25 -0500, Ari Pollak wrote:
> On Wed, 2007-11-21 at 10:12 +0100, Martin Stigge wrote:
> > First try with gdb didn't reproduce the problem, second try did at
> > second try to save-as the file. You find the backtrace of the second try
> > attached.
> 
> Hm, this seems like a bizarre place to crash. Can you install libc6-dbg,
> and do an "export MALLOC_CHECK_=3" before running gimp and gdb to see if
> that gives any better information?

You find the gdb information attached.

I should add that it turns out that the problem takes sometimes 5-10
times of the saveas-undo-crop cycle until the crash occurs. So maybe
with a longer cycle of trying you can even reproduce it yourself.
Sometimes it also does not happen at all (until I loose patience at
least...).

Best regards,
Martin
$ gdb gimp
malloc: using debugging hooks
GNU gdb 6.6.90.20070912-debian
Copyright (C) 2007 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"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) set pagination 0
(gdb) run
Starting program: /usr/bin/gimp 
[Thread debugging using libthread_db enabled]
[New Thread 0xb74026b0 (LWP 11948)]
malloc: using debugging hooks
[New Thread 0xb70cfb90 (LWP 11951)]
[New Thread 0xb68cfb90 (LWP 11952)]
malloc: using debugging hooks
[New Thread 0xb5367b90 (LWP 11963)]
[New Thread 0xb4b67b90 (LWP 11964)]
[New Thread 0xb4367b90 (LWP 11965)]
[Thread 0xb5367b90 (LWP 11963) exited]
[Thread 0xb4b67b90 (LWP 11964) exited]
[Thread 0xb4367b90 (LWP 11965) exited]
[New Thread 0xb4367b90 (LWP 11966)]
[New Thread 0xb4b67b90 (LWP 11967)]
[Thread 0xb4b67b90 (LWP 11967) exited]
[Thread 0xb4367b90 (LWP 11966) exited]
[New Thread 0xb4367b90 (LWP 11970)]
malloc: using debugging hooks
[Thread 0xb4367b90 (LWP 11970) exited]
[New Thread 0xb4367b90 (LWP 11976)]
[New Thread 0xb4b67b90 (LWP 11977)]
[New Thread 0xb5367b90 (LWP 11978)]
[New Thread 0xb3b67b90 (LWP 11979)]
[New Thread 0xb3367b90 (LWP 11980)]
[New Thread 0xb2b67b90 (LWP 11981)]
[Thread 0xb2b67b90 (LWP 11981) exited]
[Thread 0xb4b67b90 (LWP 11977) exited]
[Thread 0xb3367b90 (LWP 11980) exited]
[Thread 0xb4367b90 (LWP 11976) exited]
[Thread 0xb3b67b90 (LWP 11979) exited]
[Thread 0xb5367b90 (LWP 11978) exited]
[New Thread 0xb5367b90 (LWP 11984)]
[Thread 0xb5367b90 (LWP 11984) exited]
malloc: using debugging hooks
[New Thread 0xb5367b90 (LWP 11990)]
[New Thread 0xb3b67b90 (LWP 11991)]
[New Thread 0xb4367b90 (LWP 11992)]
[Thread 0xb4367b90 (LWP 11992) exited]
[Thread 0xb5367b90 (LWP 11990) exited]
[Thread 0xb3b67b90 (LWP 11991) exited]
[New Thread 0xb3b67b90 (LWP 11993)]
[Thread 0xb3b67b90 (LWP 11993) exited]
malloc: using debugging hooks
[New Thread 0xb3b67b90 (LWP 12001)]
[New Thread 0xb5367b90 (LWP 12002)]
[New Thread 0xb4367b90 (LWP 12003)]
[Thread 0xb5367b90 (LWP 12002) exited]
[Thread 0xb3b67b90 (LWP 12001) exited]
[Thread 0xb4367b90 (LWP 12003) exited]
[New Thread 0xb4367b90 (LWP 12004)]
[Thread 0xb4367b90 (LWP 12004) exited]
malloc: using debugging hooks
[New Thread 0xb4367b90 (LWP 12010)]
[Thread 0xb4367b90 (LWP 12010) exited]
[New Thread 0xb4367b90 (LWP 12013)]
[Thread 0xb4367b90 (LWP 12013) exited]
malloc: using debugging hooks
[New Thread 0xb4367b90 (LWP 12019)]
[Thread 0xb4367b90 (LWP 12019) exited]

Program received signal SIGINT, Interrupt.
[Switching to Thread 0xb74026b0 (LWP 11948)]
(gdb) bt
#0  0xb774252d in poll () from /lib/libc.so.6
#1  0xb780a585 in g_main_context_iterate (context=0x8426418, block=1, 
dispatch=1, self=0x8405008) at /tmp/buildd/glib2.0-2.14.3/glib/gmain.c:2996
#2  0xb780a937 in IA__g_main_loop_run (loop=0x8ee0740) at 
/tmp/buildd/glib2.0-2.14.3/glib/gmain.c:2898
#3  0x08067ad9 in app_run (full_prog_name=0xbfce48f7 "/usr/bin/gimp", 
filenames=0x0, alternate_system_gimprc=0x0, alternate_gimprc=0x0, 
session_name=0x0, batch_interpreter=0x0, batch_commands=0x0, as_new=0, 
no_interface=0, no_data=0, no_fonts=0, no_splash=0, be_verbose=0, use_shm=1, 
use_cpu_accel=1, console_messages=0, use_debug_handler=0, 
stack_trace_mode=GIMP_STACK_TRACE_NEVER, pdb_compat_mode=GIMP_PDB_COMPAT_ON) at 
/build/buildd/gimp-2.4.1/./app/app.c:246
#4  0x08068a78 in main (argc=Cannot access memory at address 0x5
) at /build/buildd/gimp-2.4.1/./app/main.c:385
#5  0xb768f050 in __libc_start_main () from /lib/libc.so.6
#6  0x080677f1 in _start ()
(gdb) bt full
#0  0xb774252d in poll () from /lib/libc.so.6
No symbol table info available.
#1  0xb780a585 in g_main_context_iterate (context=0x8426418, block=1, 
dispatch=1, self=0x8405008) at /tmp/buildd/glib2.0-2.14.3/glib/gmain.c:2996
        got_ownership = <value optimized out>
        max_priority = 2147483647
        timeout = 4999
        some_ready = <value optimized out>
        nfds = 5
        allocated_nfds = <value optimized out>
        fds = (GPollFD *) 0x9321008
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#2  0xb780a937 in IA__g_main_loop_run (loop=0x8ee0740) at 
/tmp/buildd/glib2.0-2.14.3/glib/gmain.c:2898
        got_ownership = -1216576704
        self = (GThread *) 0x8405008
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#3  0x08067ad9 in app_run (full_prog_name=0xbfce48f7 "/usr/bin/gimp", 
filenames=0x0, alternate_system_gimprc=0x0, alternate_gimprc=0x0, 
session_name=0x0, batch_interpreter=0x0, batch_commands=0x0, as_new=0, 
no_interface=0, no_data=0, no_fonts=0, no_splash=0, be_verbose=0, use_shm=1, 
use_cpu_accel=1, console_messages=0, use_debug_handler=0, 
stack_trace_mode=GIMP_STACK_TRACE_NEVER, pdb_compat_mode=GIMP_PDB_COMPAT_ON) at 
/build/buildd/gimp-2.4.1/./app/app.c:246
        install = <value optimized out>
        update_status_func = <value optimized out>
        gimp = (Gimp *) 0x842c028
        config = (GimpBaseConfig *) 0x843c010
        loop = (GMainLoop *) 0x8ee0740
        swap_is_ok = 1
#4  0x08068a78 in main (argc=Cannot access memory at address 0x5
) at /build/buildd/gimp-2.4.1/./app/main.c:385
        context = (GOptionContext *) 0x84094a8
        error = (GError *) 0x0
        abort_message = <value optimized out>
        i = 0
#5  0xb768f050 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#6  0x080677f1 in _start ()
No symbol table info available.
(gdb) thread apply all bt full

Thread 3 (Thread 0xb68cfb90 (LWP 11952)):
#0  0xb77ca451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb77e9ff2 in g_async_queue_pop_intern_unlocked (queue=0x843af88, 
try=<value optimized out>, end_time=0x0) at 
/tmp/buildd/glib2.0-2.14.3/glib/gasyncqueue.c:334
        retval = <value optimized out>
        __PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
#2  0xb782c156 in g_thread_pool_thread_proxy (data=0x843bd18) at 
/tmp/buildd/glib2.0-2.14.3/glib/gthreadpool.c:198
        task = (gpointer) 0x843ef58
        pool = (GRealThreadPool *) 0x843bd18
#3  0xb782a4ff in g_thread_create_proxy (data=0x843ef58) at 
/tmp/buildd/glib2.0-2.14.3/glib/gthread.c:635
        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
#4  0xb77c62d3 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0xb774c54e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 2 (Thread 0xb70cfb90 (LWP 11951)):
#0  0xb77ca451 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1  0xb77e9ff2 in g_async_queue_pop_intern_unlocked (queue=0x843af88, 
try=<value optimized out>, end_time=0x0) at 
/tmp/buildd/glib2.0-2.14.3/glib/gasyncqueue.c:334
        retval = <value optimized out>
        __PRETTY_FUNCTION__ = "g_async_queue_pop_intern_unlocked"
#2  0xb782c156 in g_thread_pool_thread_proxy (data=0x843bd18) at 
/tmp/buildd/glib2.0-2.14.3/glib/gthreadpool.c:198
        task = (gpointer) 0x84419a0
        pool = (GRealThreadPool *) 0x843bd18
#3  0xb782a4ff in g_thread_create_proxy (data=0x84419a0) at 
/tmp/buildd/glib2.0-2.14.3/glib/gthread.c:635
        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
#4  0xb77c62d3 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5  0xb774c54e in clone () from /lib/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb74026b0 (LWP 11948)):
#0  0xb774252d in poll () from /lib/libc.so.6
No symbol table info available.
#1  0xb780a585 in g_main_context_iterate (context=0x8426418, block=1, 
dispatch=1, self=0x8405008) at /tmp/buildd/glib2.0-2.14.3/glib/gmain.c:2996
        got_ownership = <value optimized out>
        max_priority = 2147483647
        timeout = 4999
        some_ready = <value optimized out>
        nfds = 5
        allocated_nfds = <value optimized out>
        fds = (GPollFD *) 0x9321008
        __PRETTY_FUNCTION__ = "g_main_context_iterate"
#2  0xb780a937 in IA__g_main_loop_run (loop=0x8ee0740) at 
/tmp/buildd/glib2.0-2.14.3/glib/gmain.c:2898
        got_ownership = -1216576704
        self = (GThread *) 0x8405008
        __PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#3  0x08067ad9 in app_run (full_prog_name=0xbfce48f7 "/usr/bin/gimp", 
filenames=0x0, alternate_system_gimprc=0x0, alternate_gimprc=0x0, 
session_name=0x0, batch_interpreter=0x0, batch_commands=0x0, as_new=0, 
no_interface=0, no_data=0, no_fonts=0, no_splash=0, be_verbose=0, use_shm=1, 
use_cpu_accel=1, console_messages=0, use_debug_handler=0, 
stack_trace_mode=GIMP_STACK_TRACE_NEVER, pdb_compat_mode=GIMP_PDB_COMPAT_ON) at 
/build/buildd/gimp-2.4.1/./app/app.c:246
        install = <value optimized out>
        update_status_func = <value optimized out>
        gimp = (Gimp *) 0x842c028
        config = (GimpBaseConfig *) 0x843c010
        loop = (GMainLoop *) 0x8ee0740
        swap_is_ok = 1
#4  0x08068a78 in main (argc=Cannot access memory at address 0x5
) at /build/buildd/gimp-2.4.1/./app/main.c:385
        context = (GOptionContext *) 0x84094a8
        error = (GError *) 0x0
        abort_message = <value optimized out>
        i = 0
#5  0xb768f050 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#6  0x080677f1 in _start ()
No symbol table info available.
(gdb) 

Reply via email to