bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segment fault rm corrupt files


From: Bob Proulx
Subject: Re: Segment fault rm corrupt files
Date: Mon, 16 Jul 2007 21:46:00 -0600
User-agent: Mutt/1.5.9i

Reg. Charney wrote:
> On a number of occasions, Konqueror has crashed and produced  a file 
> named something like: /tmp/kde-$USER/konqueror-crash-XXXXXX.log
>
> However, the file has an unknown type, size, and permissions.

This makes no sense in the context of Unix filesystems.  Please run
the following command and post the output to the mailing list.  You
may need to adjust the file globs to match.

  ls -ld /tmp/kde-* /tmp/kde-*/konqueror-crash-*.log

That will show us the file type, size and permissions.  Or it will
have an error which will also be informative.

> As part of the /etc/rc.sysinit file, I have a rm command of the form:
> 
> rm -rf /tmp/kde-$USER/*

Typically systems will purge the contents of /tmp on a reboot.  I
think Fedora does this but can't check at the moment.  In which case
the above command is not needed.

Regardless of that the $USER is an environment variable.  Inside of
the /etc/rc.sysinit script that will almost certainly be "root".  I
don't think this will match the user that was actually running
konqueror at the moment that the core file was created.  Therefore it
will be very unlikely to actually match any files.

> Because the type of these crash files are unknown, the rm command fails 
> with a segment fault on my Intel IA86 machine (a MacBook running 
> Parallels Fedora Core 6 Linux under Mac OS X (10.4)).

It would be good if you could show us the exact output.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]