Issue 64334 - crash on impress start (with file)
Summary: crash on impress start (with file)
Status: CLOSED DUPLICATE of issue 63583
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P2 Trivial (vote)
Target Milestone: ---
Assignee: nospam4obr
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 15:15 UTC by mmeeks
Modified: 2006-04-27 10:44 UTC (History)
2 users (show)

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


Attachments
patch / fix. (1.28 KB, patch)
2006-04-12 15:16 UTC, mmeeks
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description mmeeks 2006-04-12 15:15:16 UTC
To reproduce: with CWS atkbridge - run:

soffice /tmp/tst.sxi # or any impress file really. The trace is:


#0  0xb109e272 in sd::slidesorter::controller::SlideSorterController::GetModel
(this=0x0)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/controller/SlideSorterController.cxx:228
#1  0xb103d724 in
accessibility::AccessibleSlideSorterView::Implementation::ConnectListeners
(this=0x8fce9b0)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx:925
#2  0xb103e1d1 in Implementation (this=0x8fce9b0,
rAccessibleSlideSorter=@0x8fd4d38, rController=@0x0, pWindow=0x8fc27d8)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx:814
#3  0xb1040be9 in AccessibleSlideSorterView (this=0x8fd4d38, rController=@0x0,
rxParent=@0xbfb4f75c, pContentWindow=0x8fc27d8)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx:128
#4  0xb108e43d in
sd::slidesorter::SlideSorterViewShell::CreateAccessibleDocumentView
(this=0x8fc2608, pWindow=0x8fc27d8)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx:280
#5  0xb0d84750 in sd::Window::CreateAccessible (this=0x8fc27d8) at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/sdwindow.cxx:1160
#6  0xb7f19dff in Window::GetAccessible () from ./libvcl680li.so
#7  0xb741b35e in VCLXAccessibleComponent::getAccessibleChild () from
./libtk680li.so
#8  0xb4881e55 in AtkListener::updateChildList (this=0x8fc3d30,
pContext=0x8fc4088) at
/opt/OpenOffice/OOO_2_0_2/vcl/unx/gtk/a11y/atklistener.cxx:124
#9  0xb48820a1 in AtkListener::handleChildRemoved (this=0x8fc3d30,
rxParent=@0xbfb4f8f4, rxChild=@0xbfb4f8f0)
    at /opt/OpenOffice/OOO_2_0_2/vcl/unx/gtk/a11y/atklistener.cxx:175
#10 0xb4882398 in AtkListener::notifyEvent (this=0x8fc3d30, aEvent=@0xbfb4f978)
at /opt/OpenOffice/OOO_2_0_2/vcl/unx/gtk/a11y/atklistener.cxx:262
#11 0xb78658a3 in comphelper::AccessibleEventNotifier::addEvent () from
./libcomphelp4gcc3.so
#12 0xb7857f1d in comphelper::OAccessibleContextHelper::NotifyAccessibleEvent ()
from ./libcomphelp4gcc3.so
#13 0xb741a163 in VCLXAccessibleComponent::ProcessWindowChildEvent () from
./libtk680li.so
#14 0xb741a049 in VCLXAccessibleComponent::WindowChildEventListener () from
./libtk680li.so
#15 0xb741a08c in VCLXAccessibleComponent::LinkStubWindowChildEventListener ()
from ./libtk680li.so
#16 0xb7de4c0e in Link::Call () from ./libvcl680li.so
#17 0xb7df2eda in VclEventListeners::Call () from ./libvcl680li.so
#18 0xb7f20d5c in Window::CallEventListeners () from ./libvcl680li.so
#19 0xb7f20dbd in Window::ImplCallEventListeners () from ./libvcl680li.so
#20 0xb7f225d7 in Window::ImplResetReallyVisible () from ./libvcl680li.so
#21 0xb7f27c4e in Window::Show () from ./libvcl680li.so
#22 0xb0d79d20 in Window::Hide (this=0x8fc3380, nFlags=0) at window.hxx:772
#23 0xb10ac37f in ScrollBarManager (this=0x8fd4be8, rController=@0x8fcee28,
pParentWindow=0x87a1450, pContentWindow=0x8fc27d8, 
    pHorizontalScrollBar=0x8fc3380, pVerticalScrollBar=0x8fc38c8,
pScrollBarFiller=0x8fcb320)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx:77
#24 0xb10a1f96 in SlideSorterController (this=0x8fcee28, pFrame=0x8c56230,
pParentWindow=0x87a1450, rViewShell=@0x8fc2608, rModel=@0x8fcd338, 
    rView=@0x8fcd418) at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/controller/SlideSorterController.cxx:145
#25 0xb108e233 in sd::slidesorter::SlideSorterViewShell::CreateController
(this=0x8fc2608)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx:336
#26 0xb108cbfa in
sd::slidesorter::SlideSorterViewShell::CreateModelViewController (this=0x8fc2608)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx:300
#27 0xb108e6d2 in sd::slidesorter::SlideSorterViewShell::Init (this=0x8fc2608)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx:196
#28 0xb0e0cca5 in (anonymous namespace)::PaneDescriptor::SetupShell
(this=0x8cc4354) at /opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:1337
#29 0xb0e0d231 in (anonymous namespace)::PaneDescriptor::SetViewShellType
(this=0x8cc4354, eShellType=sd::ViewShell::ST_SLIDE_SORTER, 
    bForceChange=false) at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:1239
#30 0xb0e0e894 in sd::PaneManager::Implementation::UpdateConfiguration
(this=0x8cc4330)
    at /opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:2270
#31 0xb0e0f27d in sd::PaneManager::Implementation::ExecuteModeChange
(this=0x8cc4330, rRequest=@0x8deb2d0)
    at /opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:1970
#32 0xb0e0f2b0 in sd::PaneManager::ExecuteModeChange (this=0x8cc0148,
rRequest=@0x8deb2d0)
    at /opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:778
#33 0xb0e19185 in sd::ViewShellBase::Execute (this=0x8a803b8,
rRequest=@0x8deb2d0) at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/ViewShellBase.cxx:771
#34 0xb0e177c9 in SfxStubViewShellBaseExecute (pShell=0x8a803b8,
rReq=@0x8deb2d0) at sdslots.hxx:16051
#35 0xb314e7b8 in SfxShell::CallExec () from ./libsfx680li.so
#36 0xb314d8ef in SfxDispatcher::Call_Impl () from ./libsfx680li.so
#37 0xb314dbf5 in SfxDispatcher::PostMsgHandler () from ./libsfx680li.so
#38 0xb314dc98 in SfxDispatcher::LinkStubPostMsgHandler () from ./libsfx680li.so
#39 0xb30465f8 in Link::Call () from ./libsfx680li.so
#40 0xb3166c7d in GenLink::Call () from ./libsfx680li.so
#41 0xb3166a2c in SfxHintPoster::Event () from ./libsfx680li.so
#42 0xb3166c92 in SfxHintPoster::DoEvent_Impl () from ./libsfx680li.so
#43 0xb3166a18 in SfxHintPoster::LinkStubDoEvent_Impl () from ./libsfx680li.so
#44 0xb7de4c0e in Link::Call () from ./libvcl680li.so
#45 0xb7f32806 in ImplWindowFrameProc () from ./libvcl680li.so
#46 0xb4328e96 in SalFrame::CallCallback () from ./libvclplug_gen680li.so
#47 0xb434bd12 in SalDisplay::DispatchInternalEvent () from ./libvclplug_gen680li.so
#48 0xb48772ca in GtkXLib::userEventFn (data=0x80ff710) at
/opt/OpenOffice/OOO_2_0_2/vcl/unx/gtk/app/gtkdata.cxx:646
#49 0xb59350a1 in g_list_copy () from /opt/gnome/lib/libglib-2.0.so.0
#50 0xb5936abd in g_main_context_dispatch () from /opt/gnome/lib/libglib-2.0.so.0
#51 0xb5939cbf in g_main_context_check () from /opt/gnome/lib/libglib-2.0.so.0
#52 0xb593a225 in g_main_context_iteration () from /opt/gnome/lib/libglib-2.0.so.0
#53 0xb4877094 in GtkXLib::Yield (this=0x80ff710, bWait=1 '\001') at
/opt/OpenOffice/OOO_2_0_2/vcl/unx/gtk/app/gtkdata.cxx:700
#54 0xb434d6a5 in X11SalInstance::Yield () from ./libvclplug_gen680li.so
#55 0xb7dec325 in Application::Yield () from ./libvcl680li.so
#56 0xb7dec3be in Application::Execute () from ./libvcl680li.so
#57 0x0806c3b9 in desktop::Desktop::Main ()
#58 0xb7df04a8 in ImplSVMain () from ./libvcl680li.so
#59 0xb7df055b in SVMain () from ./libvcl680li.so
#60 0x0806423b in sal_main ()
#61 0xb6f6d87c in __libc_start_main () from /lib/libc.so.6
#62 0x08064171 in _start ()

As you can see the Controller is erroneously NULL - since (much like the whole
atk code) it is constructed, but not yet assigned to the parent's member :-)

With my patch I get:

Create dummy accessible for sorter view 0x8fc5658
Create dummy accessible for sorter view 0x8fc5658
Create dummy accessible for sorter view 0x8fc5658
Create real accessible for sorter view 0x8fc5658

which looks more hopeful: also no crash ;-) this follows the comment above that
method which was incorrect: hopefully it was the right general idea ;-)
Comment 1 mmeeks 2006-04-12 15:16:34 UTC
Created attachment 35660 [details]
patch / fix.
Comment 2 nospam4obr 2006-04-13 08:59:35 UTC
Michael, are you sure you have the fixes for issue 63583 already in your tree ?
(not all of them are attached to the issue). Passing documents to impress via
command line works fine here.
Comment 3 mmeeks 2006-04-13 09:53:42 UTC
nope - I don't have the fix for i#63583 in my patch set; I'll re-sync that later.
OTOH - would i#63583 fix this ? it seems to be a vcl/sd interaction.
Comment 4 nospam4obr 2006-04-13 10:10:47 UTC
Hopefully - the non attached patch for issue 63583 was in sd. Let me know if you
are still seeing this after the resync.

BTW: I am going to resync atkbridge to m163 soon.
Comment 5 nospam4obr 2006-04-25 07:55:16 UTC
Please re-open if you still are able to reproduce this with the latest patch-set.

*** This issue has been marked as a duplicate of 63583 ***
Comment 6 nospam4obr 2006-04-27 10:44:19 UTC
closing.