Issue 113231 - sd::TextObjectBar::GetAttrState crash
Summary: sd::TextObjectBar::GetAttrState crash
Status: CLOSED DUPLICATE of issue 112337
Alias: None
Product: Impress
Classification: Application
Component: code (show other issues)
Version: DEV300m84
Hardware: Unknown All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: graphicsneedsconfirm
QA Contact: issues@graphics
URL:
Keywords: crash
Depends on:
Blocks:
 
Reported: 2010-07-19 06:09 UTC by Ariel Constenla-Haile
Modified: 2010-07-19 09:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2010-07-19 06:09:42 UTC
* Create a new empty Impress document
* Select the Outline tab
* Right-click to execute the context menu
* OOo crashes


Program received signal SIGSEGV, Segmentation fault.
0x00007fd3b352417d in ?? ()
   from /opt/ooo-dev3/program/../basis-link/program/libsdlx.so
(gdb) backtrace
#0  0x00007fd3b352417d in ?? ()
   from /opt/ooo-dev3/program/../basis-link/program/libsdlx.so
#1  0x00007fd3e338b520 in ?? ()
   from /opt/ooo-dev3/program/../basis-link/program/libsfxlx.so
#2  0x00007fd3e33abc7d in SfxShell::GetSlotState(unsigned short, SfxInterface
const*, SfxItemSet*) ()



I don't have a DEV300_m84 with symbols at hand, but this happens also in DEV300_m83:



Program received signal SIGSEGV, Segmentation fault.
0x00007f2105defd98 in OutlinerView::GetEditView (this=0x0) at
/mnt/build/openoffice/latest/solver/300/unxlngx6/inc/editeng/outliner.hxx:257
257             EditView&       GetEditView() const { return *pEditView; }
(gdb) backtrace
#0  0x00007f2105defd98 in OutlinerView::GetEditView (this=0x0)
    at /mnt/build/openoffice/latest/solver/300/unxlngx6/inc/editeng/outliner.hxx:257
#1  0x00007f2105e55b26 in sd::TextObjectBar::GetAttrState (this=0x7f2103ac6850,
rSet=...)
    at /mnt/build/openoffice/latest/sd/source/ui/view/drtxtob.cxx:387
#2  0x00007f2105e54938 in SfxStubTextObjectBarGetAttrState
(pShell=0x7f2103ac6850, rSet=...) at ../../../unxlngx6/inc/sdslots.hxx:14734
#3  0x00007f212a438822 in SfxShell::CallState (this=0x7f2103ac6850, 
    pFunc=0x7f2105e54915 <SfxStubTextObjectBarGetAttrState(SfxShell*,
SfxItemSet&)>, rSet=...) at ../../inc/sfx2/shell.hxx:202
#4  0x00007f212a4584c1 in SfxShell::GetSlotState (this=0x7f2103ac6850,
nSlotId=5698, pIF=0x7f21069a0eb8, pStateSet=0x0)
    at /mnt/build/openoffice/latest/sfx2/source/control/shell.cxx:1044
#5  0x00007f212a44648b in SfxDispatcher::QueryState (this=0x7f210554b970,
nSlot=5698, rpState=@0x7fff85bb4c58)
    at /mnt/build/openoffice/latest/sfx2/source/control/dispatch.cxx:2968
#6  0x00007f212a43732a in SfxBindings::QueryState (this=0x7f2104578710,
nSlot=5698, rpState=@0x7fff85bb4e88)
    at /mnt/build/openoffice/latest/sfx2/source/control/bindings.cxx:2199
#7  0x00007f212a47012f in InsertThesaurusSubmenu_Impl (pBindings=0x7f2104578710,
pSVMenu=0x7f21033037d8)
    at /mnt/build/openoffice/latest/sfx2/source/menu/mnumgr.cxx:208
#8  0x00007f212a471f72 in SfxPopupMenuManager::ExecutePopup (rResId=...,
pFrame=0x7f2104e4fac8, rPoint=..., pWindow=0x7f21054f2ca8)
    at /mnt/build/openoffice/latest/sfx2/source/menu/mnumgr.cxx:592
#9  0x00007f212a445ccc in SfxDispatcher::ExecutePopup (this=0x7f210554b970,
rId=..., pWin=0x0, pPos=0x0)
    at /mnt/build/openoffice/latest/sfx2/source/control/dispatch.cxx:2796
#10 0x00007f2105e4384f in sd::OutlineViewShell::Command (this=0x7f2104d54630,
rCEvt=..., pWin=0x7f21054e6db8)
    at /mnt/build/openoffice/latest/sd/source/ui/view/outlnvsh.cxx:1485
#11 0x00007f2105ded361 in sd::Window::Command (this=0x7f21054e6db8, rCEvt=...)
    at /mnt/build/openoffice/latest/sd/source/ui/view/sdwindow.cxx:351
#12 0x00007f2127e3517f in ImplCallCommand (pChild=0x7f21054e6db8, nEvt=1,
pData=0x0, bMouse=1 '\001', pPos=0x7fff85bb5580)
    at /mnt/build/openoffice/latest/vcl/source/window/winproc.cxx:312
#13 0x00007f2127e37375 in ImplHandleMouseEvent (pWindow=0x7f21045604b0,
nSVEvent=1, bMouseLeave=0 '\000', nX=350, nY=150, nMsgTime=42227052, 
    nCode=4, nMode=0) at
/mnt/build/openoffice/latest/vcl/source/window/winproc.cxx:910
#14 0x00007f2127e3cbd5 in ImplHandleSalMouseButtonDown (pWindow=0x7f21045604b0,
pEvent=0x7fff85bb58f0)
    at /mnt/build/openoffice/latest/vcl/source/window/winproc.cxx:2073
#15 0x00007f2127e3bd55 in ImplWindowFrameProc (pWindow=0x7f21045604b0, nEvent=3,
pEvent=0x7fff85bb58f0)
    at /mnt/build/openoffice/latest/vcl/source/window/winproc.cxx:2400
#16 0x00007f211c4ecae1 in SalFrame::CallCallback (this=0x7f210551c4a0, nEvent=3,
pEvent=0x7fff85bb58f0) at ../../../inc/vcl/salframe.hxx:286
#17 0x00007f211c529ab9 in GtkSalFrame::signalButton (pEvent=0x17eb900,
frame=0x7f210551c4a0)
    at /mnt/build/openoffice/latest/vcl/unx/gtk/window/gtkframe.cxx:2675
#18 0x00007f211bf87003 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#19 0x00007f211a0b498e in g_closure_invoke () from /lib64/libgobject-2.0.so.0
#20 0x00007f211a0c8947 in ?? () from /lib64/libgobject-2.0.so.0
#21 0x00007f211a0c9c29 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
#22 0x00007f211a0ca3a3 in g_signal_emit () from /lib64/libgobject-2.0.so.0
#23 0x00007f211c0b790f in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#24 0x00007f211bf7dd63 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#25 0x00007f211bf7ef2b in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#26 0x00007f211bbda39c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#27 0x00007f21199dcd02 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007f21199e0ae8 in ?? () from /lib64/libglib-2.0.so.0
#29 0x00007f21199e0c9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#30 0x00007f211c4ec1d6 in GtkXLib::Yield (this=0x7f212cff9010, bWait=true,
bHandleAllCurrentEvents=false)
    at /mnt/build/openoffice/latest/vcl/unx/gtk/app/gtkdata.cxx:821
#31 0x00007f2119723c4b in X11SalInstance::Yield (this=0x7f212cfffc40,
bWait=true, bHandleAllCurrentEvents=false)
    at /mnt/build/openoffice/latest/vcl/unx/source/app/salinst.cxx:263
#32 0x00007f2127b16267 in ImplYield (i_bWait=true, i_bAllEvents=false) at
/mnt/build/openoffice/latest/vcl/source/app/svapp.cxx:471
#33 0x00007f2127b12135 in Application::Yield (i_bAllEvents=false) at
/mnt/build/openoffice/latest/vcl/source/app/svapp.cxx:505
#34 0x00007f2127b120d1 in Application::Execute () at
/mnt/build/openoffice/latest/vcl/source/app/svapp.cxx:448
#35 0x00007f212c796db4 in desktop::Desktop::Main (this=0x7fff85bb6850) at
/mnt/build/openoffice/latest/desktop/source/app/app.cxx:1637
#36 0x00007f2127b1b1b6 in ImplSVMain () at
/mnt/build/openoffice/latest/vcl/source/app/svmain.cxx:183
#37 0x00007f2127b1b34b in SVMain () at
/mnt/build/openoffice/latest/vcl/source/app/svmain.cxx:224
#38 0x00007f212c7c943d in soffice_main () at
/mnt/build/openoffice/latest/desktop/source/app/sofficemain.cxx:49
#39 0x00000000004011d4 in sal_main () at main.c:35
#40 0x00000000004011b9 in main (argc=2, argv=0x7fff85bb6a08) at main.c:34


It looks like in
http://svn.services.openoffice.org/opengrok/xref/DEV300_m83/sd/source/ui/view/drtxtob.cxx#387

EditView & rEditView = mpView->GetTextEditOutlinerView()->GetEditView();

mpView->GetTextEditOutlinerView() is NULL.
Comment 1 wolframgarten 2010-07-19 09:11:15 UTC
Duplicate.

*** This issue has been marked as a duplicate of 112337 ***
Comment 2 wolframgarten 2010-07-19 09:13:23 UTC
Closed.