View Issue Details

IDProjectCategoryView StatusLast Update
0003510ScribusScripterpublic2006-04-10 19:33
ReporterplinnellAssigned Tosubik  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.3.3cvs 
Fixed in Version1.3.3.1cvs 
Summary0003510: Crash in Scripter Console when using F2 to run in console in Russian
DescriptionRun a non debug build of Scribus under gdb.

Go Сценарии - Показать консоль" (Scripts - Show console)

Push F2 Crash

Note F2 is conflicting with Properties Palette
Additional Information(gdb) run
Starting program: /usr/bin/scribus
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1073908512 (LWP 18030)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073908512 (LWP 18030)]
0x4064ff38 in ScripterCore::slotRunScript ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
(gdb) bt
#0 0x4064ff38 in ScripterCore::slotRunScript ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
0000001 0x40650183 in ScripterCore::slotExecute ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
0000002 0x40654d18 in ScripterCore::qt_invoke ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
0000003 0x412bdf89 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000004 0x412be430 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000005 0x4064608a in PythonConsole::runCommand ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
0000006 0x40646787 in PythonConsole::slot_runScriptAsConsole ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
0000007 0x40645eaf in PythonConsole::qt_invoke ()
   from /usr/lib/scribus/plugins//libscriptplugin.so.0.0.0
0000008 0x412bdf89 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x415ffb12 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x412dabab in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x413c4eac in QPopupMenu::accelActivated ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x41617317 in QPopupMenu::qt_invoke () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x412bdf89 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x412be561 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x415f76c0 in QAccel::activated () from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x4125add1 in QAccelPrivate::activate ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4125cc8a in QAccelManager::dispatchAccelEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x4125d41c in qt_dispatchAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x4125f661 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x4125b6c1 in QAccelManager::tryAccelEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x4125b75c in qt_tryAccelEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
0000022 0x411f27d0 in QETWidget::translateKeyEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000023 0x411f7f45 in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000024 0x4120c12a in QEventLoop::processEvents ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000025 0x41275179 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000026 0x41275076 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000027 0x4125dbcf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000028 0x0866c7ec in mainApp ()
0000029 0x4174cea0 in __libc_start_main () from /lib/tls/libc.so.6
0000030 0x08106dd1 in _start ()
(gdb)
TagsNo tags attached.
Patch

Relationships

has duplicate 0003358 closedsubik Scribus hangs up when running a empty script in console 
child of 0003813 acknowledged Metabug: Scripter 

Activities

plinnell

2006-03-27 00:35

viewer   ~0009485

Last edited: 2006-03-27 00:35

Switch to Russian, then select Run from console


(gdb) run
Starting program: /usr/local/bin/scribus
[Thread debugging using libthread_db enabled]
[New Thread 1073908512 (LWP 12730)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1073908512 (LWP 12730)]
0x4060338d in ScripterCore::slotRunScript (this=0x8aa1ea0, Script=@0xbfa7c2f8)
    at qshared.h:50
50 bool deref() { return !--count; }
(gdb) bt
#0 0x4060338d in ScripterCore::slotRunScript (this=0x8aa1ea0,
    Script=@0xbfa7c2f8) at qshared.h:50
0000001 0x406035aa in ScripterCore::slotExecute (this=0x8aa1ea0)
    at scriptercore.cpp:447
0000002 0x40607c57 in ScripterCore::qt_invoke (this=0x8aa1ea0, _id=9,
    _o=0xbfa7c3c8) at scriptercore.moc:156
0000003 0x412bdf89 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000004 0x412be430 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000005 0x405fa5c6 in PythonConsole::runCommand (this=0x8b0d398)
    at pconsole.moc:111
0000006 0x405fac4b in PythonConsole::slot_runScriptAsConsole (this=0x8b0d398)
    at pconsole.cpp:148
0000007 0x405fa3ff in PythonConsole::qt_invoke (this=0x8b0d398, _id=47,
    _o=0xbfa7c4e4) at pconsole.moc:118
0000008 0x412bdf89 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000009 0x415ffb12 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
0000010 0x412dabab in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
0000011 0x413c4dc8 in QPopupMenu::mouseReleaseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000012 0x412f7c48 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
0000013 0x4125e281 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000014 0x4125f3e8 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
0000015 0x411f9620 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000016 0x411f803b in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000017 0x4120c12a in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
0000018 0x41275179 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
0000019 0x41275076 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000020 0x4125dbcf in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
0000021 0x085f187a in mainApp (argc=1, argv=0xbfa7cde4) at main_nix.cpp:74
0000022 0x4174cea0 in __libc_start_main () from /lib/tls/libc.so.6
0000023 0x08106dd1 in _start () at start.S:119
(gdb)

cbradney

2006-03-27 12:43

administrator   ~0009495

Not simply a shortcut issue, F2 is now removed from cvs.

subik

2006-03-27 15:52

manager   ~0009496

it is not shortcut related. It is not russian only related too. There is some common problem in:

[2006-03-27 16:53] <subik> well. something is wrong in scriptercore.cpp QString ScripterCore::slotRunScript(QString Script)
[2006-03-27 16:54] <subik> that function runs fine (qDebugs everywhere)
[2006-03-27 16:54] <subik> but it crashes in void ScripterCore::slotExecute() on pcon->outputEdit->append(slotRunScript(pcon->command)); line
[2006-03-27 16:55] <subik> the question is: "why?"
[2006-03-27 16:55] <subik> and it happens only in non debug config

subik

2006-03-27 18:38

manager   ~0009507

no crash on gentoo - remains only on suse for me.

cbradney

2006-03-27 18:58

administrator   ~0009509

F2 conflicts with F2 for properties palette.

I get the crash on gentoo, on my laptop with gcc 4.1.0 non debug build.

Issue History

Date Modified Username Field Change
2006-03-26 21:32 plinnell New Issue
2006-03-27 00:07 cbradney Status new => resolved
2006-03-27 00:07 cbradney Fixed in Version => 1.3.3cvs
2006-03-27 00:07 cbradney Resolution open => fixed
2006-03-27 00:07 cbradney Assigned To => cbradney
2006-03-27 00:35 plinnell Note Added: 0009485
2006-03-27 00:35 plinnell Status resolved => assigned
2006-03-27 00:35 plinnell Resolution fixed => open
2006-03-27 00:35 plinnell Product Version 1.3.4cvs => 1.3.3cvs
2006-03-27 00:35 plinnell Note Edited: 0009485
2006-03-27 12:43 cbradney Note Added: 0009495
2006-03-27 13:00 cbradney Assigned To cbradney => subik
2006-03-27 15:52 subik Note Added: 0009496
2006-03-27 18:38 subik Note Added: 0009507
2006-03-27 18:58 cbradney Note Added: 0009509
2006-03-28 13:20 subik Status assigned => resolved
2006-03-28 13:20 subik Fixed in Version 1.3.3cvs => 1.3.4cvs
2006-03-28 13:20 subik Resolution open => fixed
2006-03-29 08:13 cbradney Fixed in Version 1.3.4cvs => 1.3.3.1cvs
2006-03-29 08:15 subik Relationship added has duplicate 0003358
2006-04-10 19:33 cbradney Status resolved => closed
2006-05-13 21:06 christoph_s Relationship added child of 0003813