https://bugs.freedesktop.org/show_bug.cgi?id=40686
--- Comment #4 from D. Hugh Redelmeier <h...@mimosa.com> 2011-10-02 21:36:54 PDT --- I loaded the debugging symbols and attached GDB. Here's the crash info. Looks to be a division by 0. Program received signal SIGFPE, Arithmetic exception. SwWW8ImplReader::SetDocumentGrid (this=<optimized out>, rFmt=..., rSection=...) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par6.cxx:313 313 aGrid.SetLines(writer_cast<sal_uInt16>(nTextareaHeight/nLinePitch)); (gdb) p nLinePitch $1 = 0 (gdb) where #0 SwWW8ImplReader::SetDocumentGrid (this=<optimized out>, rFmt=..., rSection=...) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par6.cxx:313 #1 0x00007f42bf8d8b01 in wwSectionManager::SetSegmentToPageDesc (this=0x7f42dc1aeb10, rSection=..., bTitlePage=<optimized out>, bIgnoreCols=false) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:3507 #2 0x00007f42bf8e25e7 in wwSectionManager::SetSwFmtPageDesc (this=0x7f42dc1aeb10, rIter=..., rStart=..., bIgnoreCols=false) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:3590 #3 0x00007f42bf8e2af3 in wwSectionManager::InsertSegments (this=0x7f42dc1aeb10) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:3699 #4 0x00007f42bf8e462e in SwWW8ImplReader::CoreLoad (this=0x7f42dc1aea08, pGloss=0x0, rPos=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:4502 #5 0x00007f42bf8e5e70 in SwWW8ImplReader::LoadThroughDecryption (this=0x7f42dc1aea08, rPaM=..., pGloss=0x0) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:4857 #6 0x00007f42bf8e68fe in SwWW8ImplReader::LoadDoc (this=0x7f42dc1aea08, rPaM=..., pGloss=0x0) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:5186 #7 0x00007f42bf8e6a42 in WW8Reader::Read (this=<optimized out>, rDoc=..., rBaseURL=..., rPam=...) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/ww8/ww8par.cxx:5255 #8 0x0000003103f1f6c7 in SwReader::Read (this=0x7f42cc674c08, rOptions=...) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/filter/basflt/shellio.cxx:192 #9 0x0000003103fef40d in SwDocShell::ConvertFrom (this=0x7f42cc6826c8, rMedium=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/sw/source/ui/app/docsh.cxx:276 #10 0x00000030fd3d1edc in SfxObjectShell::DoLoad (this=0x7f42cc6826c8, pMed=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/sfx2/source/doc/objstor.cxx:714 #11 0x00000030fd41e219 in SfxBaseModel::load (this=0x7f42cd500d38, seqArguments=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/sfx2/source/doc/sfxbasemodel.cxx:1792 #12 0x00000030fd484c03 in SfxFrameLoader_Impl::load (this=0x7f42cc692840, rArgs=<optimized out>, _rTargetFrame=...) at /usr/src/debug/libreoffice-3.3.3.1/sfx2/source/view/frmload.cxx:633 #13 0x00007f42dd578182 in framework::LoadEnv::impl_loadContent (this=0x7f42dc80f0e8) at /usr/src/debug/libreoffice-3.3.3.1/framework/source/loadenv/loadenv.cxx:1204 #14 0x00007f42dd579848 in framework::LoadEnv::startLoading (this=0x7f42dc80f0e8) at /usr/src/debug/libreoffice-3.3.3.1/framework/source/loadenv/loadenv.cxx:425 #15 0x00007f42dd56fa9a in framework::LoadDispatcher::impl_dispatch (this=0x7f42dc80f050, rURL=..., lArguments=..., xListener=...) at /usr/src/debug/libreoffice-3.3.3.1/framework/source/dispatch/loaddispatcher.cxx:170 #16 0x00007f42dd570018 in framework::LoadDispatcher::dispatchWithReturnValue (this=<optimized out>, rURL=<optimized out>, lArguments=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/framework/source/dispatch/loaddispatcher.cxx:107 #17 0x00000030f90e0d2e in comphelper::SynchronousDispatch::dispatch (xStartPoint=<optimized out>, sURL=<optimized out>, sTarget=..., nFlags=<optimized out>, lArguments=...) at /usr/src/debug/libreoffice-3.3.3.1/comphelper/source/misc/synchronousdispatch.cxx:86 #18 0x00000030ff43b267 in desktop::DispatchWatcher::executeDispatchRequests (this=0x7f42cfd79468, aDispatchRequestsList=std::vector of length 1, capacity 1 = {...}, bNoTerminate= false) at /usr/src/debug/libreoffice-3.3.3.1/desktop/source/app/dispatchwatcher.cxx:395 #19 0x00000030ff4495e4 in desktop::OfficeIPCThread::ExecuteCmdLineRequests (aRequest=...) at /usr/src/debug/libreoffice-3.3.3.1/desktop/source/app/officeipcthread.cxx:1045 #20 0x00000030ff4293fe in desktop::Desktop::OpenClients () at /usr/src/debug/libreoffice-3.3.3.1/desktop/source/app/app.cxx:2899 #21 0x00000030ff42a73c in desktop::Desktop::OpenClients_Impl (this=0x7fff6abe5e00) at /usr/src/debug/libreoffice-3.3.3.1/desktop/source/app/app.cxx:2210 #22 0x00000030fa703368 in Call (pCaller=<optimized out>, this=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/solver/330/unxlngx6.pro/inc/tools/link.hxx:140 #23 ImplHandleUserEvent (pSVEvent=0x7f42cfd8b470) at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/window/winproc.cxx:1994 #24 ImplWindowFrameProc (pWindow=<optimized out>, nEvent=<optimized out>, pEvent=0x7f42cfd8b470) at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/window/winproc.cxx:2566 #25 0x00000031030ac4ca in CallCallback (pEvent=0x7f42cfd8b470, nEvent=22, this=0x7f42df0a5a60) at ../../../inc/vcl/salframe.hxx:294 #26 SalDisplay::DispatchInternalEvent (this=0x7f42e1d2c008) at /usr/src/debug/libreoffice-3.3.3.1/vcl/unx/source/app/saldisp.cxx:2340 #27 0x0000003102c1c340 in GtkXLib::userEventFn (data=0x7f42e1d2b008) at /usr/src/debug/libreoffice-3.3.3.1/vcl/unx/gtk/app/gtkdata.cxx:806 #28 0x0000003f102427ed in g_main_dispatch (context=0x115bc20) at gmain.c:2441 #29 g_main_context_dispatch (context=0x115bc20) at gmain.c:3014 #30 0x0000003f10242fc8 in g_main_context_iterate (context=0x115bc20, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092 #31 0x0000003f1024325c in g_main_context_iteration (context=0x115bc20, may_block=0) at gmain.c:3155 #32 0x0000003102c19eb9 in GtkXLib::Yield (this=0x7f42e1d2b008, bWait=true, bHandleAllCurrentEvents=<optimized out>) at /usr/src/debug/libreoffice-3.3.3.1/vcl/unx/gtk/app/gtkdata.cxx:858 #33 0x00000030fa514911 in ImplYield (i_bAllEvents=<optimized out>, i_bWait=true) at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/app/svapp.cxx:471 #34 Application::Yield (i_bAllEvents=false) at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/app/svapp.cxx:505 #35 0x00000030fa5149c7 in Application::Execute () at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/app/svapp.cxx:448 #36 0x00000030ff421bfe in desktop::Desktop::Main (this=0x7fff6abe5e00) at /usr/src/debug/libreoffice-3.3.3.1/desktop/source/app/app.cxx:1928 #37 0x00000030fa51acd9 in ImplSVMain () at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/app/svmain.cxx:177 #38 0x00000030fa51add5 in SVMain () at /usr/src/debug/libreoffice-3.3.3.1/vcl/source/app/svmain.cxx:218 #39 0x00000030ff44a718 in soffice_main () at /usr/src/debug/libreoffice-3.3.3.1/desktop/source/app/sofficemain.cxx:50 #40 0x0000000000400efb in sal_main () at main.c:36 #41 main (argc=<optimized out>, argv=<optimized out>) at main.c:35 (gdb) p nTextareaHeight $2 = 13958 (gdb) list 308 nFraction = (nFraction*20)/0xFFF; 309 nCharWidth += nFraction; 310 } 311 312 aGrid.SetBaseWidth( writer_cast<sal_uInt16>(nCharWidth)); 313 aGrid.SetLines(writer_cast<sal_uInt16>(nTextareaHeight/nLinePitch)); 314 aGrid.SetBaseHeight(writer_cast<sal_uInt16>(nLinePitch)); 315 316 // ruby height is not supported in ww8 317 //sal_Int32 nRubyHeight = nLinePitch - nCharWidth; -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs