Bug 255304 - Crash and error when selecting ascending order in a query field
Summary: Crash and error when selecting ascending order in a query field
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Queries (show other bugs)
Version: 2.2.2 (KOffice 2.2.2)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
: 255303 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-26 12:37 UTC by migui3000
Modified: 2012-08-11 11:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.4 beta5 (Calligra 2.4 beta5)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description migui3000 2010-10-26 12:37:30 UTC
Application: kexi (2.2.2 (KOffice 2.2.2))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-25-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
al seleccionar orden ascendente en un campo de consulta, aparece el error y se apaga la base.

 -- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
[KCrash Handler]
#6  KoProperty::Set::property (this=0x0, name=...) at ../../../libs/koproperty/Set.cpp:554
#7  0x01edc0f3 in KexiQueryDesignerGuiEditor::slotBeforeCellChanged (this=0x9c4bc68, record=0x9c86208, colnum=3, newValue=..., result=0x9c83d10)
    at ../../../../kexi/plugins/queries/kexiquerydesignerguieditor.cpp:1551
#8  0x01ee1de3 in KexiQueryDesignerGuiEditor::qt_metacall (this=0x9c4bc68, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfcef59c) at ./kexiquerydesignerguieditor.moc:134
#9  0x002fac9a in QMetaObject::metacall (object=0x9c4bc68, cl=QMetaObject::InvokeMetaMethod, idx=43, argv=0xbfcef59c) at kernel/qmetaobject.cpp:237
#10 0x003093d5 in QMetaObject::activate (sender=0x9c837c0, m=0x17ae24c, local_signal_index=1, argv=0xbfcef59c) at kernel/qobject.cpp:3293
#11 0x0178d9b5 in KexiTableViewData::aboutToChangeCell (this=0x9c837c0, _t1=0x9c86208, _t2=3, _t3=..., _t4=0x9c83d10) at ./kexitableviewdata.moc:135
#12 0x01791a57 in KexiTableViewData::updateRowEditBufferRef (this=0x9c837c0, record=0x9c86208, colnum=3, col=0x9c85df0, newval=..., allowSignals=true, visibleValueForLookupField=0x0)
    at ../../../../kexi/widget/tableview/kexitableviewdata.cpp:524
#13 0x0177803b in KexiDataAwareObjectInterface::acceptEditor (this=0x9c6fcf0) at ../../../../kexi/widget/tableview/kexidataawareobjectiface.cpp:1076
#14 0x01786600 in KexiTableView::acceptEditor (this=0x9c6fcc8) at ../../../../kexi/widget/tableview/kexitableview.h:389
#15 0x0178386c in KexiTableView::qt_metacall (this=0x9c6fcc8, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0xbfcefa7c) at ./kexitableview.moc:252
#16 0x002fac9a in QMetaObject::metacall (object=0x9c6fcc8, cl=QMetaObject::InvokeMetaMethod, idx=91, argv=0xbfcefa7c) at kernel/qmetaobject.cpp:237
#17 0x003093d5 in QMetaObject::activate (sender=0x9c930d0, m=0x17addf4, local_signal_index=2, argv=0x0) at kernel/qobject.cpp:3293
#18 0x017895f7 in KexiTableEdit::acceptRequested (this=0x9c930d0) at ./kexitableedit.moc:102
#19 0x0179f3cd in KexiComboBoxTableEdit::acceptRequested (this=0x9c930d0) at ../../../../kexi/widget/tableview/kexicomboboxtableedit.h:164
#20 0x0179ac69 in KexiComboBoxBase::slotRowAccepted (this=0x9c93138, record=0x9dbcc40, row=1) at ../../../../kexi/widget/tableview/kexicomboboxbase.cpp:446
#21 0x0179f49e in KexiComboBoxTableEdit::slotRowAccepted (this=0x9c930d0, record=0x9dbcc40, row=1) at ../../../../kexi/widget/tableview/kexicomboboxtableedit.h:125
#22 0x0179f1fb in KexiComboBoxTableEdit::qt_metacall (this=0x9c930d0, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfcefc34) at ./kexicomboboxtableedit.moc:93
#23 0x002fac9a in QMetaObject::metacall (object=0x9c930d0, cl=QMetaObject::InvokeMetaMethod, idx=40, argv=0xbfcefc34) at kernel/qmetaobject.cpp:237
#24 0x003093d5 in QMetaObject::activate (sender=0x9d9e2a8, m=0x17af100, local_signal_index=0, argv=0xbfcefc34) at kernel/qobject.cpp:3293
#25 0x0179f979 in KexiComboBoxPopup::rowAccepted (this=0x9d9e2a8, _t1=0x9dbcc40, _t2=1) at ./kexicomboboxpopup.moc:106
#26 0x017a0501 in KexiComboBoxPopup::qt_metacall (this=0x9d9e2a8, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfcefd60) at ./kexicomboboxpopup.moc:93
#27 0x002fac9a in QMetaObject::metacall (object=0x9d9e2a8, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbfcefd60) at kernel/qmetaobject.cpp:237
#28 0x003093d5 in QMetaObject::activate (sender=0x9dbcf88, m=0x17ad3b8, local_signal_index=5, argv=0xbfcefd60) at kernel/qobject.cpp:3293
#29 0x0177b04f in KexiTableView::itemMouseReleased (this=0x9dbcf88, _t1=0x9dbcc40, _t2=1, _t3=0) at ./kexitableview.moc:323
#30 0x01784fdb in KexiTableView::contentsMouseReleaseEvent (this=0x9dbcf88, e=0xbfcefdf0) at ../../../../kexi/widget/tableview/kexitableview.cpp:1139
#31 0x03851188 in Q3ScrollView::viewportMouseReleaseEvent (this=0x9dbcf88, e=0xbfcf03c0) at widgets/q3scrollview.cpp:1763
#32 0x03852f78 in Q3ScrollView::eventFilter (this=0x9dbcf88, obj=0x9da4f30, e=0xbfcf03c0) at widgets/q3scrollview.cpp:1481
#33 0x01780b59 in KexiTableView::eventFilter (this=0x9dbcf88, o=0x9da4f30, e=0xbfcf03c0) at ../../../../kexi/widget/tableview/kexitableview.cpp:2544
#34 0x002f4cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8f514b8, receiver=0x9da4f30, event=0xbfcf03c0) at kernel/qcoreapplication.cpp:819
#35 0x009cc4b9 in QApplicationPrivate::notify_helper (this=0x8f514b8, receiver=0x9da4f30, e=0xbfcf03c0) at kernel/qapplication.cpp:4296
#36 0x009d39f7 in QApplication::notify (this=0x8f4e848, receiver=0x9da4f30, e=0xbfcf03c0) at kernel/qapplication.cpp:3865
#37 0x02f95f2a in KApplication::notify (this=0x8f4e848, receiver=0x9da4f30, event=0xbfcf03c0) at ../../kdeui/kernel/kapplication.cpp:302
#38 0x002f5a3b in QCoreApplication::notifyInternal (this=0x8f4e848, receiver=0x9da4f30, event=0xbfcf03c0) at kernel/qcoreapplication.cpp:704
#39 0x009d2952 in QCoreApplication::sendEvent (receiver=0x9da4f30, event=0xbfcf03c0, alienWidget=0x9da4f30, nativeWidget=0x9d9e2a8, buttonDown=0x1310058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#40 QApplicationPrivate::sendMouseEvent (receiver=0x9da4f30, event=0xbfcf03c0, alienWidget=0x9da4f30, nativeWidget=0x9d9e2a8, buttonDown=0x1310058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#41 0x00a5e5cf in QETWidget::translateMouseEvent (this=0x9d9e2a8, event=0xbfcf08dc) at kernel/qapplication_x11.cpp:4302
#42 0x00a5d511 in QApplication::x11ProcessEvent (this=0x8f4e848, event=0xbfcf08dc) at kernel/qapplication_x11.cpp:3379
#43 0x00a8c60a in x11EventSourceDispatch (s=0x8f53bf8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#44 0x032c05e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#45 0x032c42d8 in ?? () from /lib/libglib-2.0.so.0
#46 0x032c44b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#47 0x003215d5 in QEventDispatcherGlib::processEvents (this=0x8f339c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#48 0x00a8c135 in QGuiEventDispatcherGlib::processEvents (this=0x8f339c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#49 0x002f4059 in QEventLoop::processEvents (this=0xbfcf0bd4, flags=) at kernel/qeventloop.cpp:149
#50 0x002f44aa in QEventLoop::exec (this=0xbfcf0bd4, flags=...) at kernel/qeventloop.cpp:201
#51 0x002f869f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#52 0x009cc577 in QApplication::exec () at kernel/qapplication.cpp:3579
#53 0x08048764 in main (argc=2, argv=0xbfcf0cf4) at ../../kexi/main.cpp:34

Possible duplicates by query: bug 255303.

Reported using DrKonqi
Comment 1 Jarosław Staniek 2010-10-27 21:59:24 UTC
Could you please translate the bug report to English? This bug tracking system is in english only, I am afraid.
Comment 2 Alfredo Beaumont 2010-12-05 11:23:13 UTC
The translation would be:

When selecting ascending order in a query field, the error appears and app crashes.
Comment 3 Jarosław Staniek 2010-12-05 12:51:38 UTC
migui3000, could you send me small example database that causes the crash? Thanks.
Comment 4 Jarosław Staniek 2011-12-07 10:15:48 UTC
*** Bug 255303 has been marked as a duplicate of this bug. ***
Comment 5 Jarosław Staniek 2011-12-07 23:32:21 UTC
Git commit f9b5f5e460e35881d990bde852e6f1fd28a24947 by Jaroslaw Staniek.
Committed on 07/12/2011 at 15:22.
Pushed by staniek into branch 'master'.

Query Designer: Fix crash when selecting sort order in a query field
CCBUG:255304

Details: Properly update current row pointer after row insert

M  +27   -5    kexi/widget/dataviewcommon/kexidataawareobjectiface.cpp

http://commits.kde.org/calligra/f9b5f5e460e35881d990bde852e6f1fd28a24947
Comment 6 Jarosław Staniek 2011-12-07 23:32:21 UTC
Git commit 7d96aafd08beca0b19740e7e2c21dac3c4c6cb05 by Jaroslaw Staniek.
Committed on 08/12/2011 at 00:30.
Pushed by staniek into branch 'master'.

Fix crash when selecting sort order without query field specified
BUG:255304

M  +12   -1    kexi/plugins/queries/kexiquerydesignerguieditor.cpp

http://commits.kde.org/calligra/7d96aafd08beca0b19740e7e2c21dac3c4c6cb05