Bug 156665 - crash when creating new database file
Summary: crash when creating new database file
Status: CLOSED WAITINGFORINFO
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 20:28 UTC by Greg Martyn
Modified: 2015-10-31 21:23 UTC (History)
0 users

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 Greg Martyn 2008-01-25 20:28:56 UTC
Version:            (using Devel)
Installed from:    Compiled sources

I can recreate this crash every time.

Open kexi.
Create a new database file.
Give it a unique name.
Kexi complains that it Could not create project "[the name of the last file that i created -- not the new one]"

Messae from server
unable to open database

Server result number
14


Backtrace:
Application: Kexi (kexi), signal SIGSEGV
Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912629502384 (LWP 17506)]
[KCrash handler]
#5  0x00002aaaaabb1ed9 in QMetaObject::cast (this=0x2aaaac79aa00, obj=0x807c70)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qmetaobject.cpp:204
#6  0x00002aaaac23ee76 in qobject_cast<QWidgetAction*> (object=0x807c70)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qobject.h:426
#7  0x00002aaaac27447d in ~QToolBarLayout (this=0x7a2540)
    at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qtoolbarlayout.cpp:91
#8  0x00002aaaabeccafa in ~QWidget (this=0x7a2150)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1165
#9  0x00002aaaac2705e2 in ~QToolBar (this=0x7a2150)
    at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qtoolbar.cpp:470
#10 0x00002aaaacaa00f4 in ~KToolBar (this=0x7a2150)
    at /home/kde4/kdesvn/kdelibs/kdeui/widgets/ktoolbar.cpp:650
#11 0x00002aaaaabbc469 in QObjectPrivate::deleteChildren (this=0x7a1150)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1934
#12 0x00002aaaabeccc97 in ~QWidget (this=0x79f1b0)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1197
#13 0x00002aaaad526f29 in ~KFileWidget (this=0x79f1b0)
    at /home/kde4/kdesvn/kdelibs/kfile/kfilewidget.cpp:457
#14 0x00002aaaadf8dd20 in ~KexiStartupFileWidget (this=0x79f1b0)
    at /home/kde4/kdesvn/koffice/kexi/main/startup/KexiStartupFileWidget.cpp:109
#15 0x00002aaaaabbc469 in QObjectPrivate::deleteChildren (this=0x799210)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1934
#16 0x00002aaaabeccc97 in ~QWidget (this=0x7907d0)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1197
#17 0x00002aaaac1f7387 in ~QFrame (this=0x7907d0)
    at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:242
#18 0x00002aaaac25b4d7 in ~QStackedWidget (this=0x7907d0)
    at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qstackedwidget.cpp:151
#19 0x00002aaaaabbc469 in QObjectPrivate::deleteChildren (this=0x773cc0)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1934
#20 0x00002aaaabeccc97 in ~QWidget (this=0x773940)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1197
#21 0x00002aaaadf805cb in ~KexiConnSelectorWidget (this=0x773940)
    at /home/kde4/kdesvn/koffice/kexi/main/startup/KexiConnSelector.cpp:186
#22 0x00002aaaaabbc469 in QObjectPrivate::deleteChildren (this=0x732f30)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1934
#23 0x00002aaaabeccc97 in ~QWidget (this=0x762ab0)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1197
#24 0x00002aaaac1f72e3 in ~QFrame (this=0x762ab0)
    at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qframe.cpp:242
#25 0x00002aaaac9fa3aa in ~Private (this=0x72c8b0)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidgetmodel.cpp:40
#26 0x00002aaaac9f94f4 in ~KPageWidgetItem (this=0x72a260)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidgetmodel.cpp:84
#27 0x00002aaaac9f8750 in ~PageItem (this=0x728940)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidgetmodel.cpp:174
#28 0x00002aaaac9fa070 in qDeleteAll<QList<PageItem*>::const_iterator> (
    begin=@0x7fff366ce9d0, end=@0x7fff366ce9c0)
    at /home/kde4/qt4/include/QtCore/qalgorithms.h:343
#29 0x00002aaaac9fa0c9 in qDeleteAll<QList<PageItem*> > (c=@0x6db8f8)
    at /home/kde4/qt4/include/QtCore/qalgorithms.h:351
#30 0x00002aaaac9f8768 in ~PageItem (this=0x6db8f0)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidgetmodel.cpp:177
#31 0x00002aaaac9f9fa0 in ~KPageWidgetModelPrivate (this=0x6ca800)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidgetmodel_p.h:66
#32 0x00002aaaac9f1f4b in ~KPageModel (this=0x6c5db0)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagemodel.cpp:42
#33 0x00002aaaac9f85f1 in ~KPageWidgetModel (this=0x6c5db0)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidgetmodel.cpp:261
#34 0x00002aaaaabbc469 in QObjectPrivate::deleteChildren (this=0x6ca010)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1934
#35 0x00002aaaabeccc97 in ~QWidget (this=0x6c8130)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1197
#36 0x00002aaaac9f2ba8 in ~KPageView (this=0x6c8130)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpageview.cpp:309
#37 0x00002aaaac9f7815 in ~KPageWidget (this=0x6c8130)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagewidget.cpp:78
#38 0x00002aaaaabbc469 in QObjectPrivate::deleteChildren (this=0x6c9350)
    at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1934
#39 0x00002aaaabeccc97 in ~QWidget (this=0x6dad60)
    at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:1197
#40 0x00002aaaac2b5dde in ~QDialog (this=0x6dad60)
    at /home/kde4/kdesvn/qt-copy/src/gui/dialogs/qdialog.cpp:276
#41 0x00002aaaac944408 in ~KDialog (this=0x6dad60)
    at /home/kde4/kdesvn/kdelibs/kdeui/dialogs/kdialog.cpp:181
#42 0x00002aaaac9f1585 in ~KPageDialog (this=0x6dad60)
    at /home/kde4/kdesvn/kdelibs/kdeui/paged/kpagedialog.cpp:66
#43 0x00002aaaadf907b8 in ~KexiStartupDialog (this=0x6dad60)
    at /home/kde4/kdesvn/koffice/kexi/main/startup/KexiStartupDialog.cpp:226
#44 0x00002aaaadf935c5 in ~KexiStartupHandler (this=0x6d8d30)
    at /home/kde4/kdesvn/koffice/kexi/main/startup/KexiStartup.cpp:86
#45 0x0000003266834029 in exit () from /lib64/libc.so.6
#46 0x000000326681e07b in __libc_start_main () from /lib64/libc.so.6
#47 0x0000000000400f59 in _start ()
#0  0x000000326689ac61 in nanosleep () from /lib64/libc.so.6
Comment 1 Jarosław Staniek 2008-01-25 21:13:07 UTC
Thanks for the report. Please specify:

- which server and version
- which kexi version - from the backtrace I guess it's 2.0 alpha from trunk. 
  (note that you can pick the version in the 'Version' combo box on this page while reporting)

Kexi 2 alpha is not very well tested on mysql and postgresql yet.
Comment 2 Jarosław Staniek 2008-01-25 21:18:49 UTC
Similar report: http://bugs.kde.org/show_bug.cgi?id=153397
Comment 3 Jarosław Staniek 2009-09-19 21:29:25 UTC
Hi, does the crash disappear for you now?
Comment 4 Jarosław Staniek 2015-10-31 21:23:07 UTC
Assuming fixed since such a fundamental issue would be catched already.

If you find any related issues we will reopen.

Thanks a lot!