Opened 16 years ago

Closed 16 years ago

#4689 closed defect (worksforme)

LyX crash when opening file from a NTFS volume - maybe encoding problem

Reported by: sven@… Owned by: lasgouttes
Priority: high Milestone:
Component: general Version: 1.5.3
Severity: critical Keywords: crash
Cc: j.spitzmueller@…

Description

Hi,
this is a forward of #473077 you can find here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473077

The user would like to open a file from a NFTS volumen he mounted in his Linux
system. LyX crashes with the following error message:

"terminate called after throwing an instance of
'boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::string,
boost::filesystem::path_traits> >'

what(): boost::filesystem::exists

Abandon"

strace looks like this:

stat64("/mnt/windows/Documents and Settings/ideas/Mes
documents/Projet/Congrès edsys 2008/edsys2008.lyx", 0xbf9dc24c) = -1 EILSEQ
(Invalid or incomplete multibyte or wide character)
futex(0xb7428ce8, 0x81 /* FUTEX_??? */, 2147483647) = 0
write(2, "terminate called after throwing "..., 48terminate called after
throwing an instance of ') = 48
write(2, "boost::filesystem::basic_filesys"...,
118boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::string,
boost::filesystem::path_traits> >) = 118
write(2, "\'\n", 2'
) = 2
write(2, " what(): ", 11 what(): ) = 11
write(2, "boost::filesystem::exists", 25boost::filesystem::exists) = 25
write(2, "\n", 1
) = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(3264, 3264, SIGABRT)

Please use the link to the bug mentioned above to read the full log.

Change History (4)

comment:1 by Uwe Stöhr, 16 years ago

Keywords: crash added
Severity: normalcritical

comment:2 by lasgouttes, 16 years ago

Does it happen also in 1.5.4? There have been several bugs fixed in this area:

  • Fix crashes after LyX tried to access files on non-existing or unmounted drives (bugs 4052, 4440, 4534).

comment:3 by sven@…, 16 years ago

Sadly I couldn't get something more out of the reporter. Actually he didn't even
answer to my mail. :(

But due to some problems with the matrix someone from the Ubuntu world recently
leaked into the Debian universe with the same problem and 1.5.3. We'll try to
get him to use something sane and maybe test 1.5.4 but I'm not sure if that's
possible because Ubuntu is in the middle of a freeze.
Just for the sake of completness it happend here:
http://lists.alioth.debian.org/pipermail/pkg-lyx-devel/2008-April/002501.html

comment:4 by Juergen Spitzmueller, 16 years ago

Cc: j.spitzmueller@… added
Resolution: worksforme
Status: newclosed

I'm sure this is fixed in 1.5.4. We fixed all filesystem::exists exception
problems, and this one is clearly one of them. Please reopen if someone can
reproduce with 1.5.4.

Note: See TracTickets for help on using tickets.