Bug 301790 - Gwenview crashes when opening context menu and hovering above "open with"
Summary: Gwenview crashes when opening context menu and hovering above "open with"
Status: RESOLVED DUPLICATE of bug 301453
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.8.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 301468 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-13 06:11 UTC by Manfred Kitzbichler
Modified: 2012-10-19 13:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Kitzbichler 2012-06-13 06:11:04 UTC
Application: gwenview (2.8.4)
KDE Platform Version: 4.8.4 (4.8.4) "release 6"
Qt Version: 4.8.2
Operating System: Linux 3.4.2-28-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I viewed an image with Gwenview and wanted to open it with Gimp by selecting the "Open with" option in the context menu that comes up when pressing the right mouse button. The menu works fine but as soon as I move the mouse over the "Open with" entry, instead of opening a sub-menu, Gwenview crashes.

I installed the newest KDE4 packages from the OpenSuse Tumbleweed repositories.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0b89523760 (LWP 7906))]

Thread 3 (Thread 0x7f0b75e9a700 (LWP 7910)):
#0  0x00007f0b85eb9ff3 in poll () from /lib64/libc.so.6
#1  0x00007f0b822c9ae8 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f0b822c9fa9 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f0b88367e36 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f0b88337842 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f0b88337a97 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f0b882375f7 in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f0b8831762f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f0b8823a61b in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f0b84627f05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f0b85ec310d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f0b6ffff700 (LWP 7920)):
#0  0x00007f0b8462be6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0b8823ab2b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f0b88e68e3e in ?? () from /usr/lib64/libgwenviewlib.so.4
#3  0x00007f0b8823a61b in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f0b84627f05 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f0b85ec310d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f0b89523760 (LWP 7906)):
[KCrash Handler]
#6  KSycocaDict::find_string (this=0x909090909090ffff, key=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/sycoca/ksycocadict.cpp:151
#7  0x00007f0b872cdbf9 in mimeTypeSycocaServiceOffers (mimeType=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kmimetypetrader.cpp:79
#8  KMimeTypeTrader::query (this=<optimized out>, mimeType=<optimized out>, genericServiceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.4/kdecore/services/kmimetypetrader.cpp:147
#9  0x0000000000448e1a in _start ()

Possible duplicates by query: bug 301445, bug 300055, bug 298157, bug 290261.

Reported using DrKonqi
Comment 1 Janek Bevendorff 2012-06-13 12:09:55 UTC
I can't reproduce this in Gwenview 2.9.0.
Comment 2 Manfred Kitzbichler 2012-06-13 17:36:31 UTC
(In reply to comment #1)
> I can't reproduce this in Gwenview 2.9.0.

Where can I get Gwenview 2.9.0? It doesn't seem to be available anywhere on the OpenSuse build service nor the official KDE source tree at http://download.kde.org
Comment 3 Janek Bevendorff 2012-06-13 18:50:45 UTC
Gwenview 2.9.0 is part of KDE 4.9 beta2.
Comment 4 Manfred Kitzbichler 2012-06-13 18:54:54 UTC
(In reply to comment #3)
> Gwenview 2.9.0 is part of KDE 4.9 beta2.

That's what I suspected. Given that KDE 4.9 won't be out for a while and that the next OpenSuse release 12.2 will still use KDE 4.8 it would be good to have this bug fixed in the KDE 4.8 version of Gwenview as well. It shouldn't require much, from what I can gather from the crash dump it may be to do with identifying the MIME type, but I may well be on a completely wrong track there.
Comment 5 Manfred Kitzbichler 2012-06-14 01:06:04 UTC
After doing some more research into this, I think there is a more general problem with KDE 4.8.4 in combination with Soprano 2.7.6 which come together in the OpenSuse repositories. See this thread on the kde-core devel mailing list:
http://lists.kde.org/?t=133931393100003&r=1&w=2
Comment 6 Jekyll Wu 2012-06-19 17:55:16 UTC
*** Bug 301468 has been marked as a duplicate of this bug. ***
Comment 7 Manfred Kitzbichler 2012-06-19 18:03:28 UTC
For the records: as described in the kde-core devel mailing list I have linked to above, replacing Soprano 2.7.6 with version 2.7.56 (also now in the OpenSuse Tumbleweed repository) will fix the problem. The issue seems to be an incoherent change to socket handling in KDE 4.8.4, in particular the socket at /tmp/ksocket-${USER}/nepomuk-socket which is accessed by Gwenview.
Comment 8 Aurelien Gateau 2012-06-28 16:05:01 UTC

*** This bug has been marked as a duplicate of bug 301453 ***