Hi,

I reproduced the code from [1] to learn how to create KF5 applications. The 
application runs fine but if I first open some file and then quit through the 
quit action i get a segmentation fault.

I ran the application in GDB and created this backtrace:

> #0  0x00007ffff4335b44 in  () at /usr/lib64/libQt5Core.so.5
> #1  0x00007ffff43136d9 in QHashData::free_helper(void (*)(QHashData::Node*))
> () at /usr/lib64/libQt5Core.so.5 #2  0x00007ffff432db24 in  () at
> /usr/lib64/libQt5Core.so.5
> #3  0x00007ffff35fab19 in __run_exit_handlers () at /lib64/libc.so.6
> #4  0x00007ffff35fab65 in  () at /lib64/libc.so.6
> #5  0x00007ffff35e4b0c in __libc_start_main () at /lib64/libc.so.6
> #6  0x0000000000407509 in _start () at ../sysdeps/x86_64/start.S:122

Now I wonder if the example contains a bug I cannot spot or if my environment 
is somehow broken. Its OpenSuSE Leap with OBS KDE repositories (Plasma is very 
stable indeed, so i can't imagine it's the environment).

Thanks for looking into it!

Best,
Christian

[1] https://techbase.kde.org/Development/Tutorials/Saving_and_loading
-- 
Christian Kalkhoff - Softwarebefreier - software liberator
Fellow of FSFE - Support FSFE!
https://softmetz.de
https://blogs.fsfe.org/softmetz

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to