View Issue Details

IDProjectCategoryView StatusLast Update
0013971ScribusTablespublic2016-05-12 13:59
Reporterlongli Assigned Tojghali  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
OSwindowsOS Versionwindows 10 
Product Version1.5.2.svn 
Target Version1.5.2Fixed in Version1.5.2.svn 
Summary0013971: If you paste text in the table, the program will abort.
Description If you paste text in the table, the program will abort.
Steps To Reproduce1. insert a table.
2.type text in the cell, for example, "hello"
3. copy the text you typed
4. move the cursor to the end of the cell
5. paste the text
TagsNo tags attached.
PatchNo

Relationships

related to 0013767 confirmed Viewport moves (in some cases zooms out) when adding new table 

Activities

Ben

2016-04-21 02:25

reporter   ~0040352

Unable to reproduce in Linux ( SVN version 21219 OpenSuSe tumbleweed x86_64 ). Perhaps this is only a problem under Windows.

Kunda

2016-04-21 02:33

updater   ~0040355

Can reproduce on OSX 10.10.5 1.5.2svn r21218
added backtrace

Kunda

2016-04-21 02:33

updater  

bt.txt (3,681 bytes)   
Assertion failed: (pos + signed(len) <= length()), function select, file /tmp/scribus-20160419-57395-1dq4631/scribus/text/storytext.cpp, line 1575.
Process 69338 stopped
* thread #1: tid = 0x103212, 0x00007fff95800286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00007fff95800286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
->  0x7fff95800286 <+10>: jae    0x7fff95800290            ; <+20>
    0x7fff95800288 <+12>: movq   %rax, %rdi
    0x7fff9580028b <+15>: jmp    0x7fff957fbc53            ; cerror_nocancel
    0x7fff95800290 <+20>: retq
(lldb) bt
* thread #1: tid = 0x103212, 0x00007fff95800286 libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
  * frame #0: 0x00007fff95800286 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff922779f9 libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff957949ab libsystem_c.dylib`abort + 129
    frame #3: 0x00007fff9575ca91 libsystem_c.dylib`__assert_rtn + 321
    frame #4: 0x00000001007f545c Scribus`StoryText::select(int, unsigned int, bool) + 354
    frame #5: 0x00000001001db1f2 Scribus`PageItem_TextFrame::deleteSelectedTextFromFrame() + 86
    frame #6: 0x00000001003a7cbb Scribus`ScribusMainWindow::slotEditPaste() + 727
    frame #7: 0x00000001038185bd QtCore`QMetaObject::activate(QObject*, int, int, void**) + 749
    frame #8: 0x000000010233496f QtWidgets`QAction::activate(QAction::ActionEvent) + 303
    frame #9: 0x00000001038185bd QtCore`QMetaObject::activate(QObject*, int, int, void**) + 749
    frame #10: 0x00000001038116dc QtCore`QObject::event(QEvent*) + 156
    frame #11: 0x000000010233db76 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 294
    frame #12: 0x00000001023404c0 QtWidgets`QApplication::notify(QObject*, QEvent*) + 5648
    frame #13: 0x00000001037e53f4 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 164
    frame #14: 0x00000001037e6014 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 596
    frame #15: 0x00000001044e4bae libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 190
    frame #16: 0x00000001044e5481 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
    frame #17: 0x00007fff98390a01 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #18: 0x00007fff98382b8d CoreFoundation`__CFRunLoopDoSources0 + 269
    frame #19: 0x00007fff983821bf CoreFoundation`__CFRunLoopRun + 927
    frame #20: 0x00007fff98381bd8 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #21: 0x00007fff8cb5a56f HIToolbox`RunCurrentEventLoopInMode + 235
    frame #22: 0x00007fff8cb5a1ee HIToolbox`ReceiveNextEventCommon + 179
    frame #23: 0x00007fff8cb5a12b HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #24: 0x00007fff8d3da8ab AppKit`_DPSNextEvent + 978
    frame #25: 0x00007fff8d3d9e58 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
    frame #26: 0x00007fff8d3cfaf3 AppKit`-[NSApplication run] + 594
    frame #27: 0x00000001044e437f libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
    frame #28: 0x00000001037e17a1 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
    frame #29: 0x00000001037e5a65 QtCore`QCoreApplication::exec() + 341
    frame #30: 0x00000001007d7ad5 Scribus`mainApp(int, char**) + 90
    frame #31: 0x00007fff9532b5c9 libdyld.dylib`start + 1
    frame #32: 0x00007fff9532b5c9 libdyld.dylib`start + 1
bt.txt (3,681 bytes)   

Kunda

2016-04-22 02:57

updater   ~0040377

jghali committed fix in r21220
please confirm fix

Kunda

2016-04-22 03:56

updater   ~0040380

jghali, Crash is fixed
BUT
I can't seem to recreate step 3 and step 5
for some reason copy/paste is not working correctly in tables at least on 10.10.5 1.5.2svn r21221

Kunda

2016-04-22 04:04

updater   ~0040381

Also when trying to recreate this bug I encounter 0013767

jghali

2016-04-23 15:39

administrator   ~0040405

Kunda, what you mention is not related to the subject of this issue. So there is not reason to reopen it.

Kunda

2016-04-23 23:30

updater   ~0040409

jghali, sorry for the misunderstanding. The way I see it though, the broken copy/paste issue was not present before the fix. So I was understanding that it was a regression of a sort.

Issue History

Date Modified Username Field Change
2016-04-21 01:56 longli New Issue
2016-04-21 02:25 Ben Note Added: 0040352
2016-04-21 02:33 Kunda Note Added: 0040355
2016-04-21 02:33 Kunda File Added: bt.txt
2016-04-21 02:34 Kunda Severity minor => crash
2016-04-21 02:34 Kunda Target Version => 1.5.2
2016-04-21 02:34 Kunda Status new => confirmed
2016-04-21 12:50 jghali Status confirmed => resolved
2016-04-21 12:50 jghali Fixed in Version => 1.5.2.svn
2016-04-21 12:50 jghali Resolution open => fixed
2016-04-21 12:50 jghali Assigned To => jghali
2016-04-22 02:57 Kunda Note Added: 0040377
2016-04-22 03:56 Kunda Note Added: 0040380
2016-04-22 04:04 Kunda Note Added: 0040381
2016-04-22 04:04 Kunda Relationship added related to 0013767
2016-04-23 00:53 Kunda Status resolved => feedback
2016-04-23 00:53 Kunda Resolution fixed => reopened
2016-04-23 15:39 jghali Note Added: 0040405
2016-04-23 15:39 jghali Status feedback => resolved
2016-04-23 15:39 jghali Resolution reopened => fixed
2016-04-23 23:30 Kunda Note Added: 0040409
2016-05-12 13:59 Kunda Status resolved => closed