Bug 39862 - Saving freshly opened rtf as rtf on MacOS immediately crashes LibreOffice
Summary: Saving freshly opened rtf as rtf on MacOS immediately crashes LibreOffice
Status: CLOSED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.2 release
Hardware: x86 (IA32) macOS (All)
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-05 09:57 UTC by Volker Blum
Modified: 2012-03-19 13:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
freshly created rtf file by MS Word, untitled. Just a table and some text. (31.33 KB, text/rtf)
2011-08-05 16:12 UTC, Volker Blum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Blum 2011-08-05 09:57:13 UTC
The subject line says it.

I have a fresh 3.4.2 download, opened (as first action) an rtf document created by someone else, tried to save it in another folder under the same name BUT as rtf.

LO immediately crashes with a floating point exception. 

I can provide details (Apple provides a trace) but this does not happen with 3.3 . Neither with other applications.

If this is general, I would, frankly, consider this even more grave than I chose above.

Problem is that anyone collaborating with others is likely to run into the issue upon their first action, and will find LO unusable.

I will have to revert to 3.3 because I need to work with other people's formats. Hope it's just an isolated problem.

thanks!
Comment 1 noname 2011-08-05 12:35:44 UTC
Can you supply a test file ?
Comment 2 noname 2011-08-05 12:41:31 UTC
That's because on my system, reloading a freshly created rtf file doesn't crash, so -> unconfirmed with [LibreOffice 3.4.2 OOO340m1 (Build:203)].
Comment 3 Volker Blum 2011-08-05 16:03:30 UTC
I was actually saving a rtf file that was created by someone else, using "Save as", file sent to me by someone else that could be opened all right.

Unfortunately, I can not share the file in question.

The file is definitely not pathological in any other app (LO 3.3, TextEdit / Mac), there "save as" works.

I can add a trace, though, following below. You can see that it appears to run into trouble with an MS Word created table ... ?

Is there anything to be learned from the below, for you?

[apologies for long message, and apologies in case it appear twice - I tried to respond to email once, that does not seem to have worked yet.]

thanks!!
VB


Process:         soffice [83990]
Path:            /Applications/LibreOffice.app/Contents/MacOS/soffice
Identifier:      org.libreoffice.script
Version:         3.4.2 (???)
Code Type:       X86 (Native)
Parent Process:  launchd [233]

Date/Time:       2011-08-05 15:54:18.075 -0700
OS Version:      Mac OS X 10.6.8 (10K549)
Report Version:  6

Interval Since Last Report:          376560 sec
Crashes Since Last Report:           4
Per-App Interval Since Last Report:  1155 sec
Per-App Crashes Since Last Report:   4
Anonymous UUID:                      11AD5384-9C18-4061-B433-B543E8C24807

Exception Type:  EXC_ARITHMETIC (SIGFPE)
Exception Codes: EXC_I386_DIV (divide by zero)
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libmswordmxi.dylib            	0x27573561 RtfAttributeOutput::TableDefinition(boost::shared_ptr<ww8::WW8TableNodeInfoInner>) + 1361
1   libmswordmxi.dylib            	0x27570b12 RtfAttributeOutput::StartTableRow(boost::shared_ptr<ww8::WW8TableNodeInfoInner>) + 66
2   libmswordmxi.dylib            	0x27570eeb RtfAttributeOutput::StartParagraph(boost::shared_ptr<ww8::WW8TableNodeInfo>) + 571
3   libmswordmxi.dylib            	0x275b22cd MSWordExportBase::OutputTextNode(SwTxtNode const&) + 125
4   libmswordmxi.dylib            	0x275c67cd MSWordExportBase::WriteText() + 141
5   libmswordmxi.dylib            	0x275848a6 RtfExport::ExportDocument_Impl() + 1046
6   libmswordmxi.dylib            	0x275cb3af MSWordExportBase::ExportDocument(bool) + 527
7   libmswordmxi.dylib            	0x275869dd RtfExportFilter::filter(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 893
8   libwriterfiltermxi.dylib      	0x26daec54 component_getFactory + 22436
9   libsfxmxi.dylib               	0x005e2f42 SfxObjectShell::ExportTo(SfxMedium&) + 3938
10  libsfxmxi.dylib               	0x005e68af SfxObjectShell::SaveTo_Impl(SfxMedium&, SfxItemSet const*) + 8191
11  libsfxmxi.dylib               	0x005e9b0e SfxObjectShell::PreDoSaveAs_Impl(String const&, String const&, SfxItemSet*) + 782
12  libsfxmxi.dylib               	0x005ea45a SfxObjectShell::CommonSaveAs_Impl(INetURLObject const&, String const&, SfxItemSet*) + 1530
13  libsfxmxi.dylib               	0x005cad3d SfxObjectShell::APISaveAs_Impl(String const&, SfxItemSet*) + 573
14  libsfxmxi.dylib               	0x0062e59c SfxBaseModel::impl_store(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, unsigned char) + 1756
15  libsfxmxi.dylib               	0x00631124 SfxBaseModel::storeAsURL(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 388
16  libsfxmxi.dylib               	0x005acb1a SfxStoringHelper::GUIStoreModel(com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&, rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&, unsigned char, rtl::OUString, unsigned short) + 3674
17  libsfxmxi.dylib               	0x005cf969 SfxObjectShell::ExecFile_Impl(SfxRequest&) + 4985
18  libsfxmxi.dylib               	0x0047fc62 SfxDispatcher::Call_Impl(SfxShell&, SfxSlot const&, SfxRequest&, unsigned char) + 530
19  libsfxmxi.dylib               	0x00473418 SfxBindings::Execute_Impl(SfxRequest&, SfxSlot const*, SfxShell*) + 104
20  libsfxmxi.dylib               	0x00499897 SfxDispatchController_Impl::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&, com::sun::star::uno::Reference<com::sun::star::frame::XDispatchResultListener> const&) + 4903
21  libsfxmxi.dylib               	0x0049a32f SfxOfficeDispatch::dispatch(com::sun::star::util::URL const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&) + 367
22  libfwkmxi.dylib               	0x1a7314ad framework::MenuBarManager::Select(Menu*) + 893
23  libvclmxi.dylib               	0x018d84e2 Menu::Select() + 98
24  libvclmxi.dylib               	0x018d1f78 Menu::IsMenuVisible() const + 264
25  libvclmxi.dylib               	0x0195681f vcl::LazyDeletor<Window>::~LazyDeletor() + 22239
26  libvclmxi.dylib               	0x01a21ec3 SalGetDesktopEnvironment() + 1043
27  libvclmxi.dylib               	0x01716180 Application::Yield(bool) + 96
28  libvclmxi.dylib               	0x0171626c Application::Execute() + 76
29  libsofficeapp.dylib           	0x0006a785 0x58000 + 75653
30  libvclmxi.dylib               	0x0171e268 DeInitVCL() + 3624
31  libvclmxi.dylib               	0x01a2181b component_getFactory + 209547
32  libvclmxi.dylib               	0x01a26c4b SalGetDesktopEnvironment() + 20891
33  com.apple.AppKit              	0x95ced253 -[NSApplication run] + 917
34  com.apple.AppKit              	0x95ce5289 NSApplicationMain + 574
35  libvclmxi.dylib               	0x01a225a7 SalGetDesktopEnvironment() + 2807
36  libvclmxi.dylib               	0x0171e311 SVMain() + 17
37  libsofficeapp.dylib           	0x00096f65 soffice_main + 245
38  org.libreoffice.script        	0x00001ebe main + 30
39  org.libreoffice.script        	0x00001822 start + 258
40  org.libreoffice.script        	0x00001749 start + 41

Thread 1:
0   libSystem.B.dylib             	0x93934b5a semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x939626e1 _pthread_cond_wait + 1066
2   libSystem.B.dylib             	0x939ab26c pthread_cond_timedwait + 47
3   libuno_sal.dylib.3            	0x00035e38 rtl_cache_create + 728
4   libSystem.B.dylib             	0x93962259 _pthread_start + 345
5   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 2:  Dispatch queue: com.apple.libdispatch-manager
0   libSystem.B.dylib             	0x9395b382 kevent + 10
1   libSystem.B.dylib             	0x9395ba9c _dispatch_mgr_invoke + 215
2   libSystem.B.dylib             	0x9395af59 _dispatch_queue_invoke + 163
3   libSystem.B.dylib             	0x9395acfe _dispatch_worker_thread2 + 240
4   libSystem.B.dylib             	0x9395a781 _pthread_wqthread + 390
5   libSystem.B.dylib             	0x9395a5c6 start_wqthread + 30

Thread 3:
0   libSystem.B.dylib             	0x939fc096 accept$NOCANCEL$UNIX2003 + 10
1   libSystem.B.dylib             	0x939faeff accept + 32
2   libuno_sal.dylib.3            	0x00011d3a osl_acceptPipe + 58
3   libsofficeapp.dylib           	0x00093aae 0x58000 + 244398
4   libsofficeapp.dylib           	0x00095ca2 0x58000 + 253090
5   libuno_sal.dylib.3            	0x0000c1b9 osl_setThreadName + 569
6   libSystem.B.dylib             	0x93962259 _pthread_start + 345
7   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 4:  com.apple.CFSocket.private
0   libSystem.B.dylib             	0x93953ac6 select$DARWIN_EXTSN + 10
1   com.apple.CoreFoundation      	0x90b27c83 __CFSocketManager + 1091
2   libSystem.B.dylib             	0x93962259 _pthread_start + 345
3   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 5:  Java: Exception Handler Thread
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libSystem.B.dylib             	0x939a0c78 mach_msg_server + 520
3   libjvm.dylib                  	0x2f50c0eb jio_snprintf + 43803
4   libjvm.dylib                  	0x2f50bf80 jio_snprintf + 43440
5   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
6   libSystem.B.dylib             	0x93962259 _pthread_start + 345
7   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 6:  Java: Gang worker#0 (Parallel GC Threads)
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f51fcbe jio_vsnprintf + 333
8   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
9   libSystem.B.dylib             	0x93962259 _pthread_start + 345
10  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 7:  Java: Gang worker#1 (Parallel GC Threads)
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f51fcbe jio_vsnprintf + 333
8   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
9   libSystem.B.dylib             	0x93962259 _pthread_start + 345
10  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 8:  Java: Gang worker#2 (Parallel GC Threads)
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f51fcbe jio_vsnprintf + 333
8   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
9   libSystem.B.dylib             	0x93962259 _pthread_start + 345
10  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 9:  Java: Gang worker#3 (Parallel GC Threads)
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f51fcbe jio_vsnprintf + 333
8   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
9   libSystem.B.dylib             	0x93962259 _pthread_start + 345
10  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 10:  Java: Concurrent Mark-Sweep GC Thread
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e599 JVM_RaiseSignal + 365585
3   libjvm.dylib                  	0x2f77e93c JVM_RaiseSignal + 366516
4   libjvm.dylib                  	0x2f77269b JVM_RaiseSignal + 316691
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f5ba0c9 JVM_Close + 13205
8   libjvm.dylib                  	0x2f5ba031 JVM_Close + 13053
9   libjvm.dylib                  	0x2f525d73 jio_vsnprintf + 25090
10  libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
11  libSystem.B.dylib             	0x93962259 _pthread_start + 345
12  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 11:  Java: VM Thread
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e599 JVM_RaiseSignal + 365585
3   libjvm.dylib                  	0x2f77e93c JVM_RaiseSignal + 366516
4   libjvm.dylib                  	0x2f77269b JVM_RaiseSignal + 316691
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f58c564 JVM_Lseek + 149378
8   libjvm.dylib                  	0x2f58c214 JVM_Lseek + 148530
9   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
10  libSystem.B.dylib             	0x93962259 _pthread_start + 345
11  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 12:  Java: Reference Handler
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f77a82c JVM_RaiseSignal + 349860
5   libjvm.dylib                  	0x2f7b9b5f JVM_RaiseSignal + 608727
6   libjvm.dylib                  	0x2f59950a JVM_MonitorWait + 196
7   libjvmlinkage.dylib           	0x2f87ee75 JVM_MonitorWait + 69
8   ???                           	0x3100b9d9 0 + 822131161
9   ???                           	0x31003e31 0 + 822099505
10  ???                           	0x31003e31 0 + 822099505
11  ???                           	0x31001374 0 + 822088564
12  libjvm.dylib                  	0x2f58d7aa JVM_Lseek + 154056
13  libjvm.dylib                  	0x2f58d544 JVM_Lseek + 153442
14  libjvm.dylib                  	0x2f599341 JVM_StartThread + 2726
15  libjvm.dylib                  	0x2f599246 JVM_StartThread + 2475
16  libjvm.dylib                  	0x2f5991d4 JVM_StartThread + 2361
17  libjvm.dylib                  	0x2f599048 JVM_StartThread + 1965
18  libjvm.dylib                  	0x2f598ea7 JVM_StartThread + 1548
19  libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
20  libSystem.B.dylib             	0x93962259 _pthread_start + 345
21  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 13:  Java: Finalizer
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f77a82c JVM_RaiseSignal + 349860
5   libjvm.dylib                  	0x2f7b9b5f JVM_RaiseSignal + 608727
6   libjvm.dylib                  	0x2f59950a JVM_MonitorWait + 196
7   libjvmlinkage.dylib           	0x2f87ee75 JVM_MonitorWait + 69
8   ???                           	0x3100b9d9 0 + 822131161
9   ???                           	0x31003e31 0 + 822099505
10  ???                           	0x31003f97 0 + 822099863
11  ???                           	0x31003f97 0 + 822099863
12  ???                           	0x31001374 0 + 822088564
13  libjvm.dylib                  	0x2f58d7aa JVM_Lseek + 154056
14  libjvm.dylib                  	0x2f58d544 JVM_Lseek + 153442
15  libjvm.dylib                  	0x2f599341 JVM_StartThread + 2726
16  libjvm.dylib                  	0x2f599246 JVM_StartThread + 2475
17  libjvm.dylib                  	0x2f5991d4 JVM_StartThread + 2361
18  libjvm.dylib                  	0x2f599048 JVM_StartThread + 1965
19  libjvm.dylib                  	0x2f598ea7 JVM_StartThread + 1548
20  libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
21  libSystem.B.dylib             	0x93962259 _pthread_start + 345
22  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 14:  Java: Surrogate Locker Thread (Concurrent GC)
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50aba4 jio_snprintf + 38356
7   libjvm.dylib                  	0x2f5a99d7 JVM_IsPrimitiveClass + 5991
8   libjvm.dylib                  	0x2f599048 JVM_StartThread + 1965
9   libjvm.dylib                  	0x2f598ea7 JVM_StartThread + 1548
10  libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
11  libSystem.B.dylib             	0x93962259 _pthread_start + 345
12  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 15:  Java: Signal Dispatcher
0   libSystem.B.dylib             	0x93934b36 semaphore_wait_trap + 10
1   libjvm.dylib                  	0x2f5aa209 JVM_IsPrimitiveClass + 8089
2   libjvm.dylib                  	0x2f5a9bf4 JVM_IsPrimitiveClass + 6532
3   libjvm.dylib                  	0x2f599048 JVM_StartThread + 1965
4   libjvm.dylib                  	0x2f598ea7 JVM_StartThread + 1548
5   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
6   libSystem.B.dylib             	0x93962259 _pthread_start + 345
7   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 16:  Java: C1 CompilerThread0
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50aba4 jio_snprintf + 38356
7   libjvm.dylib                  	0x2f5b0d30 JVM_Write + 288
8   libjvm.dylib                  	0x2f5ab368 JVM_IsPrimitiveClass + 12536
9   libjvm.dylib                  	0x2f599048 JVM_StartThread + 1965
10  libjvm.dylib                  	0x2f598ea7 JVM_StartThread + 1548
11  libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
12  libSystem.B.dylib             	0x93962259 _pthread_start + 345
13  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 17:  Java: Low Memory Detector
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e4c9 JVM_RaiseSignal + 365377
3   libjvm.dylib                  	0x2f50b0e6 jio_snprintf + 39702
4   libjvm.dylib                  	0x2f772681 JVM_RaiseSignal + 316665
5   libjvm.dylib                  	0x2f772750 JVM_RaiseSignal + 316872
6   libjvm.dylib                  	0x2f50ac5d jio_snprintf + 38541
7   libjvm.dylib                  	0x2f5accf6 JVM_IsPrimitiveClass + 19078
8   libjvm.dylib                  	0x2f599048 JVM_StartThread + 1965
9   libjvm.dylib                  	0x2f598ea7 JVM_StartThread + 1548
10  libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
11  libSystem.B.dylib             	0x93962259 _pthread_start + 345
12  libSystem.B.dylib             	0x939620de thread_start + 34

Thread 18:  Java: VM Periodic Task Thread
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   libjvm.dylib                  	0x2f77e599 JVM_RaiseSignal + 365585
3   libjvm.dylib                  	0x2f77e93c JVM_RaiseSignal + 366516
4   libjvm.dylib                  	0x2f5aeeae JVM_IsPrimitiveClass + 27710
5   libjvm.dylib                  	0x2f50ad2d jio_snprintf + 38749
6   libSystem.B.dylib             	0x93962259 _pthread_start + 345
7   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 19:
0   libSystem.B.dylib             	0x9395a412 __workq_kernreturn + 10
1   libSystem.B.dylib             	0x9395a9a8 _pthread_wqthread + 941
2   libSystem.B.dylib             	0x9395a5c6 start_wqthread + 30

Thread 20:
0   libSystem.B.dylib             	0x93934afa mach_msg_trap + 10
1   libSystem.B.dylib             	0x93935267 mach_msg + 68
2   com.apple.CoreFoundation      	0x90ae830f __CFRunLoopRun + 2079
3   com.apple.CoreFoundation      	0x90ae73f4 CFRunLoopRunSpecific + 452
4   com.apple.CoreFoundation      	0x90aed334 CFRunLoopRun + 84
5   com.apple.DesktopServices     	0x9a733b3d TSystemNotificationTask::SystemNotificationTaskProc(void*) + 643
6   ...ple.CoreServices.CarbonCore	0x9a83354a PrivateMPEntryPoint + 68
7   libSystem.B.dylib             	0x93962259 _pthread_start + 345
8   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 21:
0   libSystem.B.dylib             	0x9395a412 __workq_kernreturn + 10
1   libSystem.B.dylib             	0x9395a9a8 _pthread_wqthread + 941
2   libSystem.B.dylib             	0x9395a5c6 start_wqthread + 30

Thread 22:
0   libSystem.B.dylib             	0x9395a412 __workq_kernreturn + 10
1   libSystem.B.dylib             	0x9395a9a8 _pthread_wqthread + 941
2   libSystem.B.dylib             	0x9395a5c6 start_wqthread + 30

Thread 23:
0   libSystem.B.dylib             	0x93934b5a semaphore_timedwait_signal_trap + 10
1   libSystem.B.dylib             	0x939626e1 _pthread_cond_wait + 1066
2   libSystem.B.dylib             	0x939ab26c pthread_cond_timedwait + 47
3   libuno_sal.dylib.3            	0x000084e9 osl_waitCondition + 281
4   configmgr.uno.dylib           	0x190bfc5b 0x1909b000 + 150619
5   configmgr.uno.dylib           	0x190c3312 0x1909b000 + 164626
6   libuno_sal.dylib.3            	0x0000c1b9 osl_setThreadName + 569
7   libSystem.B.dylib             	0x93962259 _pthread_start + 345
8   libSystem.B.dylib             	0x939620de thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
 eax: 0x0b2ff4d0  ebx: 0x27573024  ecx: 0xbfffd017  edx: 0x00000000
 edi: 0x035fbc90  esi: 0x0b2ff4d0  ebp: 0xbfffd098  esp: 0xbfffcfa0
  ss: 0x0000001f  efl: 0x00010246  eip: 0x27573561   cs: 0x00000017
  ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
 cr2: 0x1e858000
Comment 4 Volker Blum 2011-08-05 16:12:36 UTC
Created attachment 49979 [details]
freshly created rtf file by MS Word, untitled. Just a table and some text.
Comment 5 Volker Blum 2011-08-05 16:15:34 UTC
About the attached file:

Unfortunately, bugzilla lost my comment about it.

It does not reproduce the bug here, BUT there is something horribly wrong about rtf and tables here.

The file is created by MS Word on Mac. It opens correctly in TextEdit and in LO 3.3 .

The table is completely jumbled in LO 3.4.2 . 

Can you see (=reproduce) this? The file does "save as" w/o a crash though, in LO 3.4.2 . So it does not reproduce my orig bug yet. I should probably open a new bug for this file, but only if my observed behaviour can be reproduced, right?
Comment 6 noname 2011-08-06 04:34:05 UTC
Sorry, still doesn't crash. I can see all text & tables correctly. Maybe a MAC thing.
Comment 7 Volker Blum 2011-08-06 11:09:01 UTC
Hi again,

aha ...

As I said that particular file should not crash (which is good news) but in 3.4.2 simply appears incorrectly here. In 3.3 and TextEdit, it appears correctly. The table should have two rows, five columns, text above, and text underneath.

In 3.4.2, the two rows get merged into one, and the text underneath is incorporated into the last column of the table.

I am attempting to attach two sceen shots, one "wrong" (3.4.2) and one "correct" (LO 3.3) ...

Do you really get the correct behaviour with 3.4.2, and on which platforms?

thanks!

best wishes
VB
Comment 8 noname 2011-08-07 07:06:25 UTC
(In reply to comment #7)
> Hi again,
> 
> aha ...
> 
> As I said that particular file should not crash (which is good news) but in
> 3.4.2 simply appears incorrectly here. In 3.3 and TextEdit, it appears
> correctly. The table should have two rows, five columns, text above, and text
> underneath.
> 
> In 3.4.2, the two rows get merged into one, and the text underneath is
> incorporated into the last column of the table.

This report is about crashing LO, not about tables being cut off, which is another bug.
Comment 9 Volker Blum 2011-08-11 06:37:12 UTC
Yes, I noticed that the symptom is different, as I said above. Nonetheless, it's a bug.

I will open another bug report. Independently, I also see that email attachments get dropped by the current system.

That said. What do I do about the original bug? My summary is, it's clearly a division by zero, and the trace shows where it appears to occur. It's also something that got introduced between 3.3.x and 3.4.2 . 

I can't share the original rtf file, but I will be happy to test anything, in case anyone has any ideas while looking at the code in question. It was not that unusual an rtf file, though, I should say that, it's completely standard procedure. 

What did change in the rtf import / export code? It seems to have regressed rather drastically if I can produce an independent bug in less than five minutes?
Comment 10 Jean-Baptiste Faure 2011-12-18 05:14:04 UTC
Well I will close this bug report as invalid because there is no file attached to test the crash reported in the summary.
For the second problem with tables, it is handled by bug 39337 which is fixed in LO 3.5.0 and master.

@Volker Blum: please, feel free to reopen if you can provide a RTF test-file which crashes on your system.

Best regards. JBF
Comment 11 Volker Blum 2011-12-18 05:56:56 UTC
Thanks!! I followed the recent discussion, sounds very encouraging.

That said - I opened the original offending file (that I am still unable to share in public), which does contain a table (three columns) and that even crashed 3.4 in my initial attempts.

The good news is that there are no more crashes, as far as I am able to tell.

The bad news:

LO 3.3.3 opens correctly
LO 3.4.4 opens incorrectly (all following text incorporated into rightmost table column)

LO 3.5.0beta1 - downloaded just now - opens the file and does not incorporate the following text (an improvement) but the content of the three table columns is crammed into the first column instead. 

[In addition, the text is also full of explicitly displayed formatting symbols - line breaks, spaces etc - that are not wrong per se, it's just that one usually does not want to see all these formatting characters when opening a document.]

So better than before but unfortunately still not usable for this (now hypothetical) collaboration with someone else ....

I am well willing to help. Could I provide screen shots in private mail to someone, if anyone specific is working on the problem? The problem is that I really do not wish to share files that I did not create myself. The content here is not top secret, but it does reflect someone else's work.

let me know ...

best wishes
VB


On Dec 18, 2011, at 2:14 PM, bugzilla-daemon@freedesktop.org wrote:

> https://bugs.freedesktop.org/show_bug.cgi?id=39862
> 
> Jean-Baptiste Faure <jbf.faure@orange.fr> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|NEW                         |RESOLVED
>         Resolution|                            |INVALID
>                 CC|                            |jbf.faure@orange.fr
> 
> --- Comment #10 from Jean-Baptiste Faure <jbf.faure@orange.fr> 2011-12-18 05:14:04 PST ---
> Well I will close this bug report as invalid because there is no file attached
> to test the crash reported in the summary.
> For the second problem with tables, it is handled by bug 39337 which is fixed
> in LO 3.5.0 and master.
> 
> @Volker Blum: please, feel free to reopen if you can provide a RTF test-file
> which crashes on your system.
> 
> Best regards. JBF
> 
> -- 
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.