View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012624 | Scribus | General | public | 2014-08-20 13:35 | 2014-08-31 18:19 |
Reporter | FirasH | Assigned To | jghali | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | openSUSE | OS Version | 13.1 |
Product Version | 1.5.0svn | ||||
Target Version | 1.5.0 | Fixed in Version | 1.4.5.svn | ||
Summary | 0012624: "Get Field Names" (JavaScript) crashes Scribus if there is none | ||||
Description | "Get Field Names" (JavaScript) crashes Scribus if there is none. | ||||
Steps To Reproduce | 0) Create a new document 1) Go to: Edit > JavaScripts... > Add.. (click OK) 2) Go to: Edit > Get Field Names > click OK Scribus crashes due to Signal 11 | ||||
Additional Information | Issue present on: 1.4.5.svn (19427) 1.5.0.svn (19430) Program received signal SIGSEGV, Segmentation fault. 0x0000000000e8c421 in QListWidgetItem::text (this=0x0) at /home/.../Qt/5.3/gcc_64/include/QtWidgets/qlistwidget.h:87 87 { return data(Qt::DisplayRole).toString(); } (gdb) bt 0 0x0000000000e8c421 in QListWidgetItem::text (this=0x0) at /home/.../Qt/5.3/gcc_64/include/QtWidgets/qlistwidget.h:87 1 0x000000000116b1ab in SelectFields::SetRetVal (this=0x3042c70) at /home/.../Scribus/scribus/ui/selfield.cpp:139 2 0x00000000007c6022 in SelectFields::qt_static_metacall (_o=0x3042c70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffff75a0) at /home/.../Scribus/build/scribus/ui/moc_selfield.cpp:83 3 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 4 0x00007ffff701f222 in QAbstractButton::clicked(bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 5 0x00007ffff6d8d203 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 6 0x00007ffff6d8db1a in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 7 0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 8 0x00007ffff6cc5c27 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 9 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 10 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 11 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 12 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 13 0x00007ffff6ce5e87 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 14 0x00007ffff6ce89d8 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 15 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 16 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 17 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 18 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 19 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 20 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 21 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so 22 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 23 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 24 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 25 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 26 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 27 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 28 0x00007ffff6e8b13d in QDialog::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 29 0x0000000000ecbcea in Editor::GetFieldN (this=0x324a100) at /home/.../Scribus/scribus/ui/editor.cpp:124 30 0x00000000007a4959 in Editor::qt_static_metacall (_o=0x324a100, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffffff8de0) at /home/.../Scribus/build/scribus/ui/moc_editor.cpp:79 31 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 32 0x00007ffff6c82632 in QAction::triggered(bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 33 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 34 0x00007ffff6e092fa in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 35 0x00007ffff6e108ff in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 36 0x00007ffff6e11830 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 37 0x00007ffff6cc5c27 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 38 0x00007ffff6e135eb in QMenu::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 39 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 40 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 41 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 42 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 43 0x00007ffff6ce5b5e in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 44 0x00007ffff6ce89d8 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 45 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 46 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 47 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 48 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 49 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 50 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 51 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so 52 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 53 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 54 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 55 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 56 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 57 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 58 0x00007ffff6e8b13d in QDialog::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 59 0x0000000000f36310 in JavaDocs::slotAdd (this=0x30b6c00) at /home/.../Scribus/scribus/ui/javadocs.cpp:89 60 0x00000000007ab3ea in JavaDocs::qt_static_metacall (_o=0x30b6c00, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffa920) at /home/.../Scribus/build/scribus/ui/moc_javadocs.cpp:82 61 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 62 0x00007ffff701f222 in QAbstractButton::clicked(bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 63 0x00007ffff6d8d203 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 64 0x00007ffff6d8db1a in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 65 0x00007ffff6d8dd24 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 66 0x00007ffff6cc5c27 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 67 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 68 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 69 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 70 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 71 0x00007ffff6ce5e87 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 72 0x00007ffff6ce89d8 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 73 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 74 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 75 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 76 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 77 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 78 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 79 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so 80 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 81 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 82 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 83 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 84 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 85 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 86 0x00007ffff6e8b13d in QDialog::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 87 0x0000000000ccd898 in ScribusMainWindow::ManageJava (this=0x19dbb40) at /home/.../Scribus/scribus/scribus.cpp:8097 88 0x0000000000790312 in ScribusMainWindow::qt_static_metacall (_o=0x19dbb40, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0x7fffffffc3a0) at /home/.../Scribus/build/scribus/moc_scribus.cpp:1002 89 0x00007ffff768a7b1 in QMetaObject::activate(QObject*, int, int, void**) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 90 0x00007ffff6c82632 in QAction::triggered(bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 91 0x00007ffff6c84467 in QAction::activate(QAction::ActionEvent) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 92 0x00007ffff6e092fa in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 93 0x00007ffff6e108ff in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 94 0x00007ffff6e11830 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 95 0x00007ffff6cc5c27 in QWidget::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 96 0x00007ffff6e135eb in QMenu::event(QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 97 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 98 0x00007ffff6c90e8c in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 99 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 100 0x00007ffff6c8fffa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 101 0x00007ffff6ce5b5e in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 102 0x00007ffff6ce89d8 in ?? () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 103 0x00007ffff6c8da94 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 104 0x00007ffff6c910b6 in QApplication::notify(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Widgets.so.5 105 0x00007ffff7658f04 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 106 0x00007ffff650c537 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 107 0x00007ffff650cf75 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 108 0x00007ffff64f2208 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Gui.so.5 109 0x00007fffe548c460 in ?? () from /home/.../Qt/5.3/gcc_64/plugins/platforms/libqxcb.so 110 0x00007fffecddd316 in g_main_dispatch (context=0x7fffe0001740) at gmain.c:3066 111 g_main_context_dispatch (context=context@entry=0x7fffe0001740) at gmain.c:3642 112 0x00007fffecddd668 in g_main_context_iterate (context=context@entry=0x7fffe0001740, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713 113 0x00007fffecddd70c in g_main_context_iteration (context=0x7fffe0001740, may_block=1) at gmain.c:3774 114 0x00007ffff76b3574 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 115 0x00007ffff765711b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 116 0x00007ffff765bfe5 in QCoreApplication::exec() () from /home/.../Qt/5.3/gcc_64/lib/libQt5Core.so.5 117 0x0000000001243430 in mainApp (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:86 118 0x00000000012433c0 in main (argc=1, argv=0x7fffffffdd18) at /home/.../Scribus/scribus/main_nix.cpp:54 | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
|
|
Hmmm..there seems to be _no_ 'Edit' dropdown in OSX as per the screenshot. That's an issue. |
|
Thanks jghali! Fixed in 1.4.5.svn (19469) and 1.5.0.svn (19468). |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-08-20 13:35 | FirasH | New Issue | |
2014-08-20 14:00 | FirasH | File Added: 12624.png | |
2014-08-20 14:03 | Kunda | Note Added: 0033303 | |
2014-08-20 14:04 | Kunda | Note Edited: 0033303 | |
2014-08-20 14:05 | Kunda | Target Version | => 1.5.0 |
2014-08-20 14:05 | Kunda | Status | new => feedback |
2014-08-20 23:27 | jghali | Status | feedback => resolved |
2014-08-20 23:27 | jghali | Fixed in Version | => 1.4.5.svn |
2014-08-20 23:27 | jghali | Resolution | open => fixed |
2014-08-20 23:27 | jghali | Assigned To | => jghali |
2014-08-31 18:19 | FirasH | Note Added: 0033407 | |
2014-08-31 18:19 | FirasH | Status | resolved => closed |