>>>>> "Amir" == Amir Karger <[EMAIL PROTECTED]> writes:

>> trying to import a LaTeX-File (with included sub-LaTeX-files) as
>> "normal" user from a mounted DOS (FAT16)-partition /C on which I
>> don't have a write permission (read-only) crashes the ext2-fs: It
>> produces a huge (I mean a really huge) .xsession-errors-file in my
>> home-directory until the root-disk (ext2) is full. Even killing LyX
>> doesn't stop the fill-up (up to 400MB).  Deleting the
>> .xsession-errors-file doesn't liberate the as full-marked blocks. A
>> "diff" between the diskusage (du / as root) before and after
>> importing the LaTeX-File only shows minor differences. A e2fsck-run
>> as root corrects the ext2-fs with a lot of errors (which could be
>> fixed).  It's a known problem of LyX or ext2-fs ?

Hello,

I don't think that LyX should be able to cause corruption of ext2fs
without a bug of ext2fs. Did you have to switch of the machine without
syncing the disks? This could explain what you saw.

Another point: do you have an idea of what was in your .xsession-error
file?

Amir> I can't tell you what's causing the crash, but I looked at the
Amir> reLyX source, and it turns out that the idiot who coded it up
Amir> (OK, me) didn't check for errors when opening the temporary
Amir> files it creates. I didn't get 400 MB of errors, but that's
Amir> probably system-dependent. I did get a bunch of errors followed
Amir> by a reLyX crash. In your case, it may be a LyX bug (see below)
Amir> combined with a reLyX bug combined with a Perl or ext2-fs bug.

That's indeed something to fix.

Amir> This is certainly better than crashing your computer. OTOH, it
Amir> doesn't really fix your problem, since it means you won't be
Amir> able to import TeX files.  IMO, this is a LyX bug. It certainly
Amir> ought to be legal to import from a or directory, and no matter
Amir> how I change reLyX, I can't solve that problem.

Hmmm, I think that reLyX should put its temporary files in /tmp just
like any program does. What is your problem with that?

Amir> I'll check in this & some other minor changes for sure before
Amir> 1.0, even if I can't get the figure stuff in. I assume Lars will
Amir> give us a "make sure to check in your last patches" warning?

Amir, make sure to correct the address of the mailing list in
reLyX.pod.

JMarc

Reply via email to