To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112566
User mst changed the following:
What |Old value |New value
================================================================================
CC|'' |'mba'
--------------------------------------------------------------------------------
Component|Word processor |framework
--------------------------------------------------------------------------------
Status|NEW |STARTED
--------------------------------------------------------------------------------
Keywords| |regression
--------------------------------------------------------------------------------
OS/Version|Unix, X11 |All
--------------------------------------------------------------------------------
Priority|P3 |P2
--------------------------------------------------------------------------------
QA contact|iss...@sw |iss...@framework
--------------------------------------------------------------------------------
Summary|executing macro crashes of|[sfx2] crash in SfxViewShe
|fice |ll::GetActivePrinter
--------------------------------------------------------------------------------
Subcomponent|open-import |code
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Tue Jun 22 16:34:33 +0000
2010 -------
(gdb) bt
#0 0x0254e9d0 in vcl::PrinterController::getPrinter (this=0x72)
at vcl/source/gdi/print3.cxx:702#1 0x011d328a in
SfxViewShell::GetActivePrinter (this=0xb18a4324)
at sfx2/source/view/viewprn.cxx:664
#2 0x01087151 in SfxPrintHelper::getPrinter (this=0xb3412f10)
at sfx2/source/doc/printhelper.cxx:275
#3 0x011426e1 in SfxBaseModel::getPrinter (this=0xb360f6d8)
at sfx2/source/doc/sfxbasemodel.cxx:1442
reason seems to be that the SfxViewShell_Impl::pPrinterController member is not
initialized before actually printing, but is read by GetActivePrinter().
also, the mix of boost::shared_ptr and plain pointer for the PrinterController
in the SfxViewShell::ExecPrint() method seems very fishy.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]