Bug 423504 - table export to clipboard crashes
Summary: table export to clipboard crashes
Status: CONFIRMED
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 3.1.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-25 14:23 UTC by Mehmet Rıza Saraç
Modified: 2022-10-12 07:12 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mehmet Rıza Saraç 2020-06-25 14:23:00 UTC
Application: kexi-3 (3.1.0 ())

Qt Version: 5.9.5
Frameworks Version: 5.47.0
Operating System: Linux 5.3.0-61-generic x86_64
Distribution: Ubuntu 18.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed: trying to export a table to clipboard which was on a localy running postgresql server

The crash can be reproduced every time.

-- Backtrace:
Application: Kexi (kexi-3), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5118858c80 (LWP 8060))]

Thread 4 (Thread 0x7f50e0d1f700 (LWP 8068)):
#0  0x00007f5112f059f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7f50e7cd5110) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007f5112f059f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55e2d07a8500, cond=0x7f50e7cd50e8) at pthread_cond_wait.c:502
#2  0x00007f5112f059f3 in __pthread_cond_wait (cond=0x7f50e7cd50e8, mutex=0x55e2d07a8500) at pthread_cond_wait.c:655
#3  0x00007f51131ce8bc in std::condition_variable::wait(std::unique_lock<std::mutex>&) () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007f50e70160a7 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#5  0x00007f50e70161e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#6  0x00007f51131d46df in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f5112eff6db in start_thread (arg=0x7f50e0d1f700) at pthread_create.c:463
#8  0x00007f511715e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f50f5c05700 (LWP 8062)):
#0  0x00007f5111a03b2b in g_main_context_prepare () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f5111a044fb in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f5111a046dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f51177118ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f51176b690a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f51174d523a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f510f1abd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f51174da17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5112eff6db in start_thread (arg=0x7f50f5c05700) at pthread_create.c:463
#9  0x00007f511715e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f50fe959700 (LWP 8061)):
#0  0x00007f5117151bf9 in __GI___poll (fds=0x7f50fe958ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5109a3f747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5109a4136a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f51017065e9 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f51174da17d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f5112eff6db in start_thread (arg=0x7f50fe959700) at pthread_create.c:463
#6  0x00007f511715e88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5118858c80 (LWP 8060)):
[KCrash Handler]
#6  0x00007f51160e2a20 in KDbConnection::recordCount(KDbTableSchema const&) () at /usr/lib/x86_64-linux-gnu/libKDb3.so.4
#7  0x00007f50c2804b84 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kexi/3.1/kexi_csvimportexportplugin.so
#8  0x00007f50c27f015b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kexi/3.1/kexi_csvimportexportplugin.so
#9  0x00007f511673677d in KexiInternalPart::createModalDialogInstance(QString const&, char const*, KDbMessageHandler*, char const*, QMap<QString, QString>*) () at /usr/lib/x86_64-linux-gnu/libkexicore3.1.so.3.1
#10 0x00007f51184136fb in KexiMainWindow::copyItemToClipboardAsDataTable(KexiPart::Item*) () at /usr/lib/x86_64-linux-gnu/libkeximain3.1.so.3.1
#11 0x00007f511846e114 in  () at /usr/lib/x86_64-linux-gnu/libkeximain3.1.so.3.1
#12 0x00007f51176e7555 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f5116e17b62 in KexiProjectNavigator::exportItemToClipboardAsDataTable(KexiPart::Item*) () at /usr/lib/x86_64-linux-gnu/libkexiextendedwidgets3.1.so.3.1
#14 0x00007f51176e7555 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f5117cc7122 in QAction::triggered(bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f5117cc980c in QAction::activate(QAction::ActionEvent) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f5117e460fc in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f5117e4d5ab in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f5117e4e3d3 in QMenu::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f5117d0c048 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007f5117e506fb in QMenu::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f5117ccd83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f5117cd565f in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f51176b88d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f5117cd4632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f5117d26ea5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007f5117d297da in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f5117ccd83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007f5117cd5104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007f51176b88d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007f5113833583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#32 0x00007f5113835055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#33 0x00007f511380c2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007f510176b260 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#35 0x00007f5111a04417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f5111a04650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f5111a046dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f511771188f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f51176b690a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f5117e4b2f0 in QMenu::exec(QPoint const&, QAction*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007f5116de1cff in KexiProjectNavigator::contextMenuEvent(QContextMenuEvent*) () at /usr/lib/x86_64-linux-gnu/libkexiextendedwidgets3.1.so.3.1
#42 0x00007f5117d0ce31 in QWidget::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007f5117ccd83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007f5117cd5e6e in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007f51176b88d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007f5117d272a9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007f5117d297da in  () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007f5117ccd83c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007f5117cd5104 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007f51176b88d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007f5113833583 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#52 0x00007f5113835055 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#53 0x00007f511380c2eb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#54 0x00007f510176b260 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#55 0x00007f5111a04417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f5111a04650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f5111a046dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f511771188f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007f51176b690a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#60 0x00007f51176bf9b4 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#61 0x000055e2ce967e0a in  ()
#62 0x00007f511705eb97 in __libc_start_main (main=0x55e2ce967d30, argc=1, argv=0x7ffe4ff8e608, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe4ff8e5f8) at ../csu/libc-start.c:310
#63 0x000055e2ce967f7a in _start ()

Reported using DrKonqi
Comment 1 Justin Zobel 2022-10-12 03:50:01 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!