https://bugs.freedesktop.org/show_bug.cgi?id=69036
Priority: medium
Bug ID: 69036
Assignee: [email protected]
Summary: segfault in osl_acquireMutex
Severity: normal
Classification: Unclassified
OS: All
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.2.0.0.alpha0+ Master
Component: Libreoffice
Product: LibreOffice
Created attachment 85355
--> https://bugs.freedesktop.org/attachment.cgi?id=85355&action=edit
gdb on the core file
STR, short version:
(*) Create database
(*) Create labels document
(*) Close labels document
(*) Close database. Program segfaults.
In more detail, to reproduce the problem:
( 1) Download filing-labels.ods, the first attachment to bug 68912
"Next Record".
( 2) Run LibreOffice from the command line with options
--norestore --base.
Program displays "Database Wizard" step 1 "Select database".
( 3) Select "What do you want to do?" = "Connect to an existing
database", in the dropdown list select Spreadsheet, and click
<Next>.
Program displays "Database Wizard" step 2 "Set up Spreadsheet
connection".
( 4) Browse to the downloaded file and <Open> it.
The Location control of "Database Wizard" shows the full pathname
of the file.
( 5) Click <Next>.
Program displays "Database Wizard" step 3 "Save and proceed" with
"Yes, register the database for me" and "Open the database for
editing selected".
( 6) Click <Finish>.
Program displays Save dialog.
( 7) For Name type /tmp/a.odb and click <Save>.
Program displays the database window "a.odb ...".
( 8) Take menu options File > New > Labels.
Program displays Labels dialog open at tab Labels.
( 9) In the dropdown list Database, select a; in the dropdown list
Table select Sheet1; in the dropdown list "Database field" select
Label,; and click <New Document>.
Program displays Writer window "Untitled 1 ...".
(10) Close window "Untitled 1 ...".
Program presents dialog "Save document?".
(11) Click <Close without saving>.
Program returns focus to "a.odb ...".
(12) Close window "a.odb...".
Program segfaults. In thread 1, stack frame 0 has a
improbable-looking parameter:
__pthread_mutex_lock (mutex=0x99999999)
The first frame withing LibreOffice itself is ...
#2 0x00843d1c in osl_acquireMutex (Mutex=0x99999999)
at /home/terry/lo_hacking/git/libo2/sal/osl/unx/mutex.c:114
nRet = 0
pMutex = 0x99999999
My LibreOffice in master commit 9e9693b, fetched 2013-09-03, configured with
--enable-option-checking=fatal
--enable-dbgutil
--enable-crashdump
--without-system-postgresql
--without-myspell-dicts
--without-help
--with-extra-buildid
--without-doxygen
--with-external-tar=/home/terry/lo_hacking/git/src
--disable-werror
built and executing on ubuntu-natty (11.04) 32-bit:
$ uname -a
Linux cougar-natty 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 18:00:43 UTC
2012 i686 athlon i386 GNU/Linux
$ gcc --version
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5)
(6b24-1.11.5-0ubuntu1~11.04.1)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
I think bug 55566 "open two odb files with macro at "open document"
event -> crash" may be the same bug. It differs in that its crash
happens during open rather than close. It is similar in that:
(*) comment 1 mentions an .odb plus an .odt, like this report
(*) comment 12, frame 2 shows osl_acquireMutex.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs