Ticket #1349 (new defect)

Opened 2 years ago

Last modified 2 years ago

Crash when going online if there is no space left on device

Reported by: erijo Owned by:
Priority: normal Milestone:
Component: licq daemon Version: devel
Keywords: Cc:

Description

If Licq is started with a basedir that resides on a disk without any space left, it crashes when going online. This is with licq and kde-gui from svn r4492. Don't know if the crash is in licq or in kde-gui.

If the space is filled up when Licq is already online there is no crash.

Steps to reproduce (assuming ramdisk is available):

root# mke2fs -m 0 /dev/ram0
root# mkdir /mnt/ramdisk
root# mount /dev/ram0 /mnt/ramdisk
root# chown user.group /mnt/ramdisk
user# licq -b /mnt/ramdisk/test
<add account, go online, make sure it works, then quit>
user# cat /dev/zero > /mnt/ramdisk/zeros
user# licq -b /mnt/ramdisk/test
<go online> => crash!

Output:

22:42:00: [ERR] Error opening '/mnt/ramdisk/test//owner.Licq' for writing.
                See log for details.
22:42:00: [ERR] Error opening '/mnt/ramdisk/test//owner.Licq' for writing.
                See log for details.

Attachments

licq-show-errors.patch (0.8 kB) - added by erijo 2 years ago.

Change History

Changed 2 years ago by erijo

Changed 2 years ago by erijo

I would like to apply attachment:licq-show-errors.patch so the user at least has a chance of seeing fatal errors.

Note: See TracTickets for help on using tickets.