Bug 344408

Summary: Segfault in KTaskSwitcher
Product: [Frameworks and Libraries] frameworks-kservice Reporter: Peter C. Trenholme <PTrenholme>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kdelibs-bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter C. Trenholme 2015-02-20 21:36:27 UTC
Application: ktraderclient5 (5.2.0)

Qt Version: 5.4.0
Operating System: Linux 3.20.0-0.rc0.git9.1.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Rawhide)"

-- Information about the crash:
- What I was doing when the application crashed: Opening a GoogleChrome Web browser

Note: I'm currently on a Fedora "Rawhide" system, using a fairly new KDE 4.14.4 release and QT 5.4.0, so I suspect this is just a development issue. But, since it wasn't yet in yor system . . .

The crash can be reproduced every time.

-- Backtrace:
Application: KTraderClient (ktraderclient5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#5  0x00000034d8eaf6fd in QObject::~QObject() () at /lib64/libQt5Core.so.5
#6  0x00000034dc21c3d9 in (anonymous namespace)::Q_QGS_s_self::innerFunction()::Holder::~Holder() () at /lib64/libKF5Service.so.5
#7  0x00000034c6c3a638 in __run_exit_handlers () at /lib64/libc.so.6
#8  0x00000034c6c3a685 in  () at /lib64/libc.so.6
#9  0x00000034c6c20837 in __libc_start_main () at /lib64/libc.so.6
#10 0x00000000004026c9 in _start ()

Reported using DrKonqi
Comment 1 David Faure 2015-09-20 09:41:43 UTC
Thanks for the report.
The backtrace is unfortunately not informative ("a global object in KF5Service crashed in the QObject destructor").

I have recently removed many global objects in KF5Service, so hopefully this is fixed.