You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/11 19:00:46 UTC
[Bug 119335] New: AOO 3.4.0 Writer crashes while exporting PDF with
a master document.
https://issues.apache.org/ooo/show_bug.cgi?id=119335
Priority: P3
Bug ID: 119335
Assignee: ooo-issues@incubator.apache.org
Summary: AOO 3.4.0 Writer crashes while exporting PDF with a
master document.
Severity: normal
Issue Type: DEFECT
Classification: Application
OS: Linux
Reporter: giuseppe.castagno@acca-esse.eu
Hardware: PC
Status: UNCONFIRMED
Version: OOo 3.4 Beta
Component: code
Product: word processor
AOO 3.4.0 Writer crashes in segment violation while exporting to PDF with a
master document file, I'm going to link to a the zipped package of the entire
structure of the document activating the crash.
The document is in Italian and there is no problem about the content.
My OS:
$ uname -a;lsb_release -a
Linux dsklnx2 2.6.32-41-generic #88-Ubuntu SMP Thu Mar 29 13:10:32 UTC 2012
x86_64 GNU/Linux
LSB Version:
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:qt4-3.1-amd64:qt4-3.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
If I reduce the size or the combination of slave documents, the bug disappears.
To reproduce:
Dowload the zipped document structure from here (54.2 Mb):
http://www.acca-esse.it/dwnld/xh-z23-1-9-5fjk/problematic-document.zip
after unzipping it open the following file:
problematic-document/20060801-0002-mst/20060801-0002-V10.odm
the links are saved as relative, so there should not be any problem,
try to export it to pdf, during export AOO crashes.
A note: if you load the document with a full debug version of AOO it will take
quite a long time.
I built a partial debug version of AOO, in order to save time loading the
document, in writer (sw) I only had sw/source/core/view/vprint.cxx built with
symbols.
In a next comment I'm going to add a gdb backtrace when segment violation
happens.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119335] AOO 3.4.0 Writer crashes while exporting PDF with a
master document.
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119335
--- Comment #4 from hdu@apache.org ---
FWIW the same scenario (PDF export with bugdoc on AOO340) that crashes
consistently does disappear when run under memgrind supervision.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119335] AOO 3.4.0 Writer crashes while exporting PDF with a
master document.
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119335
hdu@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |CONFIRMED
CC| |hdu@apache.org
Ever confirmed|0 |1
--- Comment #2 from hdu@apache.org ---
Confirmed on a 4GB 64bit-Linux, but not on 16GB OSX.
In ViewShell::PrintOrPDFExport() pStPage's member pUpper is NULL, probably
because a memory allocation failed.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119335] AOO 3.4.0 Writer crashes while exporting PDF with a
master document.
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119335
--- Comment #1 from Giuseppe Castagno (aka beppec56) <gi...@acca-esse.eu> ---
The following is a backtrace of the crash:
(gdb) bt
#0 0x00007f1397f9ae68 in ViewShell::PrintOrPDFExport (this=0x7f138c0a79e0,
pOutDev=0x7f138984c478, rPrintData=..., nRenderer=152)
at /home/beppe/aoo-b/aoo-git-svn/main/sw/source/core/view/vprint.cxx:579
#1 0x00007f13981a111f in SwXTextDocument::render(int, com::sun::star::uno::Any
const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>
const&) ()
from
/home/beppe/aoo-b/aoo3.4.0-dev-local-bin/openoffice.org3/program/../basis-link/program/libsw.so
#2 0x00007f138961a3d8 in PDFExport::ExportSelection (this=0x7ffff0334c80,
rPDFWriter=..., rRenderable=..., rSelection=..., aMultiSelection=...,
rRenderOptions=..., nPageCount=834)
at /home/beppe/aoo-b/aoo-git-svn/main/filter/source/pdf/pdfexport.cxx:231
#3 0x00007f138961fbde in PDFExport::Export (this=0x7ffff0334c80, rFile=...,
rFilterData=...) at
/home/beppe/aoo-b/aoo-git-svn/main/filter/source/pdf/pdfexport.cxx:904
#4 0x00007f1389616a5c in PDFFilter::implExport (this=0x7f138b908e48,
rDescriptor=...) at
/home/beppe/aoo-b/aoo-git-svn/main/filter/source/pdf/pdffilter.cxx:123
#5 0x00007f1389616d9c in PDFFilter::filter (this=0x7f138b908e48,
rDescriptor=...) at
/home/beppe/aoo-b/aoo-git-svn/main/filter/source/pdf/pdffilter.cxx:182
#6 0x00007f13be480abb in SfxObjectShell::ExportTo (this=0x7f13963487c0,
rMedium=...) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/objstor.cxx:2550
#7 0x00007f13be47b7d6 in SfxObjectShell::SaveTo_Impl (this=0x7f13963487c0,
rMedium=..., pSet=0x0) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/objstor.cxx:1585
#8 0x00007f13be482a64 in SfxObjectShell::PreDoSaveAs_Impl
(this=0x7f13963487c0, rFileName=..., aFilterName=..., pParams=0x7f138b8eb7e8)
at /home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/objstor.cxx:2967
#9 0x00007f13be4820a8 in SfxObjectShell::CommonSaveAs_Impl
(this=0x7f13963487c0, aURL=..., aFilterName=..., aParams=0x7f138b8ebc08)
at /home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/objstor.cxx:2821
#10 0x00007f13be46beb4 in SfxObjectShell::APISaveAs_Impl (this=0x7f13963487c0,
aFileName=..., aParams=0x7f138b8ebc08) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/objserv.cxx:339
#11 0x00007f13be4c642a in SfxBaseModel::impl_store (this=0x7f1396f94538,
sURL=..., seqArguments=..., bSaveTo=1 '\001') at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/sfxbasemodel.cxx:2910
#12 0x00007f13be4bed11 in SfxBaseModel::storeToURL (this=0x7f1396f94538,
rURL=..., rArgs=...) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/sfxbasemodel.cxx:1743
#13 0x00007f13be44bb08 in SfxStoringHelper::GUIStoreModel (this=0x7ffff03375a0,
xModel=..., aSlotName=..., aArgsSequence=..., bPreselectPassword=0 '\000',
aSuggestedName=..., nDocumentSignatureState=0)
at /home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/guisaveas.cxx:1643
#14 0x00007f13be46d980 in SfxObjectShell::ExecFile_Impl (this=0x7f13963487c0,
rReq=...) at /home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/doc/objserv.cxx:622
#15 0x00007f13be46b17f in SfxStubSfxObjectShellExecFile_Impl
(pShell=0x7f13963487c0, rReq=...) at
/home/beppe/aoo-b/aoo-git-svn/main/solver/340/unxlngx6.pro/workdir/SdiTarget/sfx2/sdi/sfxslots.hxx:151
#16 0x00007f13be2f1a06 in SfxShell::CallExec (this=0x7f13963487c0,
pFunc=0x7f13be46b15c <SfxStubSfxObjectShellExecFile_Impl(SfxShell*,
SfxRequest&)>, rReq=...)
at /home/beppe/aoo-b/aoo-git-svn/main/sfx2/inc/sfx2/shell.hxx:200
#17 0x00007f13be552e3f in SfxDispatcher::Call_Impl (this=0x7f138db99678,
rShell=..., rSlot=..., rReq=..., bRecord=1 '\001') at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/control/dispatch.cxx:285
#18 0x00007f13be554aef in SfxDispatcher::_Execute (this=0x7f138db99678,
rShell=..., rSlot=..., rReq=..., eCallMode=4) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/control/dispatch.cxx:1046
#19 0x00007f13be2db535 in SfxBindings::Execute_Impl (this=0x7f1395ff5890,
aReq=..., pSlot=0x7f13be8bc298, pShell=0x7f13963487c0)
at /home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/control/bindings.cxx:1350
#20 0x00007f13be2fa6d0 in SfxDispatchController_Impl::dispatch
(this=0x7f138983c318, aURL=..., aArgs=..., rListener=...) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/control/unoctitm.cxx:796
#21 0x00007f13be2f8108 in SfxOfficeDispatch::dispatch (this=0x7f138b8f05b8,
aURL=..., aArgs=...) at
/home/beppe/aoo-b/aoo-git-svn/main/sfx2/source/control/unoctitm.cxx:412
#22 0x00007f13aa5f0723 in framework::MenuBarManager::Select(Menu*) () from
/home/beppe/aoo-b/aoo3.4.0-dev-local-bin/openoffice.org3/program/../basis-link/program/libfwk.so
#23 0x00007f13bc0ddbf0 in Link::Call (this=0x7f1397287d98,
pCaller=0x7f1397287d30) at
/home/beppe/aoo-b/aoo-git-svn/main/solver/340/unxlngx6.pro/inc/tools/link.hxx:135
#24 0x00007f13bc42c4ed in Menu::Select (this=0x7f1397287d30) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/window/menu.cxx:1152
#25 0x00007f13bc43342a in Menu::ImplCallSelect (this=0x7f1397287d30) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/window/menu.cxx:2955
#26 0x00007f13bc4333f1 in Menu::LinkStubImplCallSelect (pThis=0x7f1397287d30,
pCaller=0x0) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/window/menu.cxx:2952
#27 0x00007f13bc0ddbf0 in Link::Call (this=0x7f1392096980, pCaller=0x0) at
/home/beppe/aoo-b/aoo-git-svn/main/solver/340/unxlngx6.pro/inc/tools/link.hxx:135
#28 0x00007f13bc4f543d in ImplHandleUserEvent (pSVEvent=0x7f1389853980) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/window/winproc.cxx:1996
#29 0x00007f13bc4f670a in ImplWindowFrameProc (pWindow=0x7f13ad2fe050,
nEvent=22, pEvent=0x7f1389853980) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/window/winproc.cxx:2568
#30 0x00007f13b6d6e101 in SalFrame::CallCallback (this=0x7f13ad332670,
nEvent=22, pEvent=0x7f1389853980) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/inc/salframe.hxx:281
#31 0x00007f13b6d843ee in SalDisplay::DispatchInternalEvent
(this=0x7f13c1296008) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/unx/generic/app/saldisp.cxx:2231
#32 0x00007f13b7101562 in GtkXLib::userEventFn (data=0x7f13c1400008) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/unx/gtk/app/gtkdata.cxx:817
#33 0x00007f13b7101481 in call_userEventFn (data=0x7f13c1400008) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/unx/gtk/app/gtkdata.cxx:790
#34 0x00007f13b40708c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x00007f13b4074748 in ?? () from /lib/libglib-2.0.so.0
#36 0x00007f13b40748fc in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#37 0x00007f13b710170c in GtkXLib::Yield (this=0x7f13c1400008, bWait=true,
bHandleAllCurrentEvents=false) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/unx/gtk/app/gtkdata.cxx:869
#38 0x00007f13b6d91e85 in X11SalInstance::Yield (this=0x7f13c1407a30,
bWait=true, bHandleAllCurrentEvents=false) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/unx/generic/app/salinst.cxx:278
#39 0x00007f13bc0f165d in ImplYield (i_bWait=true, i_bAllEvents=false) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/app/svapp.cxx:472
#40 0x00007f13bc0ed731 in Application::Yield (i_bAllEvents=false) at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/app/svapp.cxx:506
#41 0x00007f13bc0ed6d2 in Application::Execute () at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/app/svapp.cxx:449
#42 0x00007f13c0c04128 in ?? () from
/home/beppe/aoo-b/aoo3.4.0-dev-local-bin/openoffice.org3/program/../basis-link/program/libsofficeapp.so
#43 0x00007f13bc0f7495 in ImplSVMain () at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/app/svmain.cxx:193
#44 0x00007f13bc0f75eb in SVMain () at
/home/beppe/aoo-b/aoo-git-svn/main/vcl/source/app/svmain.cxx:230
#45 0x00007f13c0c2b5fc in soffice_main () from
/home/beppe/aoo-b/aoo3.4.0-dev-local-bin/openoffice.org3/program/../basis-link/program/libsofficeapp.so
#46 0x000000000040102b in main ()
(gdb)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119335] AOO 3.4.0 Writer crashes while exporting PDF with a
master document.
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119335
--- Comment #3 from Giuseppe Castagno (aka beppec56) <gi...@acca-esse.eu> ---
I forgot to mention that my 64bit machine has 16Gb ram.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 119335] AOO 3.4.0 Writer crashes while exporting PDF with a
master document.
Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=119335
Dale Erwin <da...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daleerwin@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.