Bug 349652 - Application crash when script containing 'new Kexi()' is executed
Summary: Application crash when script containing 'new Kexi()' is executed
Status: CLOSED LATER
Alias: None
Product: KEXI
Classification: Applications
Component: Scripting (show other bugs)
Version: 2.9.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kexi Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-27 10:49 UTC by Arseniy
Modified: 2015-10-31 21:06 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arseniy 2015-06-27 10:49:24 UTC
Application: kexi (2.9.1)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

Executed macro "alert(new Kexi())" (javascript). Then application crashed immediately.

-- Backtrace:
Application: Kexi (kexi), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff8481d27c0 (LWP 32501))]

Thread 3 (Thread 0x7ff82a3ee700 (LWP 32512)):
#0  0x00007ff8435bd05f in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007ff82b71f8cb in  () at /usr/lib64/libQtScript.so.4
#2  0x00007ff82b71f909 in  () at /usr/lib64/libQtScript.so.4
#3  0x00007ff8435b90a4 in start_thread () at /lib64/libpthread.so.0
#4  0x00007ff84611706d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7ff78dca9700 (LWP 32575)):
#0  0x00007ff84610ec3d in poll () at /lib64/libc.so.6
#1  0x00007ff8426e2be4 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007ff8426e2cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007ff8465890de in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#4  0x00007ff84655ae6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#5  0x00007ff84655b165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#6  0x00007ff8464580bf in QThread::exec() () at /usr/lib64/libQtCore.so.4
#7  0x00007ff84653c783 in  () at /usr/lib64/libQtCore.so.4
#8  0x00007ff84645a79f in  () at /usr/lib64/libQtCore.so.4
#9  0x00007ff8435b90a4 in start_thread () at /lib64/libpthread.so.0
#10 0x00007ff84611706d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7ff8481d27c0 (LWP 32501)):
[KCrash Handler]
#5  0x00007ff7a81618d7 in  () at /usr/lib64/libkjs.so.4
#6  0x00007ff7a81440c1 in KJS::FunctionImp::callAsFunction(KJS::ExecState*, KJS::JSObject*, KJS::List const&) () at /usr/lib64/libkjs.so.4
#7  0x00007ff7a815fb0d in  () at /usr/lib64/libkjs.so.4
#8  0x00007ff7a81189e4 in  () at /usr/lib64/libkjs.so.4
#9  0x00007ff7a814c4ab in KJS::Interpreter::evaluate(KJS::UString const&, int, KJS::UChar const*, int, KJS::JSValue*) () at /usr/lib64/libkjs.so.4
#10 0x00007ff7a814c624 in KJS::Interpreter::evaluate(KJS::UString const&, int, KJS::UString const&, KJS::JSValue*) () at /usr/lib64/libkjs.so.4
#11 0x00007ff7a7e082bb in KJSEmbed::Engine::execute(KJS::UString const&) () at /usr/lib64/libkjsembed.so.4
#12 0x00007ff7a83ca06e in  () at /usr/lib64/kde4/krosskjs.so
#13 0x00007ff82ba4fd55 in Kross::Action::slotTriggered() () at /usr/lib64/libkrosscore.so.4
#14 0x00007ff82ba503dd in  () at /usr/lib64/libkrosscore.so.4
#15 0x00007ff8465701fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#16 0x00007ff846a9b622 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4
#17 0x00007ff846a9cfd3 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4
#18 0x00007ff8300ce525 in  () at /usr/lib64/kde4/kexihandler_script.so
#19 0x00007ff8465701fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#20 0x00007ff846a9b622 in QAction::triggered(bool) () at /usr/lib64/libQtGui.so.4
#21 0x00007ff846a9cfd3 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQtGui.so.4
#22 0x00007ff8465701fa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () at /usr/lib64/libQtCore.so.4
#23 0x00007ff8470eabb2 in QAbstractButton::clicked(bool) () at /usr/lib64/libQtGui.so.4
#24 0x00007ff846e4dfe3 in  () at /usr/lib64/libQtGui.so.4
#25 0x00007ff846e4f153 in  () at /usr/lib64/libQtGui.so.4
#26 0x00007ff846e4f23c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#27 0x00007ff846f0616a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQtGui.so.4
#28 0x00007ff846af0c0a in QWidget::event(QEvent*) () at /usr/lib64/libQtGui.so.4
#29 0x00007ff846aa176c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#30 0x00007ff846aa7dea in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#31 0x00007ff844642cea in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#32 0x00007ff84655c2ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#33 0x00007ff846aa75e3 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQtGui.so.4
#34 0x00007ff846b18c9b in  () at /usr/lib64/libQtGui.so.4
#35 0x00007ff846b1770c in QApplication::x11ProcessEvent(_XEvent*) () at /usr/lib64/libQtGui.so.4
#36 0x00007ff846b3e5c2 in  () at /usr/lib64/libQtGui.so.4
#37 0x00007ff8426e2a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#38 0x00007ff8426e2c48 in  () at /usr/lib64/libglib-2.0.so.0
#39 0x00007ff8426e2cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#40 0x00007ff8465890be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#41 0x00007ff846b3e676 in  () at /usr/lib64/libQtGui.so.4
#42 0x00007ff84655ae6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#43 0x00007ff84655b165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#44 0x00007ff8465605b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#45 0x0000000000400941 in  ()
#46 0x00007ff846053b05 in __libc_start_main () at /lib64/libc.so.6
#47 0x000000000040098f in _start ()

Reported using DrKonqi
Comment 1 Jarosław Staniek 2015-06-27 11:10:46 UTC
Confirmed also for 2.9.5. Thanks!
Comment 2 Jarosław Staniek 2015-10-31 21:06:18 UTC
Resolving these types of bugs as LATER. In Kexi 3.x we're going to have final scripting support. In 2.x it's experimental.
Comment 3 Jarosław Staniek 2015-10-31 21:06:34 UTC
Thanks a lot for your support.