View Issue Details

IDProjectCategoryView StatusLast Update
0014064ScribusCanvaspublic2016-05-16 13:15
ReporterKunda Assigned Tofschmid  
PriorityhighSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
PlatformMacOSXOSYosemiteOS Version10.10.5
Product Version1.5.2.svn 
Target Version1.5.2Fixed in Version1.5.2.svn 
Summary0014064: bezier curve + text frame + text to path = crash
Descriptionsee gif
added backtrace
Steps To Reproduce1) draw a half circle with bezier curves
2) open a text frame below it
3) highlight both object
4) Item > Path Tools > Attach Text to Path
Result: Crash
Additional InformationOSX 10.10.5 1.5.2svn r21315
Tagsbezier, text to path
PatchNo

Relationships

related to 0003667 confirmed Item > Attach text to path, spacing not uniform in U curves 

Activities

Kunda

2016-05-16 04:46

updater  

text-to-path-crash.gif (321,472 bytes)   
text-to-path-crash.gif (321,472 bytes)   

Kunda

2016-05-16 04:47

updater  

bt.txt (11,122 bytes)   
Assertion failed: (ls->firstChar() < story()->length()), function appendLine, file /tmp/scribus-20160515-64319-7im9st/scribus/text/textlayout.cpp, line 99.
Process 78594 stopped
* thread #1: tid = 0x148771, 0x00007fff938d3286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff938d3286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff938d3286 <+10>: jae    0x7fff938d3290            ; <+20>
    0x7fff938d3288 <+12>: movq   %rax, %rdi
    0x7fff938d328b <+15>: jmp    0x7fff938cec53            ; cerror_nocancel
    0x7fff938d3290 <+20>: retq
(lldb) bt
* thread #1: tid = 0x148771, 0x00007fff938d3286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff938d3286 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff9034a9f9 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff938679ab libsystem_c.dylib`abort + 129
    frame #3: 0x00007fff9382fa91 libsystem_c.dylib`__assert_rtn + 321
    frame #4: 0x000000010081ee8f Scribus`TextLayout::appendLine(LineBox*) + 365
    frame #5: 0x00000001001dbe99 Scribus`PageItem_PathText::DrawObj_Item(ScPainter*, QRectF) + 7363
    frame #6: 0x00000001001932ff Scribus`PageItem::DrawObj(ScPainter*, QRectF) + 371
    frame #7: 0x00000001000a3a48 Scribus`Canvas::DrawPageItems(ScPainter*, ScLayer&, QRect, bool) + 1386
    frame #8: 0x00000001000a0e54 Scribus`Canvas::drawContents(QPainter*, int, int, int, int) + 2254
    frame #9: 0x00000001000a0549 Scribus`Canvas::fillBuffer(QPaintDevice*, QPoint, QRect) + 167
    frame #10: 0x00000001000a1274 Scribus`Canvas::paintEvent(QPaintEvent*) + 564
    frame #11: 0x00000001023b2291 QtWidgets`QWidget::event(QEvent*) + 2129
    frame #12: 0x0000000102372b76 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
    frame #13: 0x00000001023754c0 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5648
    frame #14: 0x000000010381a3f4 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
    frame #15: 0x00000001023abd84 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 3412
    frame #16: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #17: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #18: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #19: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #20: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #21: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #22: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #23: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #24: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #25: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #26: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #27: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #28: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #29: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #30: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #31: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #32: 0x00000001023ac558 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 1192
    frame #33: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #34: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #35: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #36: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #37: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #38: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #39: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #40: 0x00000001023ac3e6 QtWidgets`QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*, QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 822
    frame #41: 0x00000001023ac023 QtWidgets`QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) + 4083
    frame #42: 0x0000000102380511 QtWidgets`QWidgetBackingStore::doSync() + 5281
    frame #43: 0x00000001023b24bd QtWidgets`QWidget::event(QEvent*) + 2685
    frame #44: 0x00000001024bb07f QtWidgets`QMainWindow::event(QEvent*) + 1743
    frame #45: 0x0000000102372b76 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
    frame #46: 0x00000001023754c0 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5648
    frame #47: 0x000000010381a3f4 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
    frame #48: 0x000000010237c11c QtWidgets`QWidgetBackingStore::sendUpdateRequest(QWidget*, QWidgetBackingStore::UpdateTime) + 252
    frame #49: 0x000000010237c8a9 QtWidgets`QWidgetBackingStore::markDirty(QRect const&, QWidget*, QWidgetBackingStore::UpdateTime, QWidgetBackingStore::BufferState) + 153
    frame #50: 0x00000001023b5673 QtWidgets`QWidget::repaint(QRect const&) + 195
    frame #51: 0x00000001023b55a4 QtWidgets`QWidget::repaint() + 52
    frame #52: 0x00000001005f9a31 Scribus`OutlinePalette::BuildTree(bool) + 6553
    frame #53: 0x00000001003c18c7 Scribus`ScribusMainWindow::slotDocCh(bool) + 555
    frame #54: 0x000000010384d5bd QtCore`QMetaObject::activate(QObject*, int, int, void**) + 749
    frame #55: 0x000000010042339a Scribus`ScribusDoc::itemSelection_DeleteItem(Selection*, bool) + 2986
    frame #56: 0x00000001004215b7 Scribus`ScribusDoc::convertItemTo(PageItem*, PageItem::ItemType, PageItem*) + 1077
    frame #57: 0x00000001004757da Scribus`ScribusView::ToPathText() + 240
    frame #58: 0x000000010384d5bd QtCore`QMetaObject::activate(QObject*, int, int, void**) + 749
    frame #59: 0x000000010236996f QtWidgets`QAction::activate(QAction::ActionEvent) + 303
    frame #60: 0x000000010384d5bd QtCore`QMetaObject::activate(QObject*, int, int, void**) + 749
    frame #61: 0x00000001038466dc QtCore`QObject::event(QEvent*) + 156
    frame #62: 0x0000000102372b76 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
    frame #63: 0x00000001023754c0 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5648
    frame #64: 0x000000010381a3f4 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
    frame #65: 0x000000010381b014 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 596
    frame #66: 0x0000000104527bae libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190
    frame #67: 0x0000000104528481 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
    frame #68: 0x00007fff96463a01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #69: 0x00007fff96455b8d CoreFoundation`__CFRunLoopDoSources0 + 269
    frame #70: 0x00007fff964551bf CoreFoundation`__CFRunLoopRun + 927
    frame #71: 0x00007fff96454bd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #72: 0x00007fff8ac2d56f HIToolbox`RunCurrentEventLoopInMode + 235
    frame #73: 0x00007fff8ac2d1ee HIToolbox`ReceiveNextEventCommon + 179
    frame #74: 0x00007fff8ac2d12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #75: 0x00007fff8b4ad8ab AppKit`_DPSNextEvent + 978
    frame #76: 0x00007fff8b4ace58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame #77: 0x00007fff8b4a2af3 AppKit`-[NSApplication run] + 594
    frame #78: 0x000000010452737f libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
    frame #79: 0x00000001038167a1 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
    frame #80: 0x000000010381aa65 QtCore`QCoreApplication::exec() + 341
    frame #81: 0x00000001007fc51c Scribus`mainApp(int, char**) + 105
    frame #82: 0x00007fff933fe5c9 libdyld.dylib`start + 1
    frame #83: 0x00007fff933fe5c9 libdyld.dylib`start + 1
bt.txt (11,122 bytes)   

Kunda

2016-05-16 05:04

updater   ~0041125

I was trying to recreate 0003667

Issue History

Date Modified Username Field Change
2016-05-16 04:46 Kunda New Issue
2016-05-16 04:46 Kunda File Added: text-to-path-crash.gif
2016-05-16 04:47 Kunda File Added: bt.txt
2016-05-16 04:47 Kunda Target Version => 1.5.2
2016-05-16 04:48 Kunda Tag Attached: text to path
2016-05-16 04:48 Kunda Tag Attached: bezier
2016-05-16 05:04 Kunda Note Added: 0041125
2016-05-16 05:04 Kunda Relationship added related to 0003667
2016-05-16 07:21 fschmid Status new => resolved
2016-05-16 07:21 fschmid Fixed in Version => 1.5.2.svn
2016-05-16 07:21 fschmid Resolution open => fixed
2016-05-16 07:21 fschmid Assigned To => fschmid
2016-05-16 13:15 cbradney Status resolved => closed