<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Crash when terminating the StarDesktop from running a document macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127205#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Crash when terminating the StarDesktop from running a document macro"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=127205">bug 127205</a>
from <span class="vcard"><a class="email" href="mailto:glogow@fbihome.de" title="Jan-Marek Glogowski <glogow@fbihome.de>"> <span class="fn">Jan-Marek Glogowski</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=153714" name="attach_153714" title="Crashes LO on load, if macros are enabled!">attachment 153714</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=153714&action=edit" title="Crashes LO on load, if macros are enabled!">[details]</a></span>
Crashes LO on load, if macros are enabled!
The whole macro code is:
Sub Main
MsgBox "Lets close LO"
StarDesktop.terminate
End Sub
Resulting backtrace:
Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x00007ffff6ca4055 in SbxValue::Put (this=this@entry=0x55555bfd2240, rVal=...)
at /home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvalue.cxx:415
415 ErrCode eOld = GetError();
(gdb) bt
#0 0x00007ffff6ca4055 in SbxValue::Put (this=this@entry=0x55555bfd2240,
rVal=...) at
/home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvalue.cxx:415
#1 0x00007ffff6ca5656 in SbxValue::PutBool (this=this@entry=0x55555bfd2240,
b=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvalue.cxx:571
#2 0x00007ffff6be99e9 in unoToSbxValue (pVar=pVar@entry=0x55555bfd2240,
aValue=...) at
/home/jmg/Development/libreoffice/symbols/basic/source/classes/sbunoobj.cxx:793
#3 0x00007ffff6bf2fee in SbUnoObject::Notify (this=<optimized out>, rBC=...,
rHint=...) at
/home/jmg/Development/libreoffice/symbols/basic/source/classes/sbunoobj.cxx:2228
#4 0x00007ffff6320205 in SfxBroadcaster::Broadcast
(this=this@entry=0x55555bfd7ac0, rHint=...) at
/home/jmg/Development/libreoffice/symbols/svl/source/notify/SfxBroadcaster.cxx:49
#5 0x00007ffff6ca7485 in SbxVariable::Broadcast (this=0x55555bfd2240,
nHintId=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvar.cxx:183
#6 0x00007ffff6ca29f2 in SbxValue::SbxValue (this=0x55555bfd2330,
__vtt_parm=0x7ffff6d37ee0 <VTT for SbxMethod+16>, r=..., __in_chrg=<optimized
out>)
at
/home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvalue.cxx:64
#7 0x00007ffff6ca7773 in SbxVariable::SbxVariable (this=0x55555bfd2330,
__vtt_parm=0x7ffff6d37ed8 <VTT for SbxMethod+8>, r=..., __in_chrg=<optimized
out>)
at /home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvar.cxx:69
#8 0x00007ffff6c9bd48 in SbxMethod::SbxMethod (this=0x55555bfd2330, r=...,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxobj.cxx:840
#9 0x00007ffff6c640db in SbiRuntime::FindElement
(this=this@entry=0x55555bfc6070, pObj=<optimized out>, nOp1=<optimized out>,
nOp1@entry=5, nOp2=nOp2@entry=12, nNotFound=..., nNotFound@entry=...,
bLocal=bLocal@entry=false, bStatic=false) at
/home/jmg/Development/libreoffice/symbols/basic/source/runtime/runtime.cxx:3506
#10 0x00007ffff6c64ccd in SbiRuntime::StepELEM (this=<optimized out>, nOp1=5,
nOp2=12) at
/home/jmg/Development/libreoffice/symbols/basic/source/runtime/runtime.cxx:3981
#11 0x00007ffff6c5aef1 in SbiRuntime::Step (this=this@entry=0x55555bfc6070) at
/home/jmg/Development/libreoffice/symbols/basic/source/runtime/runtime.cxx:777
#12 0x00007ffff6c089e8 in SbModule::Run (this=this@entry=0x55555a512760,
pMeth=pMeth@entry=0x55555bfc7250) at
/home/jmg/Development/libreoffice/symbols/basic/source/classes/sbxmod.cxx:1110
#13 0x00007ffff6c0962c in SbModule::Notify (this=0x55555a512760, rBC=...,
rHint=...) at
/home/jmg/Development/libreoffice/symbols/basic/source/classes/sbxmod.cxx:776
#14 0x00007ffff6320205 in SfxBroadcaster::Broadcast
(this=this@entry=0x55555c023670, rHint=...) at
/home/jmg/Development/libreoffice/symbols/svl/source/notify/SfxBroadcaster.cxx:49
#15 0x00007ffff6c049a4 in SbMethod::Broadcast (this=0x55555c036920,
nHintId=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/basic/source/classes/sbxmod.cxx:2070
#16 0x00007ffff6ca300e in SbxValue::Get (this=this@entry=0x55555c036920,
rRes=...) at
/home/jmg/Development/libreoffice/symbols/basic/source/sbx/sbxvalue.cxx:286
#17 0x00007ffff6c021a8 in SbMethod::Call (this=0x55555c036920,
pRet=pRet@entry=0x55555bfc71c0, pCaller=pCaller@entry=0x0) at
/home/jmg/Development/libreoffice/symbols/basic/source/classes/sbxmod.cxx:2026
#18 0x00007fffd8d3ed9c in basprov::BasicScriptImpl::invoke
(this=0x55555c04c840, aParams=..., aOutParamIndex=..., aOutParam=...)
at
/home/jmg/Development/libreoffice/symbols/scripting/source/basprov/basscript.cxx:234
#19 0x00007fffddf8dec8 in
scripting_protocolhandler::ScriptProtocolHandler::dispatchWithNotification
(this=0x55555a4e6a20, aURL=..., lArgs=..., xListener=...)
at
/home/jmg/Development/libreoffice/symbols/scripting/source/protocolhandler/scripthandler.cxx:215
#20 0x00007fffddf8b989 in
scripting_protocolhandler::ScriptProtocolHandler::dispatch (this=<optimized
out>, aURL=..., lArgs=...)
at
/home/jmg/Development/libreoffice/symbols/scripting/source/protocolhandler/scripthandler.cxx:299
#21 0x00007ffff685c38c in SfxEvents_Impl::Execute (aEventData=...,
aTrigger=..., pDoc=<optimized out>, pDoc@entry=0x555559fe7910)
at
/home/jmg/Development/libreoffice/symbols/sfx2/source/notify/eventsupplier.cxx:267
#22 0x00007ffff685d0c9 in SfxEvents_Impl::notifyEvent (this=<optimized out>,
aEvent=...) at
/home/jmg/Development/libreoffice/symbols/sfx2/source/notify/eventsupplier.cxx:292
#23 0x00007ffff681db09 in (anonymous
namespace)::NotifySingleListenerIgnoreRE<com::sun::star::document::XEventListener,
com::sun::star::document::EventObject>::operator() (
listener=<error reading variable: Dwarf Error: Cannot find DIE at 0x0
referenced in module
/home/jmg/Development/libreoffice/symbols/instdir/program/libsfxlo.so>,
this=<optimized out>)
at
/home/jmg/Development/libreoffice/symbols/sfx2/source/doc/sfxbasemodel.cxx:3097
#24
cppu::OInterfaceContainerHelper::forEach<com::sun::star::document::XEventListener,
(anonymous
namespace)::NotifySingleListenerIgnoreRE<com::sun::star::document::XEventListener,
com::sun::star::document::EventObject> > (func=..., this=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/include/cppuhelper/interfacecontainer.h:288
#25 SfxBaseModel::postEvent_Impl (this=this@entry=0x55555a1e6a50, aName=...,
xController=...) at
/home/jmg/Development/libreoffice/symbols/sfx2/source/doc/sfxbasemodel.cxx:3144
#26 0x00007ffff681dec2 in SfxBaseModel::Notify (this=0x55555a1e6a50, rBC=...,
rHint=...) at
/home/jmg/Development/libreoffice/symbols/sfx2/source/doc/sfxbasemodel.cxx:2780
#27 0x00007ffff6320205 in SfxBroadcaster::Broadcast
(this=this@entry=0x555559fe7910, rHint=...) at
/home/jmg/Development/libreoffice/symbols/svl/source/notify/SfxBroadcaster.cxx:49
#28 0x00007ffff659bbdd in SfxEventAsyncer_Impl::IdleHdl (this=0x55555bf321b0,
pAsyncIdle=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/sfx2/source/appl/appcfg.cxx:123
#29 0x00007ffff416c3be in Scheduler::ProcessTaskScheduling () at
/home/jmg/Development/libreoffice/symbols/vcl/source/app/scheduler.cxx:480
#30 0x00007fffea50ba5a in SalTimer::CallCallback (this=0x5555568e7560) at
/home/jmg/Development/libreoffice/symbols/vcl/inc/saltimer.hxx:54
#31 Qt5Timer::timeoutActivated (this=0x5555568e7550) at
/home/jmg/Development/libreoffice/symbols/vcl/qt5/Qt5Timer.cxx:41
#32 0x00007fffea50bb55 in Qt5Timer::qt_static_metacall (_o=<optimized out>,
_id=<optimized out>, _a=<optimized out>, _c=<optimized out>)
at
/home/jmg/Development/libreoffice/symbols/workdir/CustomTarget/vcl/qt5/Qt5Timer.moc:90
#33 0x00007fffeb5a7906 in QMetaObject::activate(QObject*, int, int, void**) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fffeb5b34b7 in QTimer::timeout(QTimer::QPrivateSignal) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fffeb5a813b in QObject::event(QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fffea8914b1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007fffea898950 in QApplication::notify(QObject*, QEvent*) () from
/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007fffeb57e5a9 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fffeb5cec78 in QTimerInfoList::activateTimers() () from
/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007fffeb5cf4d4 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fffeeafef2e in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007fffeeaff1c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fffeeaff25c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fffeb5cf8e4 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fffe89383e1 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#46 0x00007fffea502ae3 in Qt5Instance::ImplYield
(this=this@entry=0x5555556ec770, bWait=bWait@entry=true,
bHandleAllCurrentEvents=bHandleAllCurrentEvents@entry=false)
at /home/jmg/Development/libreoffice/symbols/vcl/qt5/Qt5Instance.cxx:354
#47 0x00007fffea502cd6 in Qt5Instance::DoYield (this=0x5555556ec770,
bWait=<optimized out>, bHandleAllCurrentEvents=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/vcl/qt5/Qt5Instance.cxx:365
#48 0x00007ffff417bf72 in ImplYield (i_bWait=i_bWait@entry=true,
i_bAllEvents=i_bAllEvents@entry=false) at
/home/jmg/Development/libreoffice/symbols/vcl/source/app/svapp.cxx:447
#49 0x00007ffff417c65c in Application::Yield () at
/home/jmg/Development/libreoffice/symbols/vcl/source/app/svapp.cxx:511
#50 0x00007ffff417df85 in Application::Execute () at
/home/jmg/Development/libreoffice/symbols/vcl/source/app/svapp.cxx:428
#51 0x00007ffff7e7e514 in desktop::Desktop::Main (this=0x7fffffff2160) at
/home/jmg/Development/libreoffice/symbols/desktop/source/app/app.cxx:1620
#52 0x00007ffff41855c6 in ImplSVMain () at
/home/jmg/Development/libreoffice/symbols/vcl/source/app/svmain.cxx:191
#53 0x00007ffff4185745 in SVMain () at
/home/jmg/Development/libreoffice/symbols/vcl/source/app/svmain.cxx:225
#54 0x00007ffff7eaf4ed in soffice_main () at
/home/jmg/Development/libreoffice/symbols/desktop/source/app/sofficemain.cxx:170
#55 0x000055555555477b in sal_main () at
/home/jmg/Development/libreoffice/symbols/desktop/source/app/main.c:48
#56 main (argc=<optimized out>, argv=<optimized out>) at
/home/jmg/Development/libreoffice/symbols/desktop/source/app/main.c:47</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>