View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0013601 | Scribus | Story Editor / Text Frames | public | 2015-12-13 09:28 | 2016-05-16 17:11 |
Reporter | darkliquid | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | unable to reproduce | ||
Platform | Linux | OS | Ubuntu | OS Version | Trusty |
Product Version | 1.5.1svn | ||||
Summary | 0013601: Crash on selecting text in story editor | ||||
Description | Sometimes after opening the story editor and highlight-selecting text in it, scribus crashes. | ||||
Steps To Reproduce | Open a new document Create a text frame Right click->edit text Paste in some text from another program Reposition the window around a bit (sometimes this erases all text, if so, repaste) Repeat these steps until crash: Select all the text with the mouse (not Ctrl+A) Select just some of the text and change it's colour to white (again, use mouse) Select all the text with the mouse (not Ctrl+A) again | ||||
Additional Information | Full output of console whilst running the above steps: pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/AppIcon.png: File not found sizeof(TrkHeader)=1000 pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/AllCaps.png: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/Kapital.xpm: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/Strike.xpm: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/outlined.png: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/shadow.png: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/shade.png: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/Revers.png: File not found pathForIcon: Unable to load icon /usr/share/scribus-trunk/icons/1_5_1/DrawTextFrame.xpm: File not found QPixmap::scaled: Pixmap is a null pixmap QPainter::begin: Paint device returned engine == 0, type: 2 QPixmap::scaled: Pixmap is a null pixmap QPainter::end: Painter not active, aborted setBestEncoding for AbyssinicaSIL with 987 glyphs, hasNames= 512 , POST size= 8705 Checking cmap 0 ( 1 , 0 , 0 ) format 0 Checking cmap 1 ( 3 , 1 , 0 ) format 4 found Unicode enc for Abyssinica SIL Regular as map 1 with 944 glyphs using default enc for Abyssinica SIL Regular load post 0 8705 setBestEncoding for AbyssinicaSIL with 987 glyphs, hasNames= 512 , POST size= 8705 Checking cmap 0 ( 1 , 0 , 0 ) format 0 Checking cmap 1 ( 3 , 1 , 0 ) format 4 found Unicode enc for Abyssinica SIL Regular as map 1 with 944 glyphs using default enc for Abyssinica SIL Regular load post 0 8705 QPixmap::scaled: Pixmap is a null pixmap QPainter::begin: Paint device returned engine == 0, type: 2 QPixmap::scaled: Pixmap is a null pixmap QPainter::end: Painter not active, aborted scribus-trunk: /build/scribus-trunk-d44Qkh/scribus-trunk-1.5.1svn~r20577~20151125~ppa39~ubuntu14.04.1/scribus/text/storytext.cpp:1601: void StoryText::select(int, uint, bool): Assertion `pos + signed(len) <= length()' failed. Scribus Crash ------------- Scribus crashes due to Signal # 6 Calling Emergency Save | ||||
Tags | ubuntu | ||||
Patch | No | ||||
related to | 0013653 | new | ODT generated from google docs doesn't import |
|
I cannot reproduce - clicking 2 times for about a quarter of an hour^^ One time all done in the text frame, one time in the editor. r20616 Archlinux |
|
I reproduced it and recorded the problem happening to make it clearer: https://youtu.be/8xeMPosWygc In case it's relevant, I'm pasting from a google doc. |
|
darkliquid, thanks for the bug report. Can you provide a link to this Google Doc or part of it ? |
|
I can't I'm afraid as it's part of a large commercial project. However, I shall try and reproduce the issue again without pasting from the doc to rule out that specific thing. |
|
Okay, I've managed to reproduce it without it. It seems to be a weird issue to do with moving the story edtior window when text inside it is selected. I'll make another video shortly to demonstrate what I mean. In the meantime, I ran the app through gdb whilst doing this can can provide this backtrace: (gdb) thread apply all bt full Thread 8 (Thread 0x7fffbed6e700 (LWP 17917)): #0 0x00007ffff1c8cda3 in select () at ../sysdeps/unix/syscall-template.S:81 No locals. 0000001 0x00007ffff763b5b1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000002 0x00007ffff74bc233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000003 0x00007ffff1985182 in start_thread (arg=0x7fffbed6e700) at pthread_create.c:312 __res = <optimised out> pd = 0x7fffbed6e700 now = <optimised out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736395142912, -4624958933398094633, 1, 0, 140736395143616, 140736395142912, 4625097822931877079, 4624980668929244375}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimised out> pagesize_m1 = <optimised out> sp = <optimised out> freesize = <optimised out> __PRETTY_FUNCTION__ = "start_thread" 0000004 0x00007ffff1c9547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 7 (Thread 0x7fffd4aa8700 (LWP 17916)): #0 0x00007ffff1c8812d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. 0000001 0x00007fffefaeafe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000002 0x00007fffefaeb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000003 0x00007ffff76dd9ab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000004 0x00007ffff768f96b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000005 0x00007ffff74b823a in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000006 0x00007ffff74bc233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000007 0x00007ffff1985182 in start_thread (arg=0x7fffd4aa8700) at pthread_create.c:312 __res = <optimised out> pd = 0x7fffd4aa8700 now = <optimised out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736761333504, -4624958933398094633, 1, 0, 140736761334208, 140736761333504, 4625039648673594583, 4624980668929244375}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimised out> pagesize_m1 = <optimised out> sp = <optimised out> freesize = <optimised out> __PRETTY_FUNCTION__ = "start_thread" 0000008 0x00007ffff1c9547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 4 (Thread 0x7fffd62ab700 (LWP 17913)): #0 0x00007ffff1c8812d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. 0000001 0x00007fffefaeafe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000002 0x00007fffefaeb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000003 0x00007fffefaeb129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- 0000004 0x00007fffefb0ff05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000005 0x00007ffff1985182 in start_thread (arg=0x7fffd62ab700) at pthread_create.c:312 __res = <optimised out> pd = 0x7fffd62ab700 now = <optimised out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736786511616, -4624958933398094633, 1, 0, 140736786512320, 140736786511616, 4625042954187799767, 4624980668929244375}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimised out> pagesize_m1 = <optimised out> sp = <optimised out> freesize = <optimised out> __PRETTY_FUNCTION__ = "start_thread" 0000006 0x00007ffff1c9547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 3 (Thread 0x7fffd6aac700 (LWP 17912)): #0 0x00007ffff1c8812d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. 0000001 0x00007fffefaeafe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000002 0x00007fffefaeb30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000003 0x00007fffddbf0336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 No symbol table info available. 0000004 0x00007fffefb0ff05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000005 0x00007ffff1985182 in start_thread (arg=0x7fffd6aac700) at pthread_create.c:312 __res = <optimised out> pd = 0x7fffd6aac700 now = <optimised out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736794904320, -4624958933398094633, 1, 0, 140736794905024, 140736794904320, 4625044053162556631, 4624980668929244375}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimised out> pagesize_m1 = <optimised out> sp = <optimised out> freesize = <optimised out> __PRETTY_FUNCTION__ = "start_thread" 0000006 0x00007ffff1c9547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 2 (Thread 0x7fffe0044700 (LWP 17910)): #0 0x00007ffff1c8812d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. 0000001 0x00007ffff0e8cb72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 No symbol table info available. 0000002 0x00007ffff0e8e64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 No symbol table info available. 0000003 0x00007fffe27d6729 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so No symbol table info available. 0000004 0x00007ffff74bc233 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000005 0x00007ffff1985182 in start_thread (arg=0x7fffe0044700) at pthread_create.c:312 __res = <optimised out> pd = 0x7fffe0044700 now = <optimised out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736951764736, -4624958933398094633, 1, 0, 140736951765440, 140736951764736, 4624942086343982295, 4624980668929244375}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = <optimised out> pagesize_m1 = <optimised out> ---Type <return> to continue, or q <return> to quit--- sp = <optimised out> freesize = <optimised out> __PRETTY_FUNCTION__ = "start_thread" 0000006 0x00007ffff1c9547d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 1 (Thread 0x7ffff7fa69c0 (LWP 17831)): #0 0x00007ffff1bd1cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 17831 selftid = 17831 0000001 0x00007ffff1bd50d8 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x5555568a28d0, sa_sigaction = 0x5555568a28d0}, sa_mask = {__val = {140737488343072, 93825030747472, 140737351947607, 140733193388037, 0, 140737488342480, 140737248894248, 93825030747472, 93825030747472, 93825011976540, 140737351976213, 1, 140737249831053, 0, 0, 140737252792160}}, sa_flags = -134583872, sa_restorer = 0x7473696c712f6572} sigs = {__val = {32, 0 <repeats 15 times>}} 0000002 0x00007ffff74ae655 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000003 0x00007ffff74ab4b7 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000004 0x00005555557f7858 in ?? () No symbol table info available. 0000005 0x0000555556239ffa in StoryText::text(int) const () No symbol table info available. 0000006 0x000055555623adba in StoryText::prevParagraph(int) () No symbol table info available. 0000007 0x0000555556196f9f in SideBar::paintEvent(QPaintEvent*) () No symbol table info available. 0000008 0x00007ffff6d76302 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000009 0x00007ffff6e71c7e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000010 0x00007ffff6d3ac8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000011 0x00007ffff6d3fe56 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000012 0x00007ffff7690c2d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000013 0x00007ffff6d70bea in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&, QPoint const&, int, QPainter*, QWidgetBackingStore*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000014 0x00007ffff6d471e4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000015 0x00007ffff6d66e2f in QWidgetPrivate::syncBackingStore() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000016 0x00007ffff6d76112 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000017 0x00007ffff6e8713b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000018 0x00007ffff6d3ac8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000019 0x00007ffff6d3fe56 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 No symbol table info available. 0000020 0x00007ffff7690c2d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000021 0x00007ffff7692e07 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000022 0x00007ffff76ddcd3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. ---Type <return> to continue, or q <return> to quit--- 0000023 0x00007fffefaeae04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000024 0x00007fffefaeb048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000025 0x00007fffefaeb0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 No symbol table info available. 0000026 0x00007ffff76dd98c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000027 0x00007ffff768f96b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000028 0x00007ffff76960e1 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 No symbol table info available. 0000029 0x000055555621a7c5 in mainApp(int, char**) () No symbol table info available. 0000030 0x00007ffff1bbcec5 in __libc_start_main (main=0x555555804cf0 <main>, argc=1, argv=0x7fffffffde18, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffde08) at libc-start.c:287 result = <optimised out> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -4624958933398094633, 93824995055270, 140737488346640, 0, 0, 4624958932233321687, 4624980407714282711}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fffffffde28, 0x7ffff7ffe1c8}, data = {prev = 0x0, cleanup = 0x0, canceltype = -8664}}} not_first_call = <optimised out> 0000031 0x00005555558056cf in _start () No symbol table info available. |
|
Okay, so I made a new google doc here and copied from that: https://docs.google.com/document/d/1dUbFdefCZ0EIaXg0P8-4e_rDVDGlv4ai3oml1aC6kk0/edit?usp=sharing Not sure if pasting from this is what is causing things or not, but I couldn't get things to crash using hand written text or copying from this webpage: https://wiki.debian.org/HowToGetABacktrace Video of reproduction is here. The paste from the google doc is right near the end of the video, the early part demonstrates how the issue doesn't seem to be triggered by either manual text input or pasting from the other website. It also demonstrates how selected text is deleted when moving the window. https://youtu.be/qtRpasfcN-8 |
|
Moving the SE window so it triggers an update of the canvas text-frame is NOT reproducible for me on OSX 10.10.5 1.5.1svn r20681 I need to manually update text frame or update text frame and quit SE for changes to occur. Any ubuntu testers to test this please |
|
can't seem to be able to reproduce this with lateste svn, on Fedora23. re-positioning SE updates changes of text in the main window. |
|
FIrash, can you reproduce? |
|
Need ubuntu testers for this |
|
darkliquid, can you test on 1.5.2svn via the PPA ? |
|
I've tried this on all the latest builds in the PPA and not managed to get it to crash on any of them as of yet. I can always raise it again as an issue if it pops up again but for now, I've not been able to replicate it. |
|
Cool. Closing this ticket. If it rears its ugly head please reopen ticket. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-12-13 09:28 | darkliquid | New Issue | |
2015-12-13 10:40 |
|
Note Added: 0037905 | |
2015-12-13 10:58 | darkliquid | Note Added: 0037906 | |
2015-12-21 14:09 | Kunda | Tag Attached: #please_test | |
2015-12-22 11:58 | Kunda | Note Added: 0037950 | |
2015-12-22 12:01 | darkliquid | Note Added: 0037952 | |
2015-12-22 12:10 | darkliquid | Note Added: 0037954 | |
2015-12-22 12:23 | darkliquid | Note Added: 0037958 | |
2016-01-13 14:06 | Kunda | Note Added: 0038117 | |
2016-01-13 21:55 | Kunda | Relationship added | related to 0013653 |
2016-01-21 22:57 | corebots | Note Added: 0038329 | |
2016-01-21 23:20 | Kunda | Note Added: 0038330 | |
2016-03-07 13:41 | Kunda | Note Added: 0039023 | |
2016-05-05 15:21 | Kunda | Tag Attached: ubuntu | |
2016-05-05 15:39 | Kunda | Note Added: 0040792 | |
2016-05-05 15:39 | Kunda | Tag Attached: #pending | |
2016-05-15 23:15 | darkliquid | Note Added: 0041118 | |
2016-05-16 00:26 | Kunda | Note Added: 0041121 | |
2016-05-16 00:26 | Kunda | Status | new => closed |
2016-05-16 00:26 | Kunda | Resolution | open => unable to reproduce |
2016-05-16 00:26 | Kunda | Additional Information Updated | |
2016-05-16 17:11 | Kunda | Tag Detached: #pending | |
2016-05-16 17:11 | Kunda | Tag Detached: #please_test |