Spectacle segfault in use when I pressed save on image that I took. It only happened once. This might be a fault of libQt5, but I'm not sure since I'm not good with reading this type of error messages so I don't know what is at fault here. Reproducible: Sometimes Steps to Reproduce: 1. Use Spectacle, press save option. 2. Image is saved right away. 3. The exit of the program seems to crash it . Actual Results: Spectacle crashes when pressing save button. Expected Results: Spectacle should exit clean when the image was saved. [89307.582039] spectacle[24906]: segfault at 7f551e906280 ip 00007f552d80c6f4 sp 00007fff92854fd8 error 4 in libQt5Core.so.5.6.1[7f552d6f2000+46f000] The crash message.
Could you provide more details? What settings were you using? Have you done other things like opening a file dialog prior to exiting? (I managed to crash Kate and Spectacle after opening a file dialog once, but that does not seem to be a bug in Spectacle.) Can you also include what versions of Spectacle, Qt, Plasma and theme (like Breeze) you have been using?
The crash on exit issue after opening a file dialog is caused by a bug in kbookmarks btw, https://commits.kde.org/kbookmarks/68db76e9d8afce989d246768ebed7a12f9414b34
(In reply to Peter Wu from comment #1) > Could you provide more details? What settings were you using? Have you done > other things like opening a file dialog prior to exiting? > > (I managed to crash Kate and Spectacle after opening a file dialog once, but > that does not seem to be a bug in Spectacle.) > > Can you also include what versions of Spectacle, Qt, Plasma and theme (like > Breeze) you have been using? The crash happened after I saved a screenshot using the "rectangular" option and when I pressed save and exit. I'm no longer running kde plasma 5.7.4 and I have upgraded to 5.8.0 where so far this has not yet happened. I'm currently running Qt framework 5.6.1. I'm using the default theme (Breeze).
Ok, hopefully some other component got fixed. I'll mark this as fixed, please comment if you run into the same problem (and have a gdb backtrace). Thanks!
This bug happened again. It happens when I save a screenshot. I'm not sure what else might be triggering it. This is the error message that appears in dmesg. [88715.802619] spectacle[17912]: segfault at 7f5e16b40580 ip 00007f5e25e3e6f4 sp 00007fff05f6d4f8 error 4 in libQt5Core.so.5.6.1[7f5e25d24000+46f000] [88828.738722] spectacle[17950]: segfault at 7f0a61738580 ip 00007f0a70a366f4 sp 00007ffd4a1f79f8 error 4 in libQt5Core.so.5.6.1[7f0a7091c000+46f000]
Can you configure coredumps such that a backtrace can be obtained? It is really difficult to investigate this otherwise.