Bug 200947 - Crash if /tmp partition is full
Summary: Crash if /tmp partition is full
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 02:33 UTC by Alec Moskvin
Modified: 2014-05-08 09:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2009-07-21 02:33:20 UTC
Version:            (using KDE 4.2.96)
Compiler:          g++ (Gentoo 4.3.3-r2 p1.2, pie-10.1.5) 4.3.3 
OS:                Linux
Installed from:    Gentoo Packages

I tried to view a PDF file, but my rather small /tmp was full.
Okular showed the following dialog:

Could not open http://dlc-cdn-rd.sun.com/c1/virtualbox/3.0.0/UserManual.pdf?e=1248136603&h=4487ccf00994578d1c5a26bed351e532. Reason: Could not write file /tmp/kde-alec/okularT12390.
Disk full.

Then it crashed but the Crash Handler refused to report the crash because the only thing it could get is:

Application: Okular (okular), signal: Segmentation fault
Comment 1 Pino Toscano 2009-07-21 03:04:59 UTC
Hi Alec,

could you please provide a backtrace for the crash?
You can get one by following the instructions in:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

Thanks
Comment 2 Alec Moskvin 2009-07-21 03:36:04 UTC
Hi Pino,

I have all the debug information enabled for KDE, and all the other crashes come with a "three star" report... I don't know why the backtrace does not work.


If you'd like to reproduce it, you can create a small tmpfs partition and mount it over /tmp (mount -t tmpfs -o size=16M none /tmp).

I could reproduce again it by doing the following (DO NOT do this if your /tmp is not separate!)

1. Run the following:
dd if=/dev/zero of=/tmp/smallgarbage bs=1024 count=1 # make a 1K file
dd if=/dev/zero of=/tmp/biggarbage # fill up the partition
rm /tmp/smallgarbage # clear up 1K

2. From Konqueror, open a PDF link. If it does not crash, close Okular and try to download it again.
Comment 3 Christoph Feck 2013-09-12 21:43:24 UTC
This crash report is at least 3 years old and there were no further comments or status updates since then.

Therefore we believe that this crash is already fixed in recent KDE 4 versions or the backtrace is no longer applicable to the current KDE 4 sources.

If the crash still happens with a recent KDE version (4.10.5 or 4.11), please add an updated backtrace or provide steps to reproduce. For more information, see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports

(To prevent automatic closing of this bug in the future, please set the bug status to ASSIGNED or CONFIRMED)
Comment 4 Albert Astals Cid 2014-05-08 09:43:34 UTC
No answer in more than 6 months