To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=64334
                  Issue #:|64334
                  Summary:|crash on impress start (with file)
                Component:|Drawing
                  Version:|OOo 2.0.2
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P2
             Subcomponent:|code
              Assigned to:|obr
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Wed Apr 12 07:15:16 -0700 
2006 -------
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,
[EMAIL PROTECTED], [EMAIL PROTECTED], pWindow=0x8fc27d8)
    at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/accessibility/AccessibleSlideSorterView.cxx:814
#3  0xb1040be9 in AccessibleSlideSorterView (this=0x8fd4d38, [EMAIL PROTECTED],
[EMAIL PROTECTED], 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,
[EMAIL PROTECTED], [EMAIL PROTECTED])
    at /opt/OpenOffice/OOO_2_0_2/vcl/unx/gtk/a11y/atklistener.cxx:175
#10 0xb4882398 in AtkListener::notifyEvent (this=0x8fc3d30, [EMAIL PROTECTED])
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, [EMAIL PROTECTED],
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, [EMAIL PROTECTED], [EMAIL PROTECTED], 
    [EMAIL PROTECTED]) 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, [EMAIL PROTECTED])
    at /opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:1970
#32 0xb0e0f2b0 in sd::PaneManager::ExecuteModeChange (this=0x8cc0148,
[EMAIL PROTECTED])
    at /opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/PaneManager.cxx:778
#33 0xb0e19185 in sd::ViewShellBase::Execute (this=0x8a803b8,
[EMAIL PROTECTED]) at
/opt/OpenOffice/OOO_2_0_2/sd/source/ui/view/ViewShellBase.cxx:771
#34 0xb0e177c9 in SfxStubViewShellBaseExecute (pShell=0x8a803b8,
[EMAIL PROTECTED]) 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 ;-)

---------------------------------------------------------------------
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]

Reply via email to