Bug 374067 - Crash when creating .kexi project file
Summary: Crash when creating .kexi project file
Status: CLOSED WORKSFORME
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 3.0.0
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2016-12-23 08:22 UTC by Nicolas L.
Modified: 2018-12-15 23:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas L. 2016-12-23 08:22:00 UTC
Application: kexi (3.0.0 (git e43e8e4 3.0))

Qt Version: 5.6.2
Frameworks Version: 5.29.0
Operating System: Linux 4.8.14-desktop-2.mga6 x86_64
Distribution: "Mageia 6"

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

i wanted to create a new database and when validated it crashed

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f06f6de8700 (LWP 3231)):
#0  0x00007f07119bff9d in poll () at /lib64/libc.so.6
#1  0x00007f070d1c8a54 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007f070d1c8b5c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007f0711f4b95b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007f0711ef6f9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007f0711d303bc in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007f0712b2b615 in QDBusConnectionManager::run() () at /lib64/libQt5DBus.so.5
#7  0x00007f0711d34ff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007f070d6eb66d in start_thread () at /lib64/libpthread.so.0
#9  0x00007f07119cbded in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f06fea2c700 (LWP 3229)):
#0  0x00007f07119bff9d in poll () at /lib64/libc.so.6
#1  0x00007f07084c2902 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f07084c4657 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f07012f4ba9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f0711d34ff9 in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f070d6eb66d in start_thread () at /lib64/libpthread.so.0
#6  0x00007f07119cbded in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0702f82800 (LWP 3228)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007f06e8ff0ecc in sqlite3Malloc () at /lib64/libsqlite3.so.0
#8  0x00007f06e8ff0fae in sqlite3MallocZero () at /lib64/libsqlite3.so.0
#9  0x00007f06e90814e1 in openDatabase () at /lib64/libsqlite3.so.0
#10 0x00007f06e7e52252 in SqliteConnection::drv_useDatabaseInternal(bool*, KDbMessageHandler*, bool) () at /usr/lib64/qt5/plugins/kdb3/kdb_sqlitedriver.so
#11 0x00007f070f48fe07 in KDbConnection::createDatabase(QString const&) () at /lib64/libKDb3.so.3
#12 0x00007f0710fc7928 in KexiProject::create(bool) () at /lib64/libkexicore.so.15
#13 0x00007f0712800fc4 in KexiMainWindow::createNewProject(KexiProjectData const&) () at /lib64/libkeximain.so.15
#14 0x00007f0712856b7d in KexiMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkeximain.so.15
#15 0x00007f0711f24379 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#16 0x00007f0712854782 in KexiNewProjectAssistant::createProject(KexiProjectData const&) () at /lib64/libkeximain.so.15
#17 0x00007f07128348a0 in KexiNewProjectAssistant::createProject(KDbConnectionData const&, QString const&, QString const&) () at /lib64/libkeximain.so.15
#18 0x00007f0712834fea in KexiNewProjectAssistant::nextPageRequested(KexiAssistantPage*) () at /lib64/libkeximain.so.15
#19 0x00007f0712855d48 in KexiNewProjectAssistant::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkeximain.so.15
#20 0x00007f0711f24379 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#21 0x00007f07109e0fa2 in KexiAssistantPage::next(KexiAssistantPage*) () at /lib64/libkexiutils.so.15
#22 0x00007f07109cea6c in KexiAssistantPage::slotLinkActivated(QString const&) () at /lib64/libkexiutils.so.15
#23 0x00007f07109e1ef1 in KexiAssistantPage::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkexiutils.so.15
#24 0x00007f0711f24379 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#25 0x00007f07123e12e2 in QLabel::linkActivated(QString const&) () at /lib64/libQt5Widgets.so.5
#26 0x00007f07123e4d79 in QLabel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libQt5Widgets.so.5
#27 0x00007f0711f24379 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#28 0x00007f0712466a45 in QWidgetTextControl::linkActivated(QString const&) () at /lib64/libQt5Widgets.so.5
#29 0x00007f071246c644 in QWidgetTextControlPrivate::activateLinkUnderCursor(QString) () at /lib64/libQt5Widgets.so.5
#30 0x00007f071246d482 in QWidgetTextControlPrivate::mouseReleaseEvent(QEvent*, Qt::MouseButton, QPointF const&, QFlags<Qt::KeyboardModifier>, QFlags<Qt::MouseButton>, QPoint const&) () at /lib64/libQt5Widgets.so.5
#31 0x00007f0712471c53 in QWidgetTextControl::processEvent(QEvent*, QMatrix const&, QWidget*) () at /lib64/libQt5Widgets.so.5
#32 0x00007f0712468b9b in QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () at /lib64/libQt5Widgets.so.5
#33 0x00007f07123e2f58 in QLabelPrivate::sendControlEvent(QEvent*) () at /lib64/libQt5Widgets.so.5
#34 0x00007f07122e4348 in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#35 0x00007f07123de66e in QFrame::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#36 0x00007f07122a1c4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#37 0x00007f07122a762e in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007f0711ef9118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#39 0x00007f07122a6395 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /lib64/libQt5Widgets.so.5
#40 0x00007f07122fe610 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () at /lib64/libQt5Widgets.so.5
#41 0x00007f0712300e4b in QWidgetWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#42 0x00007f07122a1c4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#43 0x00007f07122a6db6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#44 0x00007f0711ef9118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#45 0x00007f070e307af0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#46 0x00007f070e309545 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /lib64/libQt5Gui.so.5
#47 0x00007f070e2e870b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#48 0x00007f0701329ed0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#49 0x00007f070d1c8887 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#50 0x00007f070d1c8ab8 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#51 0x00007f070d1c8b5c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#52 0x00007f0711f4b936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#53 0x00007f0711ef6f9a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#54 0x00007f0711eff301 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#55 0x0000000000400966 in main ()

Reported using DrKonqi
Comment 1 Jarosław Staniek 2016-12-23 11:50:56 UTC
Hi, thanks for the report.

First, I changed the summary because the crash happened not at startup but at a .kexi file creation time. 

I see relevant crash information and it's in SQLite:

#7  0x00007f06e8ff0ecc in sqlite3Malloc () at /lib64/libsqlite3.so.0
#8  0x00007f06e8ff0fae in sqlite3MallocZero () at /lib64/libsqlite3.so.0
#9  0x00007f06e90814e1 in openDatabase () at /lib64/libsqlite3.so.0

Could you please inform me what is the sqlite3 library version? If you can point me to binary and source package of SQLite3, it would be even better. 

Contacting author of the binary package(s) would be also a good move. I have no information how their testing process looks. 

Finally, what does 'validated' mean in your report?
Comment 2 Jarosław Staniek 2016-12-23 11:51:21 UTC
Waiting for info.
Comment 3 Christoph Feck 2016-12-30 18:30:09 UTC
If you can provide the information requested in comment #1, please add a comment.
Comment 4 Andrew Crouthamel 2018-09-26 22:26:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 02:40:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!