Bug 372372 - Kexi crashes when opening PSQL DB
Summary: Kexi crashes when opening PSQL DB
Status: CLOSED UPSTREAM
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.9.11
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-11-12 01:14 UTC by Tim Van den Langenbergh
Modified: 2018-12-15 23:26 UTC (History)
3 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 Tim Van den Langenbergh 2016-11-12 01:14:40 UTC
Application: kexi (2.9.11)
KDE Platform Version: 4.14.25
Qt Version: 4.8.7
Operating System: Linux 4.8.6-2-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:

I was trying to open a postgresql DB, version 9.4. I'm running OpenSUSE Tumbleweed and have set up postgresql to use MD5 passwords.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f34ad557e00 (LWP 30707))]

Thread 3 (Thread 0x7f348354c700 (LWP 30972)):
#0  0x00007f34ab3ff6fd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f34a78fcb00 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7f348354ba20, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  0x00007f34a78fcb00 in g_wakeup_acknowledge (wakeup=0x7f34840025a0) at gwakeup.c:210
#3  0x00007f34a78b8325 in g_main_context_check (context=context@entry=0x7f347c0009a0, max_priority=2147483647, fds=fds@entry=0x7f347c003010, n_fds=n_fds@entry=1) at gmain.c:3707
#4  0x00007f34a78b8814 in g_main_context_iterate (context=context@entry=0x7f347c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3926
#5  0x00007f34a78b898c in g_main_context_iteration (context=0x7f347c0009a0, may_block=may_block@entry=1) at gmain.c:3990
#6  0x00007f34ab88384e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f347c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#7  0x00007f34ab851b9f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f348354bc40, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f34ab851f05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f348354bc40, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f34ab740899 in QThread::exec() (this=this@entry=0x15baf40) at thread/qthread.cpp:538
#10 0x00007f34ab831983 in QInotifyFileSystemWatcherEngine::run() (this=0x15baf40) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007f34ab74316a in QThreadPrivate::start(void*) (arg=0x15baf40) at thread/qthread_unix.cpp:352
#12 0x00007f34a87ad454 in start_thread (arg=0x7f348354c700) at pthread_create.c:333
#13 0x00007f34ab40c39f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f3488dbe700 (LWP 30726)):
#0  0x00007f34ab40368d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f34a78b8876 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7f3484003210, timeout=<optimized out>, context=0x7f34840009a0) at gmain.c:4228
#2  0x00007f34a78b8876 in g_main_context_iterate (context=context@entry=0x7f34840009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3924
#3  0x00007f34a78b898c in g_main_context_iteration (context=0x7f34840009a0, may_block=may_block@entry=1) at gmain.c:3990
#4  0x00007f34ab88384e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f34840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f34ab851b9f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3488dbdc40, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f34ab851f05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f3488dbdc40, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f34ab740899 in QThread::exec() (this=this@entry=0x14a0980) at thread/qthread.cpp:538
#8  0x00007f34ab831983 in QInotifyFileSystemWatcherEngine::run() (this=0x14a0980) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f34ab74316a in QThreadPrivate::start(void*) (arg=0x14a0980) at thread/qthread_unix.cpp:352
#10 0x00007f34a87ad454 in start_thread (arg=0x7f3488dbe700) at pthread_create.c:333
#11 0x00007f34ab40c39f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f34ad557e00 (LWP 30707)):
[KCrash Handler]
#6  0x00007f34ab6bcc68 in main_arena () at /lib64/libc.so.6
#7  0x00007f34828f6905 in pqxx::connection_base::activate() () at /usr/lib64/libpqxx-4.0.so
#8  0x00007f34828f8f62 in  () at /usr/lib64/libpqxx-4.0.so
#9  0x00007f348291bc20 in pqxx::transaction_base::DirectExec(char const*, int) () at /usr/lib64/libpqxx-4.0.so
#10 0x00007f348290638f in pqxx::nontransaction::do_exec(char const*) () at /usr/lib64/libpqxx-4.0.so
#11 0x00007f348291c966 in pqxx::transaction_base::exec(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () at /usr/lib64/libpqxx-4.0.so
#12 0x00007f3482b423bf in  () at /usr/lib64/kde4/kexidb_pqxxsqldriver.so
#13 0x00007f3482b43dca in  () at /usr/lib64/kde4/kexidb_pqxxsqldriver.so
#14 0x00007f34aa235c5a in KexiDB::Connection::useDatabase(QString const&, bool, bool*, KexiDB::MessageHandler*) (this=0x16614c0, dbName=..., kexiCompatible=<optimized out>, cancelled=0x7ffe1973bc4f, msgHandler=0x7ffe1973bcb0) at /usr/src/debug/calligra-2.9.11/libs/db/connection.cpp:657
#15 0x00007f34acde2ffa in KexiProject::openInternal(bool*) () at /usr/lib64/libkexicore.so.14
#16 0x00007f34acde3699 in KexiProject::open(bool*) () at /usr/lib64/libkexicore.so.14
#17 0x00007f34ad0a4134 in KexiMainWindow::openProject(KexiProjectData const&) () at /usr/lib64/libkeximain.so.14
#18 0x00007f34ad0a663f in KexiMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.154] () at /usr/lib64/libkeximain.so.14
#19 0x00007f34ab8675d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x135d920, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3576
#20 0x00007f34ad0ce1ba in KexiOpenProjectAssistant::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.7] () at /usr/lib64/libkeximain.so.14
#21 0x00007f34ab8675d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x16a4f20, m=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3576
#22 0x00007f34aae9fb5f in KexiProjectSelectorWidget::projectExecuted(KexiProjectData*) () at /usr/lib64/libkexiextendedwidgets.so.14
#23 0x00007f34ab8675d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1379170, m=m@entry=0x7f34ac89c4e0 <QTreeWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe1973c1f0) at kernel/qobject.cpp:3576
#24 0x00007f34ac3419d0 in QTreeWidget::itemDoubleClicked(QTreeWidgetItem*, int) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qtreewidget.cpp:227
#25 0x00007f34ab8675d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x1379170, m=m@entry=0x7f34ac899dc0 <QAbstractItemView::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe1973c300) at kernel/qobject.cpp:3576
#26 0x00007f34ac2c8f95 in QAbstractItemView::doubleClicked(QModelIndex const&) (this=this@entry=0x1379170, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:354
#27 0x00007f34ac311fab in QTreeView::mouseDoubleClickEvent(QMouseEvent*) (this=0x1379170, event=0x7ffe1973cad0) at itemviews/qtreeview.cpp:1867
#28 0x00007f34abdea4c0 in QWidget::event(QEvent*) (this=this@entry=0x1379170, event=event@entry=0x7ffe1973cad0) at kernel/qwidget.cpp:8393
#29 0x00007f34ac1ad41e in QFrame::event(QEvent*) (this=0x1379170, e=0x7ffe1973cad0) at widgets/qframe.cpp:557
#30 0x00007f34ac2d2523 in QAbstractItemView::viewportEvent(QEvent*) (this=this@entry=0x1379170, event=event@entry=0x7ffe1973cad0) at itemviews/qabstractitemview.cpp:1644
#31 0x00007f34ac313e1c in QTreeView::viewportEvent(QEvent*) (this=0x1379170, event=0x7ffe1973cad0) at itemviews/qtreeview.cpp:1252
#32 0x00007f34ab853451 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (this=this@entry=0xc4d410, receiver=receiver@entry=0x194e890, event=event@entry=0x7ffe1973cad0) at kernel/qcoreapplication.cpp:1065
#33 0x00007f34abd930cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0xc4d410, receiver=receiver@entry=0x194e890, e=e@entry=0x7ffe1973cad0) at kernel/qapplication.cpp:4561
#34 0x00007f34abd9b767 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0xc3ab90, receiver=receiver@entry=0x194e890, e=e@entry=0x7ffe1973cad0) at kernel/qapplication.cpp:4108
#35 0x00007f34a98d164a in KApplication::notify(QObject*, QEvent*) (this=0xc3ab90, receiver=0x194e890, event=0x7ffe1973cad0) at /usr/src/debug/kdelibs-4.14.25/kdeui/kernel/kapplication.cpp:311
#36 0x00007f34ab8532cd in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0xc3ab90, receiver=receiver@entry=0x194e890, event=event@entry=0x7ffe1973cad0) at kernel/qcoreapplication.cpp:955
#37 0x00007f34abd9978b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#38 0x00007f34abd9978b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) (receiver=receiver@entry=0x194e890, event=event@entry=0x7ffe1973cad0, alienWidget=alienWidget@entry=0x194e890, nativeWidget=nativeWidget@entry=0x165d5b0, buttonDown=buttonDown@entry=0x7f34ac8b72e8 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#39 0x00007f34abe144b9 in QETWidget::translateMouseEvent(_XEvent const*) (this=this@entry=0x165d5b0, event=event@entry=0x7ffe1973ce30) at kernel/qapplication_x11.cpp:4536
#40 0x00007f34abe12e6c in QApplication::x11ProcessEvent(_XEvent*) (this=0xc3ab90, event=event@entry=0x7ffe1973ce30) at kernel/qapplication_x11.cpp:3653
#41 0x00007f34abe3bce2 in x11EventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0xc4c810, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#42 0x00007f34a78b8677 in g_main_context_dispatch (context=0xc4c640) at gmain.c:3203
#43 0x00007f34a78b8677 in g_main_context_dispatch (context=context@entry=0xc4c640) at gmain.c:3856
#44 0x00007f34a78b88e0 in g_main_context_iterate (context=context@entry=0xc4c640, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3929
#45 0x00007f34a78b898c in g_main_context_iteration (context=0xc4c640, may_block=may_block@entry=1) at gmain.c:3990
#46 0x00007f34ab88382e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xc49160, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#47 0x00007f34abe3bdb6 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#48 0x00007f34ab851b9f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe1973d210, flags=...) at kernel/qeventloop.cpp:149
#49 0x00007f34ab851f05 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe1973d210, flags=...) at kernel/qeventloop.cpp:204
#50 0x00007f34ab857af9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#51 0x00000000004008d9 in main ()

Reported using DrKonqi