https://bugs.freedesktop.org/show_bug.cgi?id=47368

--- Comment #100 from Tor Lillqvist <[email protected]> 2012-09-09 13:21:24 
UTC ---
For case II, there is an *awful* lot of recursion going on in hitTestRunner().
By an odd coincidence (?), the recursion ends before the thread runs out of
stack space though. But then some thirty call stack slots deeper it does,
anyway:

#0  0x91aa5ef1 in pthread_mutex_lock ()
#1  0x000068f9 in osl_acquireMutex (Mutex=0x787e6e0) at
/Users/tml/lo/tdf/sal/osl/unx/mutex.c:123
#2  0x00821801 in osl::Mutex::acquire (this=0x787e6d0) at mutex.hxx:67
#3  0x0082e4f7 in osl::Guard<osl::Mutex>::Guard (this=0xbf80011c, t=@0x787e6d0)
at mutex.hxx:153
#4  0x008c3940 in com::sun::star::uno::WeakReferenceHelper::get
(this=0x257dd3f4) at /Users/tml/lo/tdf/cppuhelper/source/weak.cxx:521
#5  0x0083d00d in com::sun::star::uno::WeakReferenceHelper::operator
com::sun::star::uno::Reference<com::sun::star::uno::XInterface>
(this=0x257dd3f4) at weakref.hxx:108
#6  0x008c3c23 in cppu::OWeakAggObject::acquire (this=0x257dd3e0) at
/Users/tml/lo/tdf/cppuhelper/source/weak.cxx:269
#7  0x00879bbb in cppu::WeakAggComponentImplHelperBase::acquire
(this=0x257dd3e0) at /Users/tml/lo/tdf/cppuhelper/source/implbase.cxx:367
#8  0x235e48d3 in
cppu::WeakAggComponentImplHelper8<com::sun::star::accessibility::XAccessible,
com::sun::star::accessibility::XAccessibleContext,
com::sun::star::accessibility::XAccessibleComponent,
com::sun::star::accessibility::XAccessibleEventBroadcaster,
com::sun::star::accessibility::XAccessibleAction,
com::sun::star::accessibility::XAccessibleSelection,
com::sun::star::accessibility::XAccessibleText,
com::sun::star::lang::XServiceInfo>::acquire (this=0x257dd3e0) at
compbase8.hxx:158
#9  0x0082189a in com::sun::star::uno::cpp_acquire (pCppI=0x257dd3e0) at
genfunc.hxx:48
#10 0x0071f77d in cppu::_acquire (p=0x257dd3e0, acquire=0x821882
<com::sun::star::uno::cpp_acquire(void*)>) at prim.hxx:88
#11 0x0073dae2 in cppu::_copyConstructAnyFromData (pDestAny=0xbf8004d0,
pSource=0xbf800370, pType=0x787fb50, pTypeDescr=0x0, acquire=0x821882
<com::sun::star::uno::cpp_acquire(void*)>, mapping=0x0) at copy.hxx:329
#12 0x0071d015 in cppu::_copyConstructAny (pDestAny=0xbf8004d0,
pSource=0xbf800370, pType=0x787fb50, pTypeDescr=0x0, acquire=0x821882
<com::sun::star::uno::cpp_acquire(void*)>, mapping=0x0) at copy.hxx:371
#13 0x0071c888 in uno_type_any_construct (pDest=0xbf8004d0, pSource=0xbf800370,
pType=0x787fb50, acquire=0x821882 <com::sun::star::uno::cpp_acquire(void*)>) at
/Users/tml/lo/tdf/cppu/source/uno/any.cxx:81
#14 0x0082d253 in com::sun::star::uno::Any::Any (this=0xbf8004d0,
pData_=0xbf800370, rType=@0x63ba148) at Any.hxx:81
#15 0x008c5d34 in cppu::queryInterface<com::sun::star::uno::XInterface,
com::sun::star::uno::XAggregation, com::sun::star::uno::XWeak>
(rType=@0x63ba148, p1=0x257dd3e0, p2=0x257dd3f0, p3=0x257dd3e0) at
queryinterface.hxx:102
#16 0x008c49e8 in cppu::OWeakAggObject::queryAggregation (this=0x257dd3e0,
rType=@0x63ba148) at /Users/tml/lo/tdf/cppuhelper/source/weak.cxx:300
#17 0x0087aa83 in cppu::WeakAggComponentImplHelperBase::queryAggregation
(this=0x257dd3e0, rType=@0x63ba148) at
/Users/tml/lo/tdf/cppuhelper/source/implbase.cxx:361
#18 0x0087c63c in cppu::WeakAggComponentImplHelper_queryAgg (rType=@0x63ba148,
cd=0x236ae180, that=0x257dd3e0, pBase=0x257dd3e0) at
/Users/tml/lo/tdf/cppuhelper/source/implbase_ex.cxx:451
#19 0x235e4aad in
cppu::WeakAggComponentImplHelper8<com::sun::star::accessibility::XAccessible,
com::sun::star::accessibility::XAccessibleContext,
com::sun::star::accessibility::XAccessibleComponent,
com::sun::star::accessibility::XAccessibleEventBroadcaster,
com::sun::star::accessibility::XAccessibleAction,
com::sun::star::accessibility::XAccessibleSelection,
com::sun::star::accessibility::XAccessibleText,
com::sun::star::lang::XServiceInfo>::queryAggregation (this=0x257dd3e0,
rType=@0x63ba148) at compbase8.hxx:156
#20 0x008c3b69 in cppu::OWeakAggObject::queryInterface (this=0x257dd3e0,
rType=@0x63ba148) at /Users/tml/lo/tdf/cppuhelper/source/weak.cxx:290
#21 0x00879b9e in cppu::WeakAggComponentImplHelperBase::queryInterface
(this=0x257dd3e0, rType=@0x63ba148) at
/Users/tml/lo/tdf/cppuhelper/source/implbase.cxx:350
#22 0x235e4848 in
cppu::WeakAggComponentImplHelper8<com::sun::star::accessibility::XAccessible,
com::sun::star::accessibility::XAccessibleContext,
com::sun::star::accessibility::XAccessibleComponent,
com::sun::star::accessibility::XAccessibleEventBroadcaster,
com::sun::star::accessibility::XAccessibleAction,
com::sun::star::accessibility::XAccessibleSelection,
com::sun::star::accessibility::XAccessibleText,
com::sun::star::lang::XServiceInfo>::queryInterface (this=0x257dd3e0,
rType=@0x63ba148) at compbase8.hxx:154
#23 0x0082644d in com::sun::star::uno::BaseReference::iquery
(pInterface=0x257dd410, rType=@0x63ba148) at Reference.hxx:52
#24 0x008c5b31 in
com::sun::star::uno::Reference<com::sun::star::uno::XWeak>::iquery
(pInterface=0x257dd410) at Reference.hxx:67
#25 0x008c5da4 in
com::sun::star::uno::Reference<com::sun::star::uno::XWeak>::query
(rRef=@0xbf80067c) at Reference.hxx:351
#26 0x008c4a48 in com::sun::star::uno::OWeakRefListener::OWeakRefListener
(this=0x26861270, xInt=@0xbf80067c) at
/Users/tml/lo/tdf/cppuhelper/source/weak.cxx:374
#27 0x008c5067 in com::sun::star::uno::WeakReferenceHelper::WeakReferenceHelper
(this=0x257dd538, xInt=@0xbf80067c) at
/Users/tml/lo/tdf/cppuhelper/source/weak.cxx:448
#28 0x235e31f6 in
com::sun::star::uno::WeakReference<com::sun::star::accessibility::XAccessible>::WeakReference
(this=0x257dd538, rRef=@0xbf80067c) at weakref.hxx:142
#29 0x235e162c in accessibility::AccessibleListBoxEntry::AccessibleListBoxEntry
(this=0x257dd4a0, _rListBox=@0x687832c, _pEntry=0x1f0625c0,
_xParent=@0xbf80067c) at
/Users/tml/lo/tdf/accessibility/source/extended/accessiblelistboxentry.cxx:86
#30 0x235e1b43 in accessibility::AccessibleListBoxEntry::getAccessibleAtPoint
(this=0x257dd3e0, _aPoint=@0xbf800704) at
/Users/tml/lo/tdf/accessibility/source/extended/accessiblelistboxentry.cxx:483
#31 0x036d76f6 in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf8007e4) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:981
#32 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800894) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#33 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800944) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#34 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf8009f4) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#35 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800aa4) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#36 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800b54) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#37 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800c04) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#38 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800cb4) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984
#39 0x036d78cd in hitTestRunner (point={X = 299, Y = 417},
rxAccessibleContext=@0xbf800d64) at
/Users/tml/lo/tdf/vcl/aqua/source/a11y/aqua11ywrapper.mm:984

(*thousands* of hitTestRunner slots below that, gdb just prints and prints line
after line, I didn't have the patience to wait if it ever stops... Or maybe gdb
 gets totally confused by something.)

Anyway,
(gdb) p $esp
$7 = (void *) 0xbf7ffff0

and the stack bottom is at 0xbf800000:

Stack                  bf800000-bf96d000 [ 1460K] rw-/rwx SM=COW  thread 0

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to