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

            Bug ID: 159666
           Summary: Crash when table and line object are selected at the
                    same time
           Product: LibreOffice
           Version: 7.6.4.1 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: senduntome+bugzi...@live.com

Description:
In a draw document containing a small number of tables, rectangles, and
connectors, the draw application will crash whenever a table and a line object
are selected together.  

For example:
Selecting all items with ctrl+A crashes Draw.
Selecting a table and then a line with shift+click crashes Draw.
Clicking and dragging to select both items crashes Draw.

Steps to Reproduce:
1. Select a connector line and a table at the same time

Actual Results:
Crash to desktop

Expected Results:
The line and table are selected


Reproducible: Always


User Profile Reset: No

Additional Info:

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.fedoraproject.org/>
Enable debuginfod for this session? (y or [n]) [answered N; input not from
terminal]
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
[New LWP 29722]
[New LWP 29723]
[New LWP 29724]
[New LWP 29775]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
0x00007f0a42999bed in poll () from /lib64/libc.so.6
[Current thread is 1 (Thread 0x7f0a39751100 (LWP 29721))]

Thread 5 (Thread 0x7f0a18a006c0 (LWP 29775) "soffice.bin"):
#0  0x00007f0a429a43ef in pselect () at /lib64/libc.so.6
#1  0x00007f0a29b01eac in usbmuxd_listen_inotify () at
/lib64/libusbmuxd-2.0.so.6
#2  0x00007f0a29b02312 in device_monitor () at /lib64/libusbmuxd-2.0.so.6
#3  0x00007f0a42920897 in start_thread () at /lib64/libc.so.6
#4  0x00007f0a429a780c in clone3 () at /lib64/libc.so.6

Thread 4 (Thread 0x7f0a234006c0 (LWP 29724) "WaylandEventThr"):
#0  0x00007f0a42999bed in poll () at /lib64/libc.so.6
#1  0x00007f0a29c4c0bc in QtWaylandClient::EventThread::run() () at
/lib64/libQt5WaylandClient.so.5
#2  0x00007f0a2baf5cad in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#3  0x00007f0a42920897 in start_thread () at /lib64/libc.so.6
#4  0x00007f0a429a780c in clone3 () at /lib64/libc.so.6

Thread 3 (Thread 0x7f0a23e006c0 (LWP 29723) "WaylandEventThr"):
#0  0x00007f0a4291d169 in __futex_abstimed_wait_common () at /lib64/libc.so.6
#1  0x00007f0a4291fb09 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libc.so.6
#2  0x00007f0a2bafb967 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at
/lib64/libQt5Core.so.5
#3  0x00007f0a29c4c069 in QtWaylandClient::EventThread::run() () at
/lib64/libQt5WaylandClient.so.5
#4  0x00007f0a2baf5cad in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#5  0x00007f0a42920897 in start_thread () at /lib64/libc.so.6
#6  0x00007f0a429a780c in clone3 () at /lib64/libc.so.6

Thread 2 (Thread 0x7f0a298006c0 (LWP 29722) "QDBusConnection"):
#0  0x00007f0a42999bed in poll () at /lib64/libc.so.6
#1  0x00007f0a3b651eb4 in g_main_context_iterate_unlocked.isra () at
/lib64/libglib-2.0.so.0
#2  0x00007f0a3b5f4ad3 in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#3  0x00007f0a2bd073d6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib64/libQt5Core.so.5
#4  0x00007f0a2bcb383b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/lib64/libQt5Core.so.5
#5  0x00007f0a2baf48a0 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f0a29f62dab in QDBusConnectionManager::run() () at
/lib64/libQt5DBus.so.5
#7  0x00007f0a2baf5cad in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#8  0x00007f0a42920897 in start_thread () at /lib64/libc.so.6
#9  0x00007f0a429a780c in clone3 () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0a39751100 (LWP 29721) "soffice.bin"):
#0  0x00007f0a42999bed in poll () at /lib64/libc.so.6
#1  0x00007f0a2a841108 in KCrash::startProcess(int, char const**, bool) [clone
.isra.0] () at /lib64/libKF5Crash.so.5
#2  0x00007f0a2a841d4f in KCrash::defaultCrashHandler(int) () at
/lib64/libKF5Crash.so.5
#3  0x00007f0a42bc3fb5 in (anonymous namespace)::signalHandlerFunction(int,
siginfo_t*, void*) () at /usr/lib64/libreoffice/program/libuno_sal.so.3
#4  0x00007f0a428d09a0 in <signal handler called> () at /lib64/libc.so.6
#5  0x00007f0a40526c24 in SdrObject::getParentSdrObjListFromSdrObject() const
() at /usr/lib64/libreoffice/program/libsvxcorelo.so
#6  0x00007f0a40526c3d in SdrObject::getSdrPageFromSdrObject() const () at
/usr/lib64/libreoffice/program/libsvxcorelo.so
#7  0x00007f0a4053d1aa in SdrEdgeObj::GetConnectedNode(bool) const () at
/usr/lib64/libreoffice/program/libsvxcorelo.so
#8  0x00007f0a404ecdae in ImpEdgeHdl::CreateB2dIAObject() () at
/usr/lib64/libreoffice/program/libsvxcorelo.so
#9  0x00007f0a405d8fe5 in sdr::table::SdrTableObj::AddToHdlList(SdrHdlList&)
const () at /usr/lib64/libreoffice/program/libsvxcorelo.so
#10 0x00007f0a405100d1 in SdrMarkView::SetMarkHandles(SfxViewShell*) () at
/usr/lib64/libreoffice/program/libsvxcorelo.so
#11 0x00007f0a40512749 in SdrMarkView::MarkObj(Point const&, short, bool, bool)
() at /usr/lib64/libreoffice/program/libsvxcorelo.so
#12 0x00007f0a108380b0 in sd::FuSelection::MouseButtonDown(MouseEvent const&)
() at /usr/lib64/libreoffice/program/../program/libsdlo.so
#13 0x00007f0a109f2ed6 in sd::ViewShell::MouseButtonDown(MouseEvent const&,
sd::Window*) () at /usr/lib64/libreoffice/program/../program/libsdlo.so
#14 0x00007f0a1099ce4e in sd::DrawViewShell::MouseButtonDown(MouseEvent const&,
sd::Window*) () at /usr/lib64/libreoffice/program/../program/libsdlo.so
#15 0x00007f0a3ec858e9 in ImplHandleMouseEvent(VclPtr<vcl::Window> const&,
NotifyEventType, bool, long, long, unsigned long, unsigned short,
MouseEventModifiers) () at /usr/lib64/libreoffice/program/libvcllo.so
#16 0x00007f0a3ec864dd in ImplHandleSalMouseButtonDown(vcl::Window*,
SalMouseEvent const*) () at /usr/lib64/libreoffice/program/libvcllo.so
#17 0x00007f0a3ec8dd4b in ImplWindowFrameProc(vcl::Window*, SalEvent, void
const*) () at /usr/lib64/libreoffice/program/libvcllo.so
#18 0x00007f0a2b9d7071 in QtWidget::handleMouseButtonEvent(QtFrame const&,
QMouseEvent const*) () at /usr/lib64/libreoffice/program/libvclplug_qt5lo.so
#19 0x00007f0a2b9d716d in QtWidget::mousePressEvent(QMouseEvent*) () at
/usr/lib64/libreoffice/program/libvclplug_qt5lo.so
#20 0x00007f0a2b3f36b8 in QWidget::event(QEvent*) () at
/lib64/libQt5Widgets.so.5
#21 0x00007f0a2b3aeb95 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib64/libQt5Widgets.so.5
#22 0x00007f0a2b3b7476 in QApplication::notify(QObject*, QEvent*) () at
/lib64/libQt5Widgets.so.5
#23 0x00007f0a2bcb4e78 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib64/libQt5Core.so.5
#24 0x00007f0a2b3b56c4 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
at /lib64/libQt5Widgets.so.5
#25 0x00007f0a2b40d189 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at
/lib64/libQt5Widgets.so.5
#26 0x00007f0a2b41070f in QWidgetWindow::event(QEvent*) () at
/lib64/libQt5Widgets.so.5
#27 0x00007f0a2b3aeb95 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /lib64/libQt5Widgets.so.5
#28 0x00007f0a2bcb4e78 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /lib64/libQt5Core.so.5
#29 0x00007f0a2a36cbfb in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /lib64/libQt5Gui.so.5
#30 0x00007f0a2a34acfc in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /lib64/libQt5Gui.so.5
#31 0x00007f0a29c88fa4 in userEventSourceDispatch(_GSource*, int (*)(void*),
void*) () at /lib64/libQt5WaylandClient.so.5
#32 0x00007f0a3b5f6e5c in g_main_context_dispatch_unlocked.lto_priv () at
/lib64/libglib-2.0.so.0
#33 0x00007f0a3b651f18 in g_main_context_iterate_unlocked.isra () at
/lib64/libglib-2.0.so.0
#34 0x00007f0a3b5f4ad3 in g_main_context_iteration () at
/lib64/libglib-2.0.so.0
#35 0x00007f0a2bd073b9 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /lib64/libQt5Core.so.5
#36 0x00007f0a2b9c313b in QtInstance::ImplYield(bool, bool) () at
/usr/lib64/libreoffice/program/libvclplug_qt5lo.so
#37 0x00007f0a2b9c322e in QtInstance::DoYield(bool, bool) () at
/usr/lib64/libreoffice/program/libvclplug_qt5lo.so
#38 0x00007f0a3ef5c78c in ImplYield(bool, bool) () at
/usr/lib64/libreoffice/program/libvcllo.so
#39 0x00007f0a3ef5c945 in Application::Execute() () at
/usr/lib64/libreoffice/program/libvcllo.so
#40 0x00007f0a42ada75c in desktop::Desktop::Main() () at
/usr/lib64/libreoffice/program/libsofficeapp.so
#41 0x00007f0a3ef6f22a in ImplSVMain() () at
/usr/lib64/libreoffice/program/libvcllo.so
#42 0x00007f0a42af4348 in soffice_main () at
/usr/lib64/libreoffice/program/libsofficeapp.so
#43 0x00005618fbe870c7 in main ()
[Inferior 1 (process 29721) detached]

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to