[Digikam-devel] [Bug 219438] New: Crash when trying to edit an image [__libc_message, malloc_printerr, QHashData::free_helper]

Rahul Siddharthan rsidd120 at gmail.com
Sun Dec 20 15:23:23 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=219438

           Summary: Crash when trying to edit an image [__libc_message,
                    malloc_printerr, QHashData::free_helper]
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: rsidd120 at gmail.com


Application: digikam (rc..-rc)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Editing an image crashes the program, sometimes immediately after I right-click
on the image and choose "edit", sometimes after the image editor opens and I
try some operation.  On this occasion it was trying "Enhance -> Sharpen" from
the image editor menu.

The crash can be reproduced everytime.

 -- Backtrace:
Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0x7fc6f72bc860 (LWP 2767))]

Thread 17 (Thread 0x7fc6e3be9910 (LWP 2768)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6f07e767b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x245b370, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x245b370,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00000000006c29c3 in ?? ()
#4  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x245afa0) at
thread/qthread_unix.cpp:244
#5  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7fc6dfacb910 (LWP 2770)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fc6dfacac20 in ?? ()
#2  0x00007fffca9ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 15 (Thread 0x7fc6de0b6910 (LWP 2771)):
#0  0x00007fc6efb0a373 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc6ea0eb36c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fc6ea0eb6b0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007fc6f0903676 in QEventDispatcherGlib::processEvents (this=0x2523b00,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#4  0x00007fc6f08d8972 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fc6f08d8d4c in QEventLoop::exec (this=0x7fc6de0b5f30, flags=) at
kernel/qeventloop.cpp:201
#6  0x00007fc6f07e3c79 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x2712fe0) at
thread/qthread_unix.cpp:244
#8  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fc6dd835910 (LWP 2772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6f07e767b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x27cf018, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x27cf018,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6f430bd02 in Digikam::LoadSaveThread::run() () from
/usr/lib/libdigikamcore.so.1
#4  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x27cf000) at
thread/qthread_unix.cpp:244
#5  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 13 (Thread 0x7fc6dd034910 (LWP 2773)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fc6dd033c20 in ?? ()
#2  0x00007fffca9ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 12 (Thread 0x7fc6dc833910 (LWP 2774)):
#0  0x00007fc6f055a0b2 in __pthread_mutex_lock (mutex=0x27deed8) at
pthread_mutex_lock.c:61
#1  0x00007fc6ea0e6625 in g_main_context_query () from /lib/libglib-2.0.so.0
#2  0x00007fc6ea0eb241 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fc6ea0eb6b0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#4  0x00007fc6f0903676 in QEventDispatcherGlib::processEvents (this=0x27d9a60,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007fc6f08d8972 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fc6f08d8d4c in QEventLoop::exec (this=0x7fc6dc832f30, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007fc6f07e3c79 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x27de950) at
thread/qthread_unix.cpp:244
#9  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#10 0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fc6dc032910 (LWP 2775)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6f07e767b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x27f1ec8, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x27f1ec8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6f430bd02 in Digikam::LoadSaveThread::run() () from
/usr/lib/libdigikamcore.so.1
#4  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x27f1eb0) at
thread/qthread_unix.cpp:244
#5  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 10 (Thread 0x7fc6d440b910 (LWP 2776)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fc6d9fccda1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#3  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 9 (Thread 0x7fc6d2287910 (LWP 2777)):
#0  0x00007fc6efb0f3c2 in select () from /lib/libc.so.6
#1  0x00007fc6d9ff5815 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007fc6d9fda9b7 in ?? () from /usr/lib/libxine.so.1
#3  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#4  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc6d1a86910 (LWP 2778)):
#0  0x00007fc6f055a0bc in __pthread_mutex_lock (mutex=0x2e04bc8) at
pthread_mutex_lock.c:62
#1  0x00007fc6ea0eaad1 in g_main_context_check () from /lib/libglib-2.0.so.0
#2  0x00007fc6ea0eb280 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007fc6ea0eb6b0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#4  0x00007fc6f0903676 in QEventDispatcherGlib::processEvents (this=0x2e04ad0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:409
#5  0x00007fc6f08d8972 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007fc6f08d8d4c in QEventLoop::exec (this=0x7fc6d1a85ed0, flags=) at
kernel/qeventloop.cpp:201
#7  0x00007fc6f07e3c79 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007fc6da24aa90 in ?? () from
/usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#9  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x2e04450) at
thread/qthread_unix.cpp:244
#10 0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#11 0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 7 (Thread 0x7fc6cce73910 (LWP 2787)):
#0  __pthread_mutex_lock_full (mutex=0x2e458a0) at pthread_mutex_lock.c:291
#1  0x00007fc6d35b14ee in pa_mutex_lock () from
/usr/lib/libpulsecommon-0.9.19.so
#2  0x00007fc6d37f1219 in ?? () from /usr/lib/libpulse.so.0
#3  0x00007fc6d37e15e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x00007fc6d37e2eb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x00007fc6d37e2f70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x00007fc6d37f112b in ?? () from /usr/lib/libpulse.so.0
#7  0x00007fc6d35b2050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#8  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#9  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc6d0c6e910 (LWP 2788)):
#0  0x00007fc6efb0a373 in *__GI___poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc6d1081cbe in ?? () from
/usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#2  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#3  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fc6d044c910 (LWP 2789)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6d9fddaa3 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#3  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc6ce10e910 (LWP 2790)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6f07e767b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x2fdf5e8, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2fdf5e8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6f430bd02 in Digikam::LoadSaveThread::run() () from
/usr/lib/libdigikamcore.so.1
#4  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x2fdf5d0) at
thread/qthread_unix.cpp:244
#5  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fc6cd90d910 (LWP 2797)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6f07e767b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x43f89a8, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x43f89a8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6f430bd02 in Digikam::LoadSaveThread::run() () from
/usr/lib/libdigikamcore.so.1
#4  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x43f8990) at
thread/qthread_unix.cpp:244
#5  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc6c666d910 (LWP 2798)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fc6f07e767b in QWaitConditionPrivate::wait (this=<value optimized
out>, mutex=0x4685f08, time=18446744073709551615) at
thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4685f08,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc6f430bd02 in Digikam::LoadSaveThread::run() () from
/usr/lib/libdigikamcore.so.1
#4  0x00007fc6f07e66c5 in QThreadPrivate::start (arg=0x4685ef0) at
thread/qthread_unix.cpp:244
#5  0x00007fc6f0557a04 in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#6  0x00007fc6efb167bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc6f72bc860 (LWP 2767)):
[KCrash Handler]
#5  0x00007fc6efa6a4b5 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fc6efa6df50 in *__GI_abort () at abort.c:92
#7  0x00007fc6efaa2c97 in __libc_message (do_abort=<value optimized out>,
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#8  0x00007fc6efaacdd6 in malloc_printerr (action=3, str=0x7fc6efb6b7da
"free(): invalid pointer", ptr=<value optimized out>) at malloc.c:6217
#9  0x00007fc6f080298d in QHashData::free_helper (this=0x54d28e0,
node_delete=0xacf) at tools/qhash.cpp:281
#10 0x00007fc6f09261d0 in QHash<QString,
QXmlStreamReaderPrivate::Entity>::freeData (this=0x54d2a60, __in_chrg=<value
optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:567
#11 ~QHash (this=0x54d2a60, __in_chrg=<value optimized out>) at
../../include/QtCore/../../src/corelib/tools/qhash.h:284
#12 ~QXmlStreamReaderPrivate (this=0x54d2a60, __in_chrg=<value optimized out>)
at xml/qxmlstream.cpp:904
#13 0x00007fc6f092694f in
QScopedPointerDeleter<QXmlStreamReaderPrivate>::cleanup (this=0x7fffca95acd0,
__in_chrg=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#14 ~QScopedPointer (this=0x7fffca95acd0, __in_chrg=<value optimized out>) at
../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#15 ~QXmlStreamReader (this=0x7fffca95acd0, __in_chrg=<value optimized out>) at
xml/qxmlstream.cpp:452
#16 0x00007fc6f1063f96 in KuitSemanticsPrivate::semanticToVisualText
(this=<value optimized out>, text_=<value optimized out>, fmtExp_=<value
optimized out>, fmtImp_=<value optimized out>)
    at ../../kdecore/localization/kuitsemantics.cpp:1222
#17 0x00007fc6f1064d76 in KuitSemanticsPrivate::format (this=0x2419f70,
text=..., ctxt=<value optimized out>) at
../../kdecore/localization/kuitsemantics.cpp:900
#18 0x00007fc6f1064e3c in KuitSemantics::format (this=<value optimized out>,
text=..., ctxt=...) at ../../kdecore/localization/kuitsemantics.cpp:1573
#19 0x00007fc6f102fa66 in KLocalizedStringPrivate::postFormat (this=<value
optimized out>, text=<value optimized out>, lang=..., lscr=<value optimized
out>, ctxt=...)
    at ../../kdecore/localization/klocalizedstring.cpp:480
#20 0x00007fc6f1031e51 in KLocalizedStringPrivate::toString (this=0x54d1de0,
locale=<value optimized out>) at
../../kdecore/localization/klocalizedstring.cpp:299
#21 0x00007fc6f10328b8 in KLocalizedString::toString (this=0x7fffca95b290) at
../../kdecore/localization/klocalizedstring.cpp:205
#22 0x00007fc6f28e7267 in i18n (recvr=0x26040e0, slot=0x778397
"1slotShowMenuBar()", parent=0x2658150) at
../../kdecore/localization/klocalizedstring.h:600
#23 KStandardAction::showMenubar (recvr=0x26040e0, slot=0x778397
"1slotShowMenuBar()", parent=0x2658150) at
../../kdeui/actions/kstandardaction.cpp:522
#24 0x000000000065e938 in ?? ()
#25 0x00000000006659c8 in ?? ()
#26 0x0000000000760417 in ?? ()
#27 0x00007fc6efa55abd in __libc_start_main (main=<value optimized out>,
argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized
out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffca95e048) at
libc-start.c:220
#28 0x0000000000472009 in _start ()
The current source language is "auto; currently c".

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list