Issue 14133 - Empty "script.xlc" causes OOo to crash on every save
Summary: Empty "script.xlc" causes OOo to crash on every save
Status: CLOSED DUPLICATE of issue 12104
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.0.2
Hardware: PC Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 1.1 RC
Assignee: thorsten.martens
QA Contact: issues@framework
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-05-05 19:06 UTC by andid
Modified: 2010-11-11 03:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Symbolic stack traceback with ooo1.1beta1 on rh8 x86 (5.17 KB, text/plain)
2003-05-10 07:25 UTC, dankegel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description andid 2003-05-05 19:06:48 UTC
Since yesterday OOo crashed everytime I wanted to save a document (presentation,
spreadsheet, text etc.) in native OOo or old StarOffice format without any
message. Saving in "foreign" formats (M$ etc.) worked.

Having deleted all possible temporary files, I did strace and last action was
accessing a "script.xlc" file in "~/.openoffice/user/basic" I checked this file
(it seems to have been generated or last changed yesterday) and it was empty.
Oo.o segfaults and exits accessing this file (read.
I moved the file away and everything is working fine again?!

I have no clue about this file (did not create it intentionally for sure) but I
think OOo should not crash with a segfault on saving anyway...
I'm a "power user" for years now (1.0.2 since one month) and haven't had this
problem yet at all... so I'm giving it a P4 for now.

Last lines of strace follow:
open("/home/andi/Shared/studium/rup/uebung",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 28
fstat64(28, {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
fcntl64(28, F_SETFD, FD_CLOEXEC)        = 0
close(28)                               = 0
stat64("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", {st_mode=S_IFREG|0644,
st_size=0, ...}) = 0
open("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", O_RDWR) = 28
close(28)                               = 0
gettimeofday({1052157187, 224119}, NULL) = 0
time(NULL)                              = 1052157187
time(NULL)                              = 1052157187
stat64("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", {st_mode=S_IFREG|0644,
st_size=0, ...}) = 0
open("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", O_RDWR) = 28
close(28)                               = 0
access("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", F_OK) = 0
lstat64("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", {st_mode=S_IFREG|0644,
st_size=0, ...}) = 0
access("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", W_OK) = 0
access("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", X_OK) = -1 EACCES
(Permission denied)
stat64("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", {st_mode=S_IFREG|0644,
st_size=0, ...}) = 0
open("/home/andi/Shared/studium/rup/uebung/svlbk.tmp", O_RDONLY) = 28
lseek(28, 0, SEEK_CUR)                  = 0
lseek(28, 0, SEEK_END)                  = 0
lseek(28, 0, SEEK_CUR)                  = 0
lseek(28, 0, SEEK_SET)                  = 0
time(NULL)                              = 1052157187
time(NULL)                              = 1052157187
gettimeofday({1052157187, 231277}, NULL) = 0
times({tms_utime=2058, tms_stime=119, tms_cutime=10, tms_cstime=6}) = 432910
open("/usr/lib/openoffice/program/libfileacc.so", O_RDONLY) = 29
read(29, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\217"..., 1024) = 1024
fstat64(29, {st_mode=S_IFREG|0755, st_size=82080, ...}) = 0
old_mmap(NULL, 81392, PROT_READ|PROT_EXEC, MAP_PRIVATE, 29, 0) = 0x47f89000
mprotect(0x47f9c000, 3568, PROT_NONE)   = 0
old_mmap(0x47f9c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 29,
0x13000) = 0x47f9c000
close(29)                               = 0
access("/home/andi/.openoffice/user/basic/script.xlc", F_OK) = 0
lstat64("/home/andi/.openoffice/user/basic/script.xlc", {st_mode=S_IFREG|0664,
st_size=0, ...}) = 0
access("/home/andi/.openoffice/user/basic/script.xlc", W_OK) = 0
access("/home/andi/.openoffice/user/basic/script.xlc", X_OK) = -1 EACCES
(Permission denied)
stat64("/home/andi/.openoffice/user/basic/script.xlc", {st_mode=S_IFREG|0664,
st_size=0, ...}) = 0
open("/home/andi/.openoffice/user/basic/script.xlc", O_RDONLY) = 29
read(29, "", 16384)                     = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Comment 1 dankegel 2003-05-10 07:14:34 UTC
Sure enough.  Reproduced in OpenOffice1.1beta1 on RH8 x86.
The crash happened right after typing the
first letter of the filename in the Save As box.
Thanks!
Comment 2 dankegel 2003-05-10 07:25:12 UTC
Created attachment 6112 [details]
Symbolic stack traceback with ooo1.1beta1 on rh8 x86
Comment 3 Martin Hollmichel 2003-05-14 12:14:58 UTC
reset prio and target
Comment 4 philipp.lohmann 2003-05-23 09:20:05 UTC
The appended stack does not seem to be from the thread that aborted;
could you please confirm and eventually append the crashed thread's
stack ?
Comment 5 philipp.lohmann 2003-05-23 09:23:53 UTC
sorry, i didn't mean eventually but possibly.
Comment 6 thorsten.martens 2003-05-23 10:27:10 UTC
Duplicate to #12104 (#11622 and # 12697 are also related to this one).

*** This issue has been marked as a duplicate of 12104 ***
Comment 7 thorsten.martens 2003-05-23 10:27:33 UTC
.
Comment 8 versurppersio 2010-11-11 03:17:12 UTC
Created attachment 74109