Bug 370666 - Core generated if no space left on disk
Summary: Core generated if no space left on disk
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-13 17:13 UTC by littletiger58
Modified: 2019-02-12 19:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
sectacle-messages (2.10 KB, text/x-log)
2019-02-11 22:47 UTC, Viorel-Cătălin Răpițeanu
Details

Note You need to log in before you can comment on or make changes to this bug.
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.