View Issue Details

IDProjectCategoryView StatusLast Update
0005786ScribusOS-PPCOSXpublic2009-01-15 22:12
Reporterjuh Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityunable to reproduce
Status closedResolutionfixed 
Product Version1.3.4 
Target Version1.3.5Fixed in Version1.3.5svn 
Summary0005786: crash when closing doc
DescriptionI think that I closed some open documents by clicking on the cross, when Scribus crashes. I attached a crashlog
TagsNo tags attached.
Patch

Relationships

child of 0005693 closedplinnell 1.3.5 bug collection (prior to roadmap) 

Activities

2007-05-30 18:32

 

Crashlog.zip (5,301 bytes)

avox

2007-12-05 23:14

administrator   ~0018182

That's in FileWatcher::checkFiles():


Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0 libqt-mt.3.3.5.dylib 0xb26a05d4 QShared::ref() + 20 (qshared.h:49)
1 libqt-mt.3.3.5.dylib 0xb252241c QString::QString[in-charge](QString c
onst&) + 60 (qstring.cpp:1398)
2 net.scribus 0x009dc248 QValueListPrivate<QString>::insert(QV
alueListIterator<QString>, QString const&) + 56
3 net.scribus 0x001b458c FileWatcher::checkFiles() + 732
4 net.scribus 0x001b4b38 FileWatcher::qt_invoke(int, QUObject*
) + 664
5 libqt-mt.3.3.5.dylib 0xb20cb9fc QObject::activate_signal(QConnectionL
ist*, QUObject*) + 420 (qobject.cpp:2357)
6 libqt-mt.3.3.5.dylib 0xb20ccbbc QObject::activate_signal(int) + 616 (
qobject.cpp:2325)
7 libqt-mt.3.3.5.dylib 0xb25beec8 QTimer::timeout() + 60 (moc_qtimer.cp
p:83)
8 libqt-mt.3.3.5.dylib 0xb20fb178 QTimer::event(QEvent*) + 120 (qtimer.
cpp:220)
9 libqt-mt.3.3.5.dylib 0xb205d6dc QApplication::internalNotify(QObject*
, QEvent*) + 1272 (qapplication.cpp:2635)

cbradney

2007-12-05 23:20

administrator   ~0018183

but does it still happen in 135?

avox

2007-12-06 20:41

administrator   ~0018203

Good question, I guess yes but havent reproduced it.

I added some changes to filewatcher.cpp which should ameliorate the race condition, but I doubt it's 100% complete.

jghali

2009-01-14 22:41

administrator   ~0020915

Added another fix which stops the file watcher while closing doc.

jghali

2009-01-15 19:21

administrator   ~0020919

Previous fix was probably enough. I have committed a last fix tho : FileWatcher::stop() now wait that checkFiles() exit in case checkFiles() runs in another thread.

Issue History

Date Modified Username Field Change
2007-05-30 18:32 juh New Issue
2007-05-30 18:32 juh File Added: Crashlog.zip
2007-05-30 22:41 plinnell Status new => assigned
2007-05-30 22:41 plinnell Assigned To => avox
2007-09-27 19:51 christoph_s Relationship added child of 0005693
2007-12-05 23:14 avox Note Added: 0018182
2007-12-05 23:20 cbradney Note Added: 0018183
2007-12-06 20:41 avox Note Added: 0018203
2007-12-20 22:51 cbradney Target Version => 1.3.5svn
2007-12-26 17:02 cbradney Target Version 1.3.5svn => 1.3.5
2009-01-14 22:34 jghali Summary Crash => crash when closing doc
2009-01-14 22:41 jghali Note Added: 0020915
2009-01-15 19:21 jghali Note Added: 0020919
2009-01-15 19:21 jghali Status assigned => resolved
2009-01-15 19:21 jghali Fixed in Version => 1.3.5svn
2009-01-15 19:21 jghali Resolution open => fixed
2009-01-15 19:21 jghali Status resolved => assigned
2009-01-15 19:21 jghali Assigned To avox => jghali
2009-01-15 19:21 jghali Status assigned => resolved
2009-01-15 22:12 cbradney Status resolved => closed
2014-10-08 18:38 Kunda Category PPCOSX => OS-PPCOSX