Closed luzpaz closed 8 years ago
For those who want to try running the ScribusCTL RTL branch, here is a homebrew formula to do so: https://gist.github.com/luzpaz/cd1b5e9fc5fbb5c6c006
You can invoke it from the command line interface like so:
brew install --HEAD https://gist.githubusercontent.com/luzpaz/cd1b5e9fc5fbb5c6c006/raw/scribusrtl.rb --verbose
Offtopic @moceap can you provide any .sla's and fonts for me to check the RTL branch with? Thanks in advance
Font Arial and sample text for Arabic should get you started. The warning is harmless.
luzpaz notifications@github.com schrieb:
Offtopic @moceap can you provide any .sla's and fonts for me to check the RTL branch with? Thanks in advance
— Reply to this email directly or view it on GitHub.
Tried to add text below in to a text box and ScribusRTL crashed signal 6.
يَجِبُ عَلَى الإنْسَانِ أن يَكُونَ أمِيْنَاً وَصَادِقَاً مَعَ نَفْسِهِ وَمَعَ أَهْلِهِ وَجِيْرَانِهِ وَأَنْ يَبْذُلَ كُلَّ جُهْدٍ فِي إِعْلاءِ شَأْنِ الوَطَنِ وَأَنْ يَعْمَلَ عَلَى مَا يَجْلِبُ السَّعَادَةَ لِلنَّاسِ . ولَن يَتِمَّ لَهُ ذلِك إِلا بِأَنْ يُقَدِّمَ المَنْفَعَةَ العَامَّةَ عَلَى المَنْفَعَةِ الخَاصَّةِ وَهذَا مِثَالٌ لِلتَّضْحِيَةِ .
Here is the backtrace:
ASSERT failure in QVector<T>::operator[]: "index out of range", file /usr/local/opt/qt5/lib/QtCore.framework/Headers/qvector.h, line 401
Assertion failed: (false), function abort_on_error, file /tmp/scribusrtl20150808-11101-1yshgn0/scribus/scribuscore.cpp, line 76.
Process 22273 stopped
* thread #1: tid = 0x4fa81, 0x00007fff817b6286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007fff817b6286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7fff817b6286 <+10>: jae 0x7fff817b6290 ; <+20>
0x7fff817b6288 <+12>: movq %rax, %rdi
0x7fff817b628b <+15>: jmp 0x7fff817b1c53 ; cerror_nocancel
0x7fff817b6290 <+20>: retq
(lldb) bt
* thread #1: tid = 0x4fa81, 0x00007fff817b6286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00007fff817b6286 libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007fff81e5f42f libsystem_pthread.dylib`pthread_kill + 90
frame #2: 0x00007fff87740b53 libsystem_c.dylib`abort + 129
frame #3: 0x00007fff87708c39 libsystem_c.dylib`__assert_rtn + 321
frame #4: 0x00000001003de624 Scribus`abort_on_error(QtMsgType, QMessageLogContext const&, QString const&) + 150
frame #5: 0x000000010360d66c QtCore`qt_message(QtMsgType, QMessageLogContext const&, char const*, __va_list_tag*) + 44
frame #6: 0x000000010360f050 QtCore`QMessageLogger::fatal(char const*, ...) const + 160
frame #7: 0x0000000103609c05 QtCore`qt_assert_x(char const*, char const*, char const*, int) + 85
frame #8: 0x00000001001ccd54 Scribus`QVector<unsigned int>::operator[](int) + 68
frame #9: 0x00000001001cc522 Scribus`nextScriptRun(QVector<unsigned int>, int) + 54
frame #10: 0x00000001001cf4a2 Scribus`preShapeText(StoryText*, BidiInfo*, int) + 74
frame #11: 0x00000001001cfc6e Scribus`PageItem_TextFrame::layout() + 698
frame #12: 0x00000001001d83d4 Scribus`PageItem_TextFrame::DrawObj_Item(ScPainter*, QRectF) + 88
frame #13: 0x0000000100171563 Scribus`PageItem::DrawObj(ScPainter*, QRectF) + 371
frame #14: 0x0000000100174f5b Scribus`PageItem::DrawObj_toImage(double, int) + 989
frame #15: 0x00000001005945d2 Scribus`InlinePalette::updateItemList() + 192
frame #16: 0x00000001003baa8a Scribus`ScribusMainWindow::slotEditPaste() + 3236
frame #17: 0x0000000103805ca9 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2953
frame #18: 0x0000000102340590 QtWidgets`QAction::activate(QAction::ActionEvent) + 288
frame #19: 0x0000000103805ca9 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2953
frame #20: 0x00000001037fe9b3 QtCore`QObject::event(QEvent*) + 755
frame #21: 0x0000000102349473 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 307
frame #22: 0x000000010234c766 QtWidgets`QApplication::notify(QObject*, QEvent*) + 8022
frame #23: 0x00000001037d608c QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 956
frame #24: 0x00000001063ea76e libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190
frame #25: 0x00000001063eafe1 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
frame #26: 0x00007fff85e4ea01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
frame #27: 0x00007fff85e40b8d CoreFoundation`__CFRunLoopDoSources0 + 269
frame #28: 0x00007fff85e401bf CoreFoundation`__CFRunLoopRun + 927
frame #29: 0x00007fff85e3fbd8 CoreFoundation`CFRunLoopRunSpecific + 296
frame #30: 0x00007fff8816f56f HIToolbox`RunCurrentEventLoopInMode + 235
frame #31: 0x00007fff8816f1ee HIToolbox`ReceiveNextEventCommon + 179
frame #32: 0x00007fff8816f12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
frame #33: 0x00007fff8a82f8ab AppKit`_DPSNextEvent + 978
frame #34: 0x00007fff8a82ee58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
frame #35: 0x00007fff8a824af3 AppKit`-[NSApplication run] + 594
frame #36: 0x00000001063e9f3a libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2266
frame #37: 0x00000001037d2b2c QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 412
frame #38: 0x00000001037d596a QtCore`QCoreApplication::exec() + 346
frame #39: 0x00000001007dbbd9 Scribus`mainApp(int, char**) + 90
frame #40: 0x00007fff8c1c85c9 libdyld.dylib`start + 1
Closing as this is obsolete
OSX 10.10.4 running latest RTL branch