https://bugs.documentfoundation.org/show_bug.cgi?id=97854

--- Comment #2 from Julien Nabet <[email protected]> ---
Additional findings in gdb:
(gdb) frame 1
#1  0x00002aaad95932a8 in dbaui::OJoinDesignViewAccess::getAccessibleChild
(this=0x3d36a30, i=6)
    at
/home/julien/compile-libreoffice/libreoffice/dbaccess/source/ui/querydesign/JAccess.cxx:80
80                    aRet = m_pTableView->getTableConnections()[i -
nTableWindowCount]->GetAccessible();
(gdb) p m_pTableView->getTableConnections()
$1 = std::__debug::vector of length 4, capacity 4 = {{m_rInnerRef =
rtl::Reference to 0x3cf0900}, {m_rInnerRef = empty rtl::Reference}, {
    m_rInnerRef = rtl::Reference to 0x38dd820}, {m_rInnerRef = rtl::Reference
to 0x38de2b0}}
(gdb) p nTableWindowCount
$2 = 5
(gdb) p i
$3 = 6
(gdb) p m_pTableView->getTableConnections()[0]
$4 = (__gnu_cxx::__alloc_traits<std::allocator<VclPtr<dbaui::OTableConnection>
> >::value_type &) @0x3cf1d70: {m_rInnerRef = rtl::Reference to 0x3cf0900}
(gdb) p m_pTableView->getTableConnections()[1]
$5 = (__gnu_cxx::__alloc_traits<std::allocator<VclPtr<dbaui::OTableConnection>
> >::value_type &) @0x3cf1d78: {m_rInnerRef = empty rtl::Reference}
(gdb) p m_pTableView->getTableConnections()[2]
$6 = (__gnu_cxx::__alloc_traits<std::allocator<VclPtr<dbaui::OTableConnection>
> >::value_type &) @0x3cf1d80: {m_rInnerRef = rtl::Reference to 0x38dd820}
(gdb) p m_pTableView->getTableConnections()[3]
$7 = (__gnu_cxx::__alloc_traits<std::allocator<VclPtr<dbaui::OTableConnection>
> >::value_type &) @0x3cf1d88: {m_rInnerRef = rtl::Reference to 0x38de2b0}

I wonder if it's normal that second element is an empty ref.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to