Bug 370666

Summary: Core generated if no space left on disk
Product: [Applications] Spectacle Reporter: littletiger58
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: minor CC: peter, rapiteanu.catalin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: sectacle-messages

Description littletiger58 2016-10-13 17:13:47 UTC
If no space left on the «/home/user/» partition, spectacle will generate a «'core' violation» when making new capture.  If timeout is set, Spectacle will crash at the end of the timeout.

It is possibly related to KActivities trying to access a local database in «.local»

I have no other informations. :(
Comment 1 Peter Wu 2016-10-14 09:11:29 UTC
Is the core dump actually generated? If so, do you have a (gdb) backtrace?

What distro/version of Spectacle, Frameworks and Qt do you have?
Comment 2 Viorel-Cătălin Răpițeanu 2019-02-11 22:47:07 UTC
Created attachment 117988 [details]
sectacle-messages

I wasn't able to reproduce this segfault using the master versions of KDE Frameworks and Spectacle. The behaviors I encountered (and I think they are expected) are as follows: 

1. When I started spectacle with 0 space left on my home partition, I received the sycoca warning lock fail. Every time I changed the position of my Spectacle window, I would get an additional 'couldn't lock local file'.
2. When I freed ~100 bytes on my home partition, all previous warnings were gone, however spectacle wasn't able to write into the ksycoca5 database and gave an appropriate warning message.

If someone is able to reproduce this issue, please leave detail the steps, otherwise, I suggest this ticket to be closed as 'not reproducible' anymore.