View Issue Details

IDProjectCategoryView StatusLast Update
0013775ScribusStory Editor / Text Framespublic2016-03-07 23:11
ReporterKunda Assigned Tojghali  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformMacOSXOSYosemiteOS Version10.10.5
Product Version1.5.2.svn 
Fixed in Version1.4.7.svn 
Summary0013775: Alternatively clicking between 2 text blocks crashes w/ Signal 6
DescriptionSee instructions + bt attached
(cloned from 0008199)
Steps To Reproduce1. Open the attached .sla file.
2. Double click the UPPER text block, and type/add some text there
3. Double-click or the LOWER text block.
4. Double-click the UPPER text block
5. Repeat steps 3 and 4 several times
Result Signal 6
Additional InformationError:
Assertion failed: (pos + signed(len) <= length()), function select, file /tmp/scribus20160227-1785-16gvg6/scribus/text/storytext.cpp, line 1601.
TagsNo tags attached.
PatchNo

Relationships

related to 0008199 closedjghali Clicking text block moves text block far away 
has duplicate 0013797 closedjghali 2 text frame + 2 paragraph + select text + moving another text frame == Scribus Crash 

Activities

2009-06-23 07:06

 

text-block-jumps.7z (241,888 bytes)

Kunda

2016-02-27 13:45

updater  

bt.txt (4,095 bytes)   
Assertion failed: (pos + signed(len) <= length()), function select, file /tmp/scribus20160227-1785-16gvg6/scribus/text/storytext.cpp, line 1601.
Process 11352 stopped
* thread #1: tid = 0xd6ad, 0x00007fff99480286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff99480286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff99480286 <+10>: jae    0x7fff99480290            ; <+20>
    0x7fff99480288 <+12>: movq   %rax, %rdi
    0x7fff9948028b <+15>: jmp    0x7fff9947bc53            ; cerror_nocancel
    0x7fff99480290 <+20>: retq
(lldb)
error: No auto repeat.
(lldb) bt
* thread #1: tid = 0xd6ad, 0x00007fff99480286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff99480286 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff974539f9 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff98afe9ab libsystem_c.dylib`abort + 129
    frame #3: 0x00007fff98ac6a91 libsystem_c.dylib`__assert_rtn + 321
    frame #4: 0x00000001007ff624 Scribus`StoryText::select(int, unsigned int, bool) + 354
    frame #5: 0x00000001000cdf50 Scribus`CanvasMode_Edit::mouseMoveEvent(QMouseEvent*) + 1962
    frame #6: 0x000000010046d027 Scribus`ScribusView::eventFilter(QObject*, QEvent*) + 343
    frame #7: 0x00000001037af809 QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 201
    frame #8: 0x000000010235296b QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 235
    frame #9: 0x0000000102356013 QtWidgets`QApplication::notify(QObject*, QEvent*) + 9011
    frame #10: 0x00000001037af4f3 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame #11: 0x000000010235330b QtWidgets`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 971
    frame #12: 0x00000001023b0ed9 QtWidgets`QWidgetWindow::handleMouseEvent(QMouseEvent*) + 1177
    frame #13: 0x00000001023b00ef QtWidgets`QWidgetWindow::event(QEvent*) + 111
    frame #14: 0x000000010235297b QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 251
    frame #15: 0x00000001023552de QtWidgets`QApplication::notify(QObject*, QEvent*) + 5630
    frame #16: 0x00000001037af4f3 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
    frame #17: 0x0000000102a13222 QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2434
    frame #18: 0x00000001029ff572 QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 162
    frame #19: 0x00000001055f1391 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
    frame #20: 0x00007fff94e52a01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #21: 0x00007fff94e44b8d CoreFoundation`__CFRunLoopDoSources0 + 269
    frame #22: 0x00007fff94e441bf CoreFoundation`__CFRunLoopRun + 927
    frame #23: 0x00007fff94e43bd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #24: 0x00007fff957db56f HIToolbox`RunCurrentEventLoopInMode + 235
    frame #25: 0x00007fff957db1ee HIToolbox`ReceiveNextEventCommon + 179
    frame #26: 0x00007fff957db12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #27: 0x00007fff90f458ab AppKit`_DPSNextEvent + 978
    frame #28: 0x00007fff90f44e58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame #29: 0x00007fff90f3aaf3 AppKit`-[NSApplication run] + 594
    frame #30: 0x00000001055f02df libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
    frame #31: 0x00000001037acc1c QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 412
    frame #32: 0x00000001037afa95 QtCore`QCoreApplication::exec() + 341
    frame #33: 0x00000001007e8e2d Scribus`mainApp(int, char**) + 90
    frame #34: 0x00007fff8bba55c9 libdyld.dylib`start + 1
bt.txt (4,095 bytes)   

Kunda

2016-02-28 10:47

updater   ~0038926

I can't reproduce this from scratch. So perhaps it's that specific .sla ?

jghali

2016-03-07 21:07

administrator   ~0039033

I managed to reproduce the bug quite reliably. Not easy tho. It should be now fixed :-)

Kunda

2016-03-07 23:11

updater   ~0039035

Fix confirmed.
jghali committed fix in r21072
Thanks!

Issue History

Date Modified Username Field Change
2016-02-27 13:45 Kunda New Issue
2016-02-27 13:45 Kunda File Added: bt.txt
2016-02-27 13:45 Kunda Issue generated from: 0008199
2016-02-27 13:45 Kunda Relationship added related to 0008199
2016-02-27 13:46 Kunda Description Updated
2016-02-28 10:47 Kunda Note Added: 0038926
2016-03-07 18:05 Kunda Relationship added related to 0013797
2016-03-07 21:06 jghali Summary Alternatey clicking between 2 text blocks crashes w/ Signal 6 => Alternatively clicking between 2 text blocks crashes w/ Signal 6
2016-03-07 21:07 jghali Note Added: 0039033
2016-03-07 21:07 jghali Status new => resolved
2016-03-07 21:07 jghali Fixed in Version => 1.4.7.svn
2016-03-07 21:07 jghali Resolution open => fixed
2016-03-07 21:07 jghali Assigned To => jghali
2016-03-07 23:11 Kunda Note Added: 0039035
2016-03-07 23:11 Kunda Status resolved => closed
2016-03-09 15:50 Kunda Relationship replaced has duplicate 0013797