Bug 283237 - Kexi crashes sometimes in Queries when switching to data view
Summary: Kexi crashes sometimes in Queries when switching to data view
Status: CLOSED WAITINGFORINFO
Alias: None
Product: KEXI
Classification: Applications
Component: Queries (other bugs)
Version First Reported In: 2.3.3 (KOffice 2.3.3)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-03 11:45 UTC by Lars Noodén
Modified: 2016-01-29 19:54 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Noodén 2011-10-03 11:45:06 UTC
Version:           2.3.3 (KOffice 2.3.3)
OS:                Linux

Kexi sometimes crashes when making a query and switching from design to data view.



Reproducible: Sometimes

Steps to Reproduce:
Start editing a query, try to switch to data view


Expected Results:  
That kexi should switch to data view without crashing

Application: kexi (2.3.3 (KOffice 2.3.3))
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu oneiric (development branch)

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7782720 (LWP 8457))]

Thread 2 (Thread 0xb5addb70 (LWP 8458)):
#0  0x00bacd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x001d27d5 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#2  0x002a54b6 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0x002a580a in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0x002a4053 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0x002a40ed in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0x0640488c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x06405637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x06405c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x002a4b37 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0x002751dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0x00275421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0x0017890b in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#13 0x00255e2d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#14 0x0017b7b3 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#15 0x0091cd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#16 0x004830ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7782720 (LWP 8457)):
[KCrash Handler]
#7  0x005c04b0 in ?? () from /usr/lib/libkexidb.so.8
#8  0x005b6e75 in KexiDB::QuerySchema::insertField(unsigned int, KexiDB::Field*, int, bool) () from /usr/lib/libkexidb.so.8
#9  0x005b7acc in KexiDB::QuerySchema::insertField(unsigned int, KexiDB::Field*, bool) () from /usr/lib/libkexidb.so.8
#10 0x005b7b19 in KexiDB::QuerySchema::addField(KexiDB::Field*, bool) () from /usr/lib/libkexidb.so.8
#11 0x03c48c26 in ?? () from /usr/lib/kde4/kexihandler_query.so
#12 0x03c4a726 in ?? () from /usr/lib/kde4/kexihandler_query.so
#13 0x00b7bdc2 in KexiWindow::switchToViewMode(Kexi::ViewMode, QMap<QString, QVariant>*, bool&) () from /usr/lib/libkexicore.so.8
#14 0x00b7c9cc in KexiWindow::switchToViewMode(Kexi::ViewMode) () from /usr/lib/libkexicore.so.8
#15 0x0063a63a in KexiMainWindow::switchToViewMode(KexiWindow&, Kexi::ViewMode) () from /usr/lib/libkeximain.so.8
#16 0x00b7b60b in KexiWindow::switchToViewModeInternal(Kexi::ViewMode) () from /usr/lib/libkexicore.so.8
#17 0x00b80d17 in KexiView::slotSwitchToViewModeInternal(Kexi::ViewMode) () from /usr/lib/libkexicore.so.8
#18 0x00b80dd3 in KexiView::slotSwitchToDataViewModeInternal(bool) () from /usr/lib/libkexicore.so.8
#19 0x00b810be in KexiView::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkexicore.so.8
#20 0x03c54a32 in ?? () from /usr/lib/kde4/kexihandler_query.so
#21 0x0027cb7d in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#22 0x0028ba6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#23 0x01447e7d in QAbstractButton::toggled(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#24 0x01147f77 in QAbstractButton::setChecked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#25 0x01148110 in QAbstractButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0x0121f180 in QToolButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#27 0x01147bb7 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#28 0x01147eb6 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#29 0x0121f20d in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#30 0x00d8cf98 in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0x01147159 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#32 0x0122094c in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#33 0x00d32d54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#34 0x00d38dbb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0x04452791 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x0027619e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#37 0x00d33d15 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#38 0x00dc02c4 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#39 0x00dbee4d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#40 0x00deb24c in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#41 0x0640525f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0x06405990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x06405c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x002a4ada in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#45 0x00deae3a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#46 0x002751dd in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#47 0x00275421 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#48 0x0027a19d in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#49 0x00d308f4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#50 0x08048624 in ?? ()
#51 0x003ca113 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#52 0x08048671 in _start ()

Report to https://bugs.kde.org
Comment 1 Bryan Mitchell 2011-10-03 11:50:17 UTC
From Bryan Mitchell

I have a computer still running version 2.2.2. On this version saving queries does not crash the program.
Comment 2 Lars Noodén 2011-10-03 11:52:41 UTC
It only crashes sometimes, not every time.  I don't know of a way to get it to crash on demand.
Comment 3 Jarosław Staniek 2011-12-03 23:08:17 UTC
Waiting, let's hope for a crash that can be reproducted for given query design.

Alternatively if you could save full log from kexi running and send me (staniek@kde.org) it would also help. To save the log, run kexi this way: go to konsole window and type:

kexi > kexi.log 2>&1

Then please send the kexi.log file.
Comment 4 Lars Noodén 2011-12-04 11:32:47 UTC
I'm not able to duplicate the error any more.

$ apt-cache policy kexi
kexi:
  Installed: 1:2.3.3-0ubuntu6
  Candidate: 1:2.3.3-0ubuntu6
  Version table:
 *** 1:2.3.3-0ubuntu6 0
        500 http://fi.archive.ubuntu.com/ubuntu/ oneiric/main i386 Packages
        100 /var/lib/dpkg/status
Comment 5 Jarosław Staniek 2011-12-04 14:40:29 UTC
OK, in case it re-appears, we will look here again.
Comment 6 Bryan Mitchell 2011-12-05 10:16:40 UTC
On Sat, 2011-12-03 at 23:08 +0000, Jarosław Staniek wrote:
> https://bugs.kde.org/show_bug.cgi?id=283237
> 
> 
> Jarosław Staniek <staniek@kde.org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |NEEDSINFO
>          Resolution|                            |WAITINGFORINFO
>            Severity|normal                      |crash
> 
> 
> 
> 
> --- Comment #3 from Jarosław Staniek <staniek kde org>  2011-12-03 23:08:17 ---
> Waiting, let's hope for a crash that can be reproducted for given query design.
> 
> Alternatively if you could save full log from kexi running and send me
> (staniek@kde.org) it would also help. To save the log, run kexi this way: go to
> konsole window and type:
> 
> kexi > kexi.log 2>&1
> 
> Then please send the kexi.log file.
> 

AM ATTACHING LOG FILE AS REQUESTED.