Bug 337580 - KMessageBox causes crash in KF5
Summary: KMessageBox causes crash in KF5
Status: RESOLVED DUPLICATE of bug 335111
Alias: None
Product: frameworks-kwidgetsaddons
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: VHI crash
Target Milestone: ---
Assignee: Christoph Feck
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 14:19 UTC by Jasem Mutlaq
Modified: 2014-10-26 16:40 UTC (History)
1 user (show)

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


Attachments
Backtrace (30.31 KB, text/plain)
2014-07-18 14:19 UTC, Jasem Mutlaq
Details
Simple project to illustrate crash (2.58 KB, application/gzip)
2014-07-18 14:21 UTC, Jasem Mutlaq
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jasem Mutlaq 2014-07-18 14:19:27 UTC
Created attachment 87798 [details]
Backtrace

I'm using KF5 libs from Project5-Neon on Kubuntu 14.04. If I try to use KMessageBox::information (or any other KMessageBox function), the application crashes. The equivalent QMessageBox does not cause a crash. Attached is the backtrace and also a simple project that illustrates this crash.
Comment 1 Jasem Mutlaq 2014-07-18 14:21:32 UTC
Created attachment 87799 [details]
Simple project to illustrate crash
Comment 2 Christoph Feck 2014-07-18 14:50:41 UTC

*** This bug has been marked as a duplicate of bug 335111 ***
Comment 3 Christoph Feck 2014-07-18 14:52:19 UTC
As a workaround, do not use phonon-backend-vlc, or disable use of phonon for knotify sound notifications (I simply use a command line player instead).
Comment 4 Jasem Mutlaq 2014-07-18 14:54:20 UTC
Great thanks, any idea on how to do either of those? I'm just using KF5 from project-neon5, is there some config file I need to edit somewhere?
Comment 5 Jasem Mutlaq 2014-07-18 15:01:24 UTC
ok, I just removed project-neon5-phonon4qt5-vlc and project-neon5-phonon5-vlc and the crash is done! Thanks!
Comment 6 Christoph Feck 2014-07-18 18:59:34 UTC
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1328466 suggests another solution:

<cite>
Running "/usr/lib/vlc/vlc-cache-gen -f /usr/lib/vlc/plugins/" as root fixes the crash
</cite>