Bug 367907 - spectacle segfault
Summary: spectacle segfault
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-28 02:09 UTC by Jón Frímann
Modified: 2016-11-12 10:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jón Frímann 2016-08-28 02:09:07 UTC
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.
Comment 1 Peter Wu 2016-10-11 22:20:06 UTC
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?
Comment 2 Peter Wu 2016-10-11 22:31:03 UTC
The crash on exit issue after opening a file dialog is caused by a bug in kbookmarks btw, https://commits.kde.org/kbookmarks/68db76e9d8afce989d246768ebed7a12f9414b34
Comment 3 Jón Frímann 2016-10-12 16:53:52 UTC
(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).
Comment 4 Peter Wu 2016-10-12 16:58:08 UTC
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!
Comment 5 Jón Frímann 2016-11-12 03:38:55 UTC
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]
Comment 6 Peter Wu 2016-11-12 10:16:04 UTC
Can you configure coredumps such that a backtrace can be obtained? It is really difficult to investigate this otherwise.