Bug 408853

Summary: Crash on Form Design, probably with check boxes and yes/no fields.
Product: [Applications] KEXI Reporter: Batman's Byte <batmans_byte>
Component: TablesAssignee: Kexi Bugs <kexi-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash CC: adam, inksi, staniek
Priority: NOR Keywords: drkonqi
Version: 3.0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Batman's Byte 2019-06-17 21:18:40 UTC
Application: kexi (3.0.1 (git ec256b8 3.0))

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.179-99-default x86_64
Distribution: "openSUSE Leap 42.3"

-- Information about the crash:
Just starting with the program, have updated the table a bit, changed required option on some things, perhaps didn't save table? Deleted combo box for yes/no field, tried to add check box for combo field and it crashed in there somewhere.

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 0x7f321f37b880 (LWP 16473))]

Thread 4 (Thread 0x7f31f2456700 (LWP 16482)):
#0  0x00007f32198130ff in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f31fd964b4b in  () at /usr/lib64/dri/r600_dri.so
#2  0x00007f31fd9648c7 in  () at /usr/lib64/dri/r600_dri.so
#3  0x00007f321980e724 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f321dcb0e8d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f320051c700 (LWP 16475)):
#0  0x00007f321dca830d in poll () at /lib64/libc.so.6
#1  0x00007f32192f1314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f32192f142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f321e22b16b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f321e1d8bbb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f321e013f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f3215ad6285 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f321e0189e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f321980e724 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f321dcb0e8d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f3208863700 (LWP 16474)):
#0  0x00007f321dca830d in poll () at /lib64/libc.so.6
#1  0x00007f3213b753c2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f3213b76faf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f320adbe149 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f321e0189e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f321980e724 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f321dcb0e8d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f321f37b880 (LWP 16473)):
[KCrash Handler]
#6  0x0000002e00000001 in  ()
#7  0x00007f31d58b883d in KexiDataSourcePage::slotFieldSelected() () at /usr/lib64/libkexiformutils.so.15
#8  0x00007f31d58b897c in KexiDataSourcePage::clearWidgetDataSourceSelection() () at /usr/lib64/libkexiformutils.so.15
#9  0x00007f31d58d8599 in  () at /usr/lib64/libkexiformutils.so.15
#10 0x00007f321e204791 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f321e8950c2 in QComboBox::editTextChanged(QString const&) () at /usr/lib64/libQt5Widgets.so.5
#12 0x00007f321e89e8c9 in  () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007f321e204791 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#14 0x00007f321e8d2502 in QLineEdit::textChanged(QString const&) () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007f321e8d86b9 in  () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007f321e204791 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#17 0x00007f321e95b145 in QWidgetLineControl::textChanged(QString const&) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f321e95e454 in QWidgetLineControl::finishChange(int, bool, bool) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f321e95e758 in QWidgetLineControl::internalSetText(QString const&, int, bool) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f321e8d46b2 in QLineEdit::setText(QString const&) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007f321e8995f3 in QComboBox::setEditText(QString const&) () at /usr/lib64/libQt5Widgets.so.5
#22 0x00007f321d969f2f in KexiFieldComboBox::setFieldOrExpression(QString const&) () at /usr/lib64/libkexiextendedwidgets.so.15
#23 0x00007f31d58b99e6 in KexiDataSourcePage::assignPropertySet(KPropertySet*) () at /usr/lib64/libkexiformutils.so.15
#24 0x00007f31d58bc72a in KexiFormView::slotPropertySetSwitched() () at /usr/lib64/libkexiformutils.so.15
#25 0x00007f31d58d8825 in  () at /usr/lib64/libkexiformutils.so.15
#26 0x00007f321e204791 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f31d5611b72 in KFormDesigner::Form::updatePropertiesForSelection(QWidget*, QFlags<KFormDesigner::Form::WidgetSelectionFlag>) () at /usr/lib64/libkformdesigner.so.15
#28 0x00007f31d5611bd2 in KFormDesigner::Form::emitSelectionChanged(QWidget*, QFlags<KFormDesigner::Form::WidgetSelectionFlag>) () at /usr/lib64/libkformdesigner.so.15
#29 0x00007f31d5611d8a in KFormDesigner::Form::selectWidgetInternal(QWidget*, QFlags<KFormDesigner::Form::WidgetSelectionFlag>) () at /usr/lib64/libkformdesigner.so.15
#30 0x00007f31d5612064 in KFormDesigner::Form::selectWidget(QWidget*, QFlags<KFormDesigner::Form::WidgetSelectionFlag>) () at /usr/lib64/libkformdesigner.so.15
#31 0x00007f31d563541e in KFormDesigner::InsertWidgetCommand::execute() () at /usr/lib64/libkformdesigner.so.15
#32 0x00007f31d5f7a490 in KUndo2Command::redoMergedCommands() () at /usr/lib64/libkexiundo.so.15
#33 0x00007f31d5f7cc85 in KUndo2QStack::push(KUndo2Command*) () at /usr/lib64/libkexiundo.so.15
#34 0x00007f31d56098a7 in KFormDesigner::Form::addCommand(KFormDesigner::Command*, KFormDesigner::Form::AddCommandOption) () at /usr/lib64/libkformdesigner.so.15
#35 0x00007f31d55f63f6 in KFormDesigner::Container::handleMouseReleaseEvent(QObject*, QMouseEvent*) () at /usr/lib64/libkformdesigner.so.15
#36 0x00007f31d55f7e1c in KFormDesigner::Container::eventFilter(QObject*, QEvent*) () at /usr/lib64/libkformdesigner.so.15
#37 0x00007f321e1daa71 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#38 0x00007f321e788245 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#39 0x00007f321e78d144 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#40 0x00007f321e1daba5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#41 0x00007f321e78be40 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5
#42 0x00007f321e7e35e1 in  () at /usr/lib64/libQt5Widgets.so.5
#43 0x00007f321e7e5b83 in  () at /usr/lib64/libQt5Widgets.so.5
#44 0x00007f321e78826c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#45 0x00007f321e78c8ca in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#46 0x00007f321e1daba5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#47 0x00007f321a43b84b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#48 0x00007f321a43cfe5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#49 0x00007f321a41ee8b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#50 0x00007f320adeb960 in  () at /usr/lib64/libQt5XcbQpa.so.5
#51 0x00007f32192f1134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#52 0x00007f32192f1388 in  () at /usr/lib64/libglib-2.0.so.0
#53 0x00007f32192f142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#54 0x00007f321e22b14c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#55 0x00007f321e1d8bbb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#56 0x00007f321e1e0aa6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#57 0x0000000000400b14 in  ()
#58 0x00007f321dbe4725 in __libc_start_main () at /lib64/libc.so.6
#59 0x0000000000400b59 in _start ()
[Inferior 1 (process 16473) detached]

Reported using DrKonqi
Comment 1 Jarosław Staniek 2019-06-21 19:58:38 UTC
Thanks for the report.
I would need one of the things:
- detailed list of actions, sample database welcome too
- confirmation that you are able to reproduce the same issue on KEXI 3.2.0 

I do not support 3.0 personally.
Comment 2 Jarosław Staniek 2019-06-21 20:09:32 UTC
PS: In KEXI 3.1 or newer before saving table design changes your forms will be closed. This is potential difference to 3.0 that, if I remember correctly can prevent any such issues.
Comment 3 Bug Janitor Service 2019-07-06 04:33:09 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
mark the bug 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 Bug Janitor Service 2019-07-21 04:33:08 UTC
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!
Comment 5 Justin Zobel 2022-09-23 02:22:43 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!
Comment 6 Bug Janitor Service 2022-10-08 04:53:03 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
mark the bug 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 7 Bug Janitor Service 2022-10-23 05:00:56 UTC
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!