Bug 377578 - Switching between query data and SQL and back crashes Kexi
Summary: Switching between query data and SQL and back crashes Kexi
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: Queries (show other bugs)
Version: 3.0.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 3.0.2
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on: 377579
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-13 20:10 UTC by Albrecht Will
Modified: 2017-05-02 19:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 3.0.2
Sentry Crash Report:


Attachments
Version (41.29 KB, image/jpeg)
2017-04-10 15:34 UTC, Jarosław Staniek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Albrecht Will 2017-03-13 20:10:18 UTC
I had in kexi Version 3.0.1.1, Arch-Linux, the same problems like in older bug-ids: 273151; 283228; 283237.
I open a query, at first datas appear. I open SQL and afterwards I click on datas. Then kexi crashes.
Comment 1 Jarosław Staniek 2017-04-10 11:11:35 UTC
Most probably fixed within the larger change for bug #377579 for 3.0.2 (testing can be done for a new Appimage 3.1 Alpha). If something is left feel free to reopen.
Comment 2 Albrecht Will 2017-04-10 15:13:41 UTC
tested with 3.1 alpha. inserting an attribut in query design is not possible. But defining it in SQL and storing it will show it in query designer. Unfortunatly the result shows nothing.
Please try:
Where tabelle_2016_06_291.land ='Brandenburg'
Comment 3 Jarosław Staniek 2017-04-10 15:34:08 UTC
Created attachment 104949 [details]
Version
Comment 4 Jarosław Staniek 2017-04-10 15:36:15 UTC
I am afraid the Appimage was not updated, the newest kexi-latest-x86_64.AppImage is from April 3 (version "Version 3.1 Alpha (3.0.90, git f95e3c5)" - see https://bugs.kde.org/attachment.cgi?id=104949.

I asked for updates at https://github.com/appimage-packages/kexi/issues/7. Will let you know.
Comment 5 Adam Pigg 2017-04-11 13:41:30 UTC
sinilar bug in reoorts, open report, switch to design, switch to data, crash.  quite frustrating that i couldn't quickly see the problem !
Comment 6 Jarosław Staniek 2017-04-11 20:08:21 UTC
@Adam yep, confirmed crash for the 3.0 branch but not for master
Comment 7 Jarosław Staniek 2017-04-11 20:15:01 UTC
@Adam

1   ORODocument::page                                                                                                                                                                 KReportRenderObjects.cpp              47   0x7fffcbdfd565 
2   KReportPrivate::ScreenRenderer::render                                                                                                                                            KReportScreenRenderer_p.cpp           48   0x7fffcbe2168a 
3   KReportPage::renderPage                                                                                                                                                           KReportPage.cpp                       107  0x7fffcbe2bb21 
4   KReportView::refreshCurrentPage                                                                                                                                                   KReportView.cpp                       163  0x7fffcbe2c56c 
5   KexiReportView::finishedAllASyncItems                                                                                                                                             kexireportview.cpp                    472  0x7fffcc0e48d7 
6   KexiReportView::qt_static_metacall                                                                                                                                                moc_kexireportview_6CWVFEZXK2D2WO.cpp 100  0x7fffcc0ef7ce 
7   QMetaObject::activate(QObject *, int, int, void * *)                                                                                                                                                                         0x7ffff27e70d5 
8   KReportPreRenderer::finishedAllASyncItems                                                                                                                                         moc_KReportPreRend_G5OXJ6B7MYXIR7.cpp 144  0x7fffcbe834cf 
9   QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KReportPreRenderer:: *)()>::call(void (KReportPreRenderer:: *)(), KReportPreRenderer *, void * *) qobjectdefs_impl.h                    143  0x7fffcbe202d5 
10  QtPrivate::FunctionPointer<void (KReportPreRenderer:: *)()>::call<QtPrivate::List<>, void>(void (KReportPreRenderer:: *)(), KReportPreRenderer *, void * *)                       qobjectdefs_impl.h                    162  0x7fffcbe20267 
11  QtPrivate::QSlotObject<void (KReportPreRenderer:: *)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *)                            qobject_impl.h                        120  0x7fffcbe1fe7f 
12  QMetaObject::activate(QObject *, int, int, void * *)                                                                                                                                                                         0x7ffff27e771c 
13  KReportPreRendererPrivate::finishedAllASyncItems                                                                                                                                  moc_KReportPreRend_NEAB557B7YBTG5.cpp 202  0x7fffcbe83a9d 
14  KReportPreRendererPrivate::asyncItemsFinished                                                                                                                                     KReportPreRenderer.cpp                401  0x7fffcbe1d30d 
15  KReportPreRendererPrivate::qt_static_metacall                                                                                                                                     moc_KReportPreRend_NEAB557B7YBTG5.cpp 94   0x7fffcbe835f1 
16  QMetaObject::activate(QObject *, int, int, void * *)                                                                                                                                                                         0x7ffff27e70d5 
17  KReportPrivate::AsyncItemManager::finished                                                                                                                                        moc_KReportAsyncIt_4JVJNPPRRNDIEC.cpp 134  0x7fffcbe82fbb 
18  KReportPrivate::AsyncItemManager::startRendering                                                                                                                                  KReportAsyncItemManager_p.cpp         87   0x7fffcbe2066c 
19  KReportPreRendererPrivate::generateDocument                                                                                                                                       KReportPreRenderer.cpp                596  0x7fffcbe1e128 
20  KReportPreRenderer::generateDocument                                                                                                                                              KReportPreRenderer.cpp                654  0x7fffcbe1e460 
21  KexiReportView::afterSwitchFrom                                                                                                                                                   kexireportview.cpp                    376  0x7fffcc0e4239 
22  KexiWindow::switchToViewMode                                                                                                                                                      KexiWindow.cpp                        541  0x7ffff7805f6c 
23  KexiWindow::switchToViewMode                                                                                                                                                      KexiWindow.cpp                        589  0x7ffff78063d0 
24  KexiMainWindow::switchToViewMode                                                                                                                                                  KexiMainWindow.cpp                    2722 0x7ffff7ac2b02 
25  KexiWindow::switchToViewModeInternal                                                                                                                                              KexiWindow.cpp                        579  0x7ffff780634c 
26  KexiView::slotSwitchToViewModeInternal                                                                                                                                            KexiView.cpp                          697  0x7ffff780be1b 
27  KexiView::slotSwitchToDataViewModeInternal                                                                                                                                        KexiView.cpp                          677  0x7ffff780bd42 
28  KexiView::qt_static_metacall                                                                                                                                                      moc_KexiView_Y5BGNNA7SZVT3Y.cpp       126  0x7ffff783227e 
29  QMetaObject::activate(QObject *, int, int, void * *)                                                                                                                                                                         0x7ffff27e70d5 
30  QAbstractButton::toggled(bool)                                                                                                                                                                                               0x7ffff3ea01b2 
... <More>
Comment 8 Jarosław Staniek 2017-04-11 20:15:40 UTC
@Adam So it does not look related to #377578
Comment 9 Jarosław Staniek 2017-05-02 19:50:24 UTC
*** Bug 379447 has been marked as a duplicate of this bug. ***