Bug 337609 - Crash when entering new row with foreign keys
Summary: Crash when entering new row with foreign keys
Status: RESOLVED WORKSFORME
Alias: None
Product: KEXI
Classification: Applications
Component: Tables (show other bugs)
Version: 2.8.1
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-07-19 16:01 UTC by Zsombor
Modified: 2018-10-27 03:31 UTC (History)
1 user (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 Zsombor 2014-07-19 16:01:48 UTC
Application: kexi (2.8.1)
KDE Platform Version: 4.13.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-32-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
 I've entered a new row into a table, which has foreign keys to different tables.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7fc69e3a5700 (LWP 23978)):
#0  __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fc698000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7fc698000a60) at pthread_mutex_unlock.c:310
#2  0x00007fc6cb88c9c1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc6cb84a718 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc6cb84af03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc6cb84b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc6cf55a7be in QEventDispatcherGlib::processEvents (this=0x7fc6980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fc6cf52c0af in QEventLoop::processEvents (this=this@entry=0x7fc69e3a4da0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fc6cf52c3a5 in QEventLoop::exec (this=this@entry=0x7fc69e3a4da0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fc6cf428c5f in QThread::exec (this=this@entry=0x24e0d30) at thread/qthread.cpp:537
#10 0x00007fc6cf50d823 in QInotifyFileSystemWatcherEngine::run (this=0x24e0d30) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fc6cf42b32f in QThreadPrivate::start (arg=0x24e0d30) at thread/qthread_unix.cpp:349
#12 0x00007fc6cbd2a182 in start_thread (arg=0x7fc69e3a5700) at pthread_create.c:312
#13 0x00007fc6cf0e530d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc6d1088800 (LWP 22676)):
[KCrash Handler]
#6  deref (this=0x8) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  QVariant::clear (this=this@entry=0x2c4afb0) at kernel/qvariant.cpp:1875
#8  0x00007fc6cf54fd24 in QVariant::operator= (this=0x2c4afb0, variant=...) at kernel/qvariant.cpp:1809
#9  0x00007fc6ce61c3ec in ?? () from /usr/lib/libcalligradb.so.13
#10 0x00007fc6ce617a8d in KexiDB::Connection::insertRow(KexiDB::QuerySchema&, KexiDB::RecordData&, KexiDB::RowEditBuffer&, bool) () from /usr/lib/libcalligradb.so.13
#11 0x00007fc6ce65c5b7 in KexiDB::TableViewData::saveRow(KexiDB::RecordData&, bool, bool) () from /usr/lib/libcalligradb.so.13
#12 0x00007fc6ce65d653 in KexiDB::TableViewData::saveNewRow(KexiDB::RecordData&, bool) () from /usr/lib/libcalligradb.so.13
#13 0x00007fc69cb64ec0 in KexiDataAwareObjectInterface::acceptRowEdit() () from /usr/lib/libkexidataviewcommon.so.13
#14 0x00007fc69cb644c9 in KexiDataAwareObjectInterface::setCursorPosition(int, int, bool) () from /usr/lib/libkexidataviewcommon.so.13
#15 0x00007fc69c922825 in KexiTableView::handleContentsMousePressOrRelease(QMouseEvent*, bool) () from /usr/lib/libkexidatatable.so.13
#16 0x00007fc69c9229ed in KexiTableView::contentsMousePressEvent(QMouseEvent*) () from /usr/lib/libkexidatatable.so.13
#17 0x00007fc6cd358c2c in Q3ScrollView::viewportMousePressEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#18 0x00007fc6cd3574fc in Q3ScrollView::eventFilter(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt3Support.so.4
#19 0x00007fc69c924e06 in KexiTableView::eventFilter(QObject*, QEvent*) () from /usr/lib/libkexidatatable.so.13
#20 0x00007fc6cf52d646 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1ba81e0, receiver=receiver@entry=0x29fa940, event=event@entry=0x7fffe5e42350) at kernel/qcoreapplication.cpp:1063
#21 0x00007fc6cff1fe0c in QApplicationPrivate::notify_helper (this=this@entry=0x1ba81e0, receiver=receiver@entry=0x29fa940, e=e@entry=0x7fffe5e42350) at kernel/qapplication.cpp:4563
#22 0x00007fc6cff265dd in QApplication::notify (this=this@entry=0x1ba4460, receiver=receiver@entry=0x29fa940, e=e@entry=0x7fffe5e42350) at kernel/qapplication.cpp:4110
#23 0x00007fc6ccdd1d1a in KApplication::notify (this=0x1ba4460, receiver=0x29fa940, event=0x7fffe5e42350) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fc6cf52d4dd in QCoreApplication::notifyInternal (this=0x1ba4460, receiver=receiver@entry=0x29fa940, event=event@entry=0x7fffe5e42350) at kernel/qcoreapplication.cpp:953
#25 0x00007fc6cff25d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x29fa940, event=event@entry=0x7fffe5e42350, alienWidget=alienWidget@entry=0x29fa940, nativeWidget=nativeWidget@entry=0x1e7ea30, buttonDown=buttonDown@entry=0x7fc6d0a05318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#27 0x00007fc6cff9a9cb in QETWidget::translateMouseEvent (this=this@entry=0x1e7ea30, event=event@entry=0x7fffe5e426d0) at kernel/qapplication_x11.cpp:4634
#28 0x00007fc6cff9a269 in QApplication::x11ProcessEvent (this=0x1ba4460, event=event@entry=0x7fffe5e426d0) at kernel/qapplication_x11.cpp:3627
#29 0x00007fc6cffc1b02 in x11EventSourceDispatch (s=0x1ba98b0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fc6cb84ae04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fc6cb84b048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fc6cb84b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fc6cf55a7a1 in QEventDispatcherGlib::processEvents (this=0x1b20e30, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#34 0x00007fc6cffc1bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fc6cf52c0af in QEventLoop::processEvents (this=this@entry=0x7fffe5e42aa0, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007fc6cf52c3a5 in QEventLoop::exec (this=this@entry=0x7fffe5e42aa0, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007fc6cf531b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#38 0x00000000004008d1 in ?? ()
#39 0x00007fc6cf00bec5 in __libc_start_main (main=0x4008a0, argc=1, argv=0x7fffe5e42be8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe5e42bd8) at libc-start.c:287
#40 0x000000000040091f in _start ()

Jelentés ide: https://bugs.kde.org/
Comment 1 Jarosław Staniek 2014-09-01 00:05:47 UTC
Thanks @Zsombor,
Could you please provide a sample database that crashes. It greatly speeds up the work. You can attach it below or send to staniek @kde.org.
Comment 2 Jarosław Staniek 2014-12-03 09:51:42 UTC
Waiting for more info
Comment 3 Andrew Crouthamel 2018-09-25 03:35:39 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 4 Andrew Crouthamel 2018-10-27 03:31:01 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!