Issue 65313

Summary: Loop on opening file in 2-column format
Product: Writer Reporter: ejprinz <ejprinz>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P2 CC: issues
Version: 680m167   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: http://home.austin.rr.com/prinz/2006_0429_try3.odt
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
File which crashes even OpenOffice 3.0.0 (Debian Linux Experimental) none

Description ejprinz 2006-05-12 03:57:43 UTC
I have a file in two-column format with embedded graphics. I had intermittent
crashes with this file. I managed to save it a "last" time, since then opening
the file crashes swriter. I think I embedded all graphics as "gdi metafile"
which previously worked. The error occurs in the Windows version of OOo 2.0.2,
the Fedora Core Linux 5 latest version 2.0.2, and also in the 680m167 download.

I don't think the comments about the radeon driver have anything to do with the
bug, since I can work with other files while getting these comments, and since I
get the same errors on a different Linux workstation (Fedora Core 5) with the
Nvidia drivers.

Here is my attempt at a debugging session:

1. Install src680m167 in /opt/ooo-dev2.0
2. Start with:
[erwin@tiger ~]$ gdb /opt/ooo-dev2.0/program/soffice.bin
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) handle SIG33 nostop noprint
Signal        Stop      Print   Pass to program Description
SIG33         No        No      Yes             Real-time event 33
(gdb) handle SIGPWR nostop noprint
Signal        Stop      Print   Pass to program Description
SIGPWR        No        No      Yes             Power fail/restart
(gdb) handle SIGXCPU nostop noprint
Signal        Stop      Print   Pass to program Description
SIGXCPU       No        No      Yes             CPU time limit exceeded
(gdb) run -writer
Starting program: /opt/ooo-dev2.0/program/soffice.bin -writer
Reading symbols from shared object read from target memory...
Loaded system supplied DSO at 0x6a8000
[Thread debugging using libthread_db enabled]
[New Thread -1208784528 (LWP 6353)]
[New Thread 28998560 (LWP 6356)]
libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so:
undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r200_dri.so
[New Thread 145288096 (LWP 6358)]
[New Thread 155777952 (LWP 6359)]
[New Thread -1224610912 (LWP 6360)]
[New Thread -1251087456 (LWP 6369)]
[New Thread -1261638752 (LWP 6370)]
[Thread -1261638752 (LWP 6370) exited]
[New Thread -1261638752 (LWP 6373)]
[Thread -1261638752 (LWP 6373) exited]
[New Thread 100584352 (LWP 6375)]
[New Thread -1261638752 (LWP 6377)]
[New Thread -1355289696 (LWP 6378)]
[Thread -1261638752 (LWP 6377) exited]
[Thread -1355289696 (LWP 6378) exited]
[New Thread -1355289696 (LWP 6380)]
[Thread -1355289696 (LWP 6380) exited]
Program terminated with signal SIGKILL, Killed.
The program no longer exists.
(gdb) backtrace
No stack.
(gdb) run -writer
warning: cannot close "shared object read from target memory": File in wrong format
Starting program: /opt/ooo-dev2.0/program/soffice.bin -writer
Reading symbols from shared object read from target memory...
Loaded system supplied DSO at 0x6a8000
[Thread debugging using libthread_db enabled]
[New Thread -1208333968 (LWP 6426)]
[New Thread 50109344 (LWP 6427)]
libGL error: dlopen /usr/lib/dri/r200_dri.so failed (/usr/lib/dri/r200_dri.so:
undefined symbol: _glapi_add_dispatch)
libGL error: unable to find driver: r200_dri.so
[New Thread 114428832 (LWP 6428)]
[New Thread 145288096 (LWP 6429)]
[New Thread -1224160352 (LWP 6430)]
[New Thread -1250636896 (LWP 6432)]
[New Thread -1261188192 (LWP 6434)]
[Thread -1261188192 (LWP 6434) exited]
[New Thread -1261188192 (LWP 6435)]
[Thread -1261188192 (LWP 6435) exited]
[New Thread 62626720 (LWP 6439)]
[New Thread -1261188192 (LWP 6440)]
[New Thread -1354839136 (LWP 6441)]
[Thread -1261188192 (LWP 6440) exited]
[Thread -1354839136 (LWP 6441) exited]
[New Thread -1354839136 (LWP 6442)]
[Thread -1354839136 (LWP 6442) exited]


Program received signal SIGINT, Interrupt.
[Switching to Thread -1208333968 (LWP 6426)]
---Type <return> to continue, or q <return> to quit---Quit
(gdb) backtrace
#0  0xb3c957b7 in SwFrmFmt::MakeGraphic ()
   from /opt/ooo-dev2.0/program/libsw680li.so
#1  0xb3c4dc75 in non-virtual thunk to SwFmtPageDesc::Modify(SfxPoolItem*, SfxPo
olItem*) () from /opt/ooo-dev2.0/program/libsw680li.so
#2  0xb36cf440 in ?? ()
#3  0x0000025e in ?? ()
#4  0x00c75ccc in ?? () from /opt/ooo-dev2.0/program/libuno_sal.so.3
#5  0xb394bd08 in ?? ()
#6  0x00011c8e in ?? ()
#7  0xbffc7060 in ?? ()
#8  0x00ae6d45 in rtl_freeMemory ()
   from /opt/ooo-dev2.0/program/libuno_sal.so.3
#9  0xb3c36228 in non-virtual thunk to SwFmtPageDesc::Modify(SfxPoolItem*, SfxPo
olItem*) () from /opt/ooo-dev2.0/program/libsw680li.so
#10 0xbffc70b4 in ?? ()
#11 0xb3963110 in ?? ()
#12 0xb394bd08 in ?? ()
#13 0xb41efc60 in typeinfo for SwFrmFmt ()
   from /opt/ooo-dev2.0/program/libsw680li.so
#14 0x007c000c in Storage::Equals ()
   from /opt/ooo-dev2.0/program/libsot680li.so
#15 0xb3c34fe7 in non-virtual thunk to SwFmtPageDesc::Modify(SfxPoolItem*, SfxPo
olItem*) () from /opt/ooo-dev2.0/program/libsw680li.so
---Type <return> to continue, or q <return> to quit---
#16 0xb36cf440 in ?? ()
#17 0x00000000 in ?? ()
(gdb)

Program received signal SIGINT, Interrupt.
0xb3c5c5a1 in non-virtual thunk to SwFmtPageDesc::Modify(SfxPoolItem*,
SfxPoolItem*) () from /opt/ooo-dev2.0/program/libsw680li.so
(gdb) backtrace
#0  0xb3c5c5a1 in non-virtual thunk to SwFmtPageDesc::Modify(SfxPoolItem*,
SfxPoolItem*) () from /opt/ooo-dev2.0/program/libsw680li.so
#1  0xb39644c0 in ?? ()
#2  0xbffc6e3c in ?? ()
#3  0xb3c67ee6 in non-virtual thunk to SwFmtPageDesc::Modify(SfxPoolItem*,
SfxPoolItem*) () from /opt/ooo-dev2.0/program/libsw680li.so
#4  0xbffc6e20 in ?? ()
#5  0xb39621e0 in ?? ()
#6  0xaf47f38c in ?? ()
#7  0x00000000 in ?? ()
(gdb) quit


I put the offending file on the web URL shown above. Pls send email to
ejprinz@austin.rr.com if you can't get to it.

Note that this may be similar to my issue 59836 since in both cases the
"Modify(SfxPoolItem*" shows up.

Let me know if I can help in some way debugging it. This bug required me to
revert to "LaTeX" to write my paper...
Comment 1 michael.ruess 2006-05-12 12:08:45 UTC
MRU->OD: open the document, after it is displayed Writer will loop after about
10 secs. Or even start the reformatting manually.
The document is in two-column layout and contains many objects.
Comment 2 Oliver-Rainer Wittmann 2006-05-15 14:12:30 UTC
apply target OOo 2.x
Comment 3 Oliver-Rainer Wittmann 2008-01-11 14:01:10 UTC
retarget to OOo 3.0 due to limited resources
Comment 4 Oliver-Rainer Wittmann 2008-04-28 10:46:08 UTC
Due to limited resources re-target to OOo 3.x
Comment 5 liuyuhua 2008-10-27 10:11:52 UTC
pelease send me the document about the issue65313.Thank you very much.
Comment 6 Oliver-Rainer Wittmann 2008-11-11 12:35:48 UTC
OD -> liuyuhua: Sorry, I have not got the document and the provided URL does not
work any more.

OD -> ejprinz: Can you again provide the document? Best would be to attach it
directly to this issue. Thanks in advance.
Comment 7 ejprinz 2008-11-12 02:49:54 UTC
Created attachment 57909 [details]
File which crashes even OpenOffice 3.0.0 (Debian Linux Experimental)
Comment 8 ejprinz 2008-11-12 02:51:10 UTC
I attached the file which crashes even OpenOffice 3.0.0 to the issue. This is
the Debian Linux version from the experimental repository. I can try the Windows
version tomorrow. Thanks for fixing this issue.
Comment 9 Marcus 2017-05-20 11:13:15 UTC
Reset assigne to the default "issues@openoffice.apache.org".