Bug 285024

Summary: gwenview crash on close [ Gwenview::ImageMetaInfoModel::~ImageMetaInfoModel ]
Product: [Applications] gwenview Reporter: Jannis Liapis <ahepas1999>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: ashl1future, germano.massullo
Priority: NOR Keywords: triaged
Version: 2.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Jannis Liapis 2011-10-26 16:54:42 UTC
Application: gwenview (2.7.2)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed: Nothing in particular. just closed the application when this crash report appeared

-- Backtrace:
Application: Gwenview (gwenview), signal: Aborted
[Current thread is 1 (Thread 0xb7834a50 (LWP 4008))]

Thread 4 (Thread 0xb6bcbb70 (LWP 4010)):
#0  0x00489d10 in __GI_clock_gettime (clock_id=1, tp=0xb6bcb028) at ../sysdeps/unix/clock_gettime.c:116
#1  0x005857d5 in do_gettime (frac=0xb6bcb020, sec=0xb6bcb018) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x006584b6 in QTimerInfoList::updateCurrentTime (this=0xb6200ce4) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0065880a in QTimerInfoList::timerWait (this=0xb6200ce4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00657053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb6bcb12c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x006570ed in timerSourcePrepare (source=0xb6200cb0, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0542d88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x0542e637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x0542ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x00657b37 in QEventDispatcherGlib::processEvents (this=0x88431f8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x006281dd in QEventLoop::processEvents (this=0xb6bcb2b0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00628421 in QEventLoop::exec (this=0xb6bcb2b0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0052b90b in QThread::exec (this=0x883d9a0) at thread/qthread.cpp:498
#14 0x00608e2d in QInotifyFileSystemWatcherEngine::run (this=0x883d9a0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0052e7b3 in QThreadPrivate::start (arg=0x883d9a0) at thread/qthread_unix.cpp:331
#16 0x007d7d31 in start_thread (arg=0xb6bcbb70) at pthread_create.c:304
#17 0x064880ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xb56eeb70 (LWP 4048)):
#0  0x00c92416 in __kernel_vsyscall ()
#1  0x06496063 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0642a135 in _L_lock_10306 () from /lib/i386-linux-gnu/libc.so.6
#3  0x06428946 in __GI___libc_free (mem=0x8f8b2a8) at malloc.c:3736
#4  0x009aa80f in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x00657cfc in QEventDispatcherGlib::unregisterSocketNotifier (this=0x903eae8, notifier=0xb56ee30c) at kernel/qeventdispatcher_glib.cpp:503
#6  0x00645be8 in setEnabled (enable=<optimized out>, this=0xb56ee30c) at kernel/qsocketnotifier.cpp:298
#7  QSocketNotifier::setEnabled (this=0xb56ee30c, enable=false) at kernel/qsocketnotifier.cpp:284
#8  0x0065729d in socketNotifierSourceCheck (source=0x9102700) at kernel/qeventdispatcher_glib.cpp:92
#9  0x0542df24 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0542e8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x0542ec2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#12 0x00657ada in QEventDispatcherGlib::processEvents (this=0x903eae8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#13 0x006281dd in QEventLoop::processEvents (this=0xb56ee2b0, flags=...) at kernel/qeventloop.cpp:149
#14 0x00628421 in QEventLoop::exec (this=0xb56ee2b0, flags=...) at kernel/qeventloop.cpp:201
#15 0x0052b90b in QThread::exec (this=0x9210ad8) at thread/qthread.cpp:498
#16 0x00608e2d in QInotifyFileSystemWatcherEngine::run (this=0x9210ad8) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x0052e7b3 in QThreadPrivate::start (arg=0x9210ad8) at thread/qthread_unix.cpp:331
#18 0x007d7d31 in start_thread (arg=0xb56eeb70) at pthread_create.c:304
#19 0x064880ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb380cb70 (LWP 4537)):
#0  0x00c92416 in __kernel_vsyscall ()
#1  0x007de619 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142
#2  0x007dbb36 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:299
#3  0x06495cfc in __pthread_cond_wait (cond=0x9256c30, mutex=0x9256c18) at forward.c:139
#4  0x0052d5b3 in QMutexPrivate::wait (this=0x9256c00, timeout=-1) at thread/qmutex_unix.cpp:84
#5  0x005297ca in QMutex::lock (this=0x9250614) at thread/qmutex.cpp:167
#6  0x00b5325f in ?? () from /usr/lib/libgwenviewlib.so.4
#7  0x0052e7b3 in QThreadPrivate::start (arg=0x9250608) at thread/qthread_unix.cpp:331
#8  0x007d7d31 in start_thread (arg=0xb380cb70) at pthread_create.c:304
#9  0x064880ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7834a50 (LWP 4008)):
[KCrash Handler]
#7  0x00c92416 in __kernel_vsyscall ()
#8  0x063e3c8f in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x063e72b5 in __GI_abort () at abort.c:92
#10 0x06419dfc in __libc_message (do_abort=2, fmt=0x64f3080 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#11 0x06424bc2 in malloc_printerr (action=<optimized out>, str=<optimized out>, ptr=0x941b8d8) at malloc.c:6283
#12 0x0642501f in malloc_consolidate (av=0x652f400) at malloc.c:5169
#13 malloc_consolidate (av=0x652f400) at malloc.c:5089
#14 0x06425737 in _int_free (av=0x652f400, p=0xa71d230) at malloc.c:5034
#15 0x0642894d in __GI___libc_free (mem=0xa763450) at malloc.c:3738
#16 0x00527e2b in qFree (ptr=0xa763450) at global/qmalloc.cpp:60
#17 0x00579032 in QString::free (d=0xa763450) at tools/qstring.cpp:1186
#18 0x00b2df26 in Gwenview::ImageMetaInfoModel::~ImageMetaInfoModel() () from /usr/lib/libgwenviewlib.so.4
#19 0x00b0cf65 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.4
#20 0x00b0d052 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.4
#21 0x00b0fea9 in Gwenview::DocumentFactory::~DocumentFactory() () from /usr/lib/libgwenviewlib.so.4
#22 0x063e8981 in __run_exit_handlers (status=0, listp=0x652e324, run_list_atexit=true) at exit.c:78
#23 0x063e8a0d in __GI_exit (status=0) at exit.c:100
#24 0x063cf11b in __libc_start_main (main=0x8063700, argc=6, ubp_av=0xbf8f71f4, init=0x80aa5d0 <__libc_csu_init>, fini=0x80aa640 <__libc_csu_fini>, rtld_fini=0x814bc0, stack_end=0xbf8f71ec) at libc-start.c:258
#25 0x08063f4d in _start ()

Possible duplicates by query: bug 284774, bug 284447, bug 283789, bug 275298, bug 273596.

Reported using DrKonqi
Comment 1 Germano Massullo 2012-01-06 16:14:52 UTC
Created attachment 67516 [details]
New crash information added by DrKonqi

gwenview (2.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

- What I was doing when the application crashed:

I was deleting in Dolphin an image that was already opened in Gwenview. I am sorry for not giving a good debuginfos log, but the automatic crash reporting tools almost crashed (yum's fault) while installing new debuginfos

-- Backtrace (Reduced):
#6  0x00000033ac436285 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00000033ac437b9b in __GI_abort () at abort.c:91
[...]
#9  0x00000033ac47c2d6 in malloc_printerr (action=3, str=0x33ac571b4c "corrupted double-linked list", ptr=<optimized out>) at malloc.c:5021
#10 0x00000033ac47d743 in _int_free (av=0x33ac7af700, p=0x18e8190, have_lock=0) at malloc.c:4097
#11 0x0000003bc0697665 in QHashData::free_helper (this=0x114f6e0, node_delete=0x3bc1b99e00 <QHash<unsigned long long, QGradientCache::CacheInfo>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:276
Comment 2 Alexey Shildyakov 2012-09-16 14:54:30 UTC
Created attachment 73962 [details]
New crash information added by DrKonqi

gwenview (2.7.4) on KDE Platform 4.7.4 (4.7.4) using Qt 4.7.4

Nothing special - Just close the application. Kubuntu

-- Backtrace (Reduced):
#16 0x00ac7b63 in QHashData::free_helper(void (*)(QHashData::Node*)) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#17 0x0017801c in Gwenview::ImageMetaInfoModel::~ImageMetaInfoModel() () from /usr/lib/libgwenviewlib.so.4
#18 0x00156fb5 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.4
#19 0x001570a2 in Gwenview::Document::~Document() () from /usr/lib/libgwenviewlib.so.4
#20 0x00159ef9 in Gwenview::DocumentFactory::~DocumentFactory() () from /usr/lib/libgwenviewlib.so.4
Comment 3 Myriam Schweingruber 2013-04-02 17:24:21 UTC
Is this still valid with Gwenview 4.10 or later? I can't reproduce this here on KDE 4.10.1
Comment 4 Andrew Crouthamel 2018-09-24 02:05:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 03:53:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!