View Issue Details

IDProjectCategoryView StatusLast Update
0002432ScribusScripterpublic2005-09-25 20:56
Reporterjo-hannes Assigned Tocbradney  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version1.3.1cvs 
Summary0002432: Font Sample Script crashes Scribus
Descriptionsomestimes when opening the the font sampler script, sometimes when closing the font sample window. here the backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 11810)]
0xb6e6007a in PyFrame_New () from /usr/lib/libpython2.3.so.1.0
(gdb) bt
#0 0xb6e6007a in PyFrame_New () from /usr/lib/libpython2.3.so.1.0
0000001 0xb6ea005e in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0
0000002 0xb6ea1b14 in PyEval_GetFuncDesc () from /usr/lib/libpython2.3.so.1.0
0000003 0xb6ea195e in PyEval_GetFuncDesc () from /usr/lib/libpython2.3.so.1.0
0000004 0xb6e9f8df in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
0000005 0xb6ea0421 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0
0000006 0xb6ea1b14 in PyEval_GetFuncDesc () from /usr/lib/libpython2.3.so.1.0
0000007 0xb6ea195e in PyEval_GetFuncDesc () from /usr/lib/libpython2.3.so.1.0
0000008 0xb6e9f8df in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
0000009 0xb6ea0421 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0
0000010 0xb6e9d575 in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
0000011 0xb6ebe549 in PyRun_FileExFlags () from /usr/lib/libpython2.3.so.1.0
0000012 0xb6e96fa5 in _PyUnicodeUCS4_IsAlpha () from /usr/lib/libpython2.3.so.1.0
0000013 0xb6e6fe9d in PyCFunction_Call () from /usr/lib/libpython2.3.so.1.0
0000014 0xb6ea1a55 in PyEval_GetFuncDesc () from /usr/lib/libpython2.3.so.1.0
0000015 0xb6e9f8df in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
0000016 0xb6ea0421 in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0
0000017 0xb6e9d575 in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
0000018 0xb6ebe549 in PyRun_FileExFlags () from /usr/lib/libpython2.3.so.1.0
0000019 0xb6ebe27e in PyRun_String () from /usr/lib/libpython2.3.so.1.0
0000020 0xb6f2d987 in ScripterCore::slotRunScriptFile () from /opt/scribus/lib/scribus/plugins/libscriptplugin.so.0.0.0
0000021 0xb6f2d0da in ScripterCore::StdScript () from /opt/scribus/lib/scribus/plugins/libscriptplugin.so.0.0.0
0000022 0xb6f29942 in ScripterCore::qt_invoke () from /opt/scribus/lib/scribus/plugins/libscriptplugin.so.0.0.0
0000023 0xb7960253 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
---Type <return> to continue, or q <return> to quit---
0000024 0xb79606cd in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
0000025 0x083819c9 in ScrAction::activatedData ()
0000026 0x083826fa in ScrAction::activatedToActivatedData ()
0000027 0x08381d88 in ScrAction::qt_invoke ()
0000028 0xb7960253 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
0000029 0xb7960094 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
0000030 0xb7cb447b in QAction::activated () from /usr/qt/3/lib/libqt-mt.so.3
0000031 0xb7aa0d3e in QAction::internalActivation () from /usr/qt/3/lib/libqt-mt.so.3
0000032 0xb7cb45a3 in QAction::qt_invoke () from /usr/qt/3/lib/libqt-mt.so.3
0000033 0x08381d59 in ScrAction::qt_invoke ()
0000034 0xb7960253 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
0000035 0xb7c93f58 in QSignal::signal () from /usr/qt/3/lib/libqt-mt.so.3
0000036 0xb7979def in QSignal::activate () from /usr/qt/3/lib/libqt-mt.so.3
0000037 0xb7a63cb2 in QPopupMenu::mouseReleaseEvent () from /usr/qt/3/lib/libqt-mt.so.3
0000038 0xb79959ba in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
0000039 0xb7904d7c in QApplication::internalNotify () from /usr/qt/3/lib/libqt-mt.so.3
0000040 0xb7904230 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
0000041 0xb789a689 in QETWidget::translateMouseEvent () from /usr/qt/3/lib/libqt-mt.so.3
0000042 0xb78986fc in QApplication::x11ProcessEvent () from /usr/qt/3/lib/libqt-mt.so.3
0000043 0xb78b00fb in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
0000044 0xb7916c98 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
0000045 0xb7916b48 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
0000046 0xb7904fb1 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
0000047 0x0852f538 in mainApp ()
---Type <return> to continue, or q <return> to quit---
0000048 0x0852f4db in main ()
Steps To Reproducescripts -> scribus scripts -> font sample
close the window
TagsNo tags attached.
Patch

Relationships

child of 0003813 acknowledged Metabug: Scripter 

Activities

plinnell

2005-09-04 10:11

viewer   ~0006382

cannot replicate here

cbradney

2005-09-07 20:29

administrator   ~0006460

Johannes, do you have imaging emerged? emerge -pv imaging

ringerc

2005-09-08 06:29

reporter   ~0006468

Cannot replicate here.

That crash is deep in Python, and while that's very far from proof that there's nothing wrong in Scribus or the scripter, I'm disinlined to stress unless someone on another machine can reproduce it.

You asked about a crash similar to this one on IRC recently. Is this the same thing? If so, did rebuilding Tkinter, Python, Scribus, tk, PIL (python imaging library), and anyting else related like you were trying at the time resolve the issue?

As for python-imaging, if it's not installed the script should fall back gracefully. A crash is not OK. If, however, it is broken, or Python has been rebuilt (new flags, different version, etc) but PIL or Tkinter have not, Python may be unable to return an import failure error but may instead crash. That generally implies that the distro's dependency tracking has failed to determine what needs rebuilding.

jo-hannes

2005-09-08 16:35

developer   ~0006474

sorry, im only on modem at the moment. have to look for a way to update cvs. then ill test again...

cbradney

2005-09-08 20:06

administrator   ~0006475

Meanwhile Johannes, please run a revdep-rebuild -pv, check the results and if u agree, run without the -pv. Look on Gentoo sites if you dont know about revdep-rebuild.

sjc

2005-09-25 20:27

developer   ~0006734

I have run the script many hundreds of times and never seen this happen. Thats not to say there is not an issue there somewhere.

plinnell

2005-09-25 20:56

viewer   ~0006739

Likewise, I use this script dozens of times to stress test Scribus and only once did it trigger a crash, which was fixed in Scribus 1.3.0

Issue History

Date Modified Username Field Change
2005-08-13 09:23 jo-hannes New Issue
2005-09-04 10:11 plinnell Note Added: 0006382
2005-09-07 20:29 cbradney Note Added: 0006460
2005-09-08 06:29 ringerc Note Added: 0006468
2005-09-08 06:30 ringerc Status new => acknowledged
2005-09-08 16:35 jo-hannes Note Added: 0006474
2005-09-08 20:06 cbradney Note Added: 0006475
2005-09-25 20:27 sjc Note Added: 0006734
2005-09-25 20:29 cbradney Status acknowledged => resolved
2005-09-25 20:29 cbradney Resolution open => no change required
2005-09-25 20:29 cbradney Assigned To => cbradney
2005-09-25 20:56 plinnell Status resolved => closed
2005-09-25 20:56 plinnell Note Added: 0006739
2006-05-13 21:27 christoph_s Relationship added child of 0003813