View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012911 | Scribus | Usability | public | 2015-02-11 13:50 | 2015-03-25 22:54 |
Reporter | PeterBenedek | Assigned To | cbradney | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | x86 | OS | Linux Mint | OS Version | 17 (32bit) |
Product Version | 1.5.0svn | ||||
Summary | 0012911: Copy-paste the last paragraph: memory corruption | ||||
Description | Link this video: https://www.dropbox.com/s/2ev8mjqe7ujjcq1/example.avi?dl=0 Difficult to reproduce error! Sample document: When copying and pasting the last paragraph of the Scribus crashes (1), or freeze (2). Sribus say: (1)sizeof(TrkHeader)=1000 Scribus crashes ------------- A Scribus a következ? jel miatt omlott össze: 0000011 Segmentation fault (2) sizeof(TrkHeader)=1000 *** Error in `scribus-trunk': malloc(): memory corruption: 0x0cd47660 *** | ||||
Steps To Reproduce | 1) Open the example.sla 2) Click the first text box 3) CTRL+T 4) Select last paragraph 5) Copy text 6) Paste text | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
|
|
I dont reproduce with today svn and Qt5.4 on Ubuntu. It reads a bit like 0012752 that is now closed. What svn version do you test ? Can you paste a gdb backtrace ? |
|
Scribus version: scribus-trunk_1.5.0svn201502091101-30~ubuntu14.04.1_i386.deb This program uses Qt version 5.2.1. backtrace --------- #0 0xb7fdccdc in ?? () 0000001 0xb598bc5a in ?? () from /lib/i386-linux-gnu/libc.so.6 0000002 0xb598c8cd in ?? () from /lib/i386-linux-gnu/libc.so.6 0000003 0xb70ecab5 in QTextEngine::LayoutData::~LayoutData() () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000004 0xb70f265f in QTextEngine::freeMemory() () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000005 0xb70f27be in QTextEngine::invalidate() () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000006 0xb71256e3 in ?? () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000007 0xb7126ea2 in ?? () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000008 0xb7151271 in QTextCursor::insertText(QString const&, QTextCharFormat const&) () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000009 0xb71512ec in QTextCursor::insertText(QString const&) () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000010 0xb76bcca9 in QWidgetTextControl::insertPlainText(QString const&) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000011 0xb76974bc in QTextEdit::insertPlainText(QString const&) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000012 0x08cf6990 in SEditor::insertUpdate(int, int) () 0000013 0x08cf5f0c in SEditor::insertStyledText(StoryText const&, int) () 0000014 0x08cf805b in SEditor::paste() () 0000015 0x08cf86a1 in SEditor::insertFromMimeData(QMimeData const*) () ---Type <return> to continue, or q <return> to quit--- 0000016 0xb769a7e3 in ?? () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000017 0xb76b6639 in QWidgetTextControl::paste(QClipboard::Mode) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000018 0xb76bb07f in ?? () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000019 0xb76c098c in QWidgetTextControl::processEvent(QEvent*, QMatrix const&, QWidget*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000020 0xb76b69d8 in QWidgetTextControl::processEvent(QEvent*, QPointF const&, QWidget*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000021 0xb7698f84 in QTextEdit::keyPressEvent(QKeyEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000022 0x08cf4fb4 in SEditor::keyPressEvent(QKeyEvent*) () 0000023 0xb74fc14a in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000024 0xb761bf1c in QFrame::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000025 0xb76af0cc in QAbstractScrollArea::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000026 0xb76986e3 in QTextEdit::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000027 0xb74b8e24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000028 0xb74bf53f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 ---Type <return> to continue, or q <return> to quit--- 0000029 0xb7c54aea in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Core.so.5 0000030 0xb751b0db in ?? () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000031 0xb751ea2c in ?? () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000032 0xb74b8e24 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000033 0xb74be801 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000034 0xb7c54aea in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQt5Core.so.5 0000035 0xb703b824 in QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000036 0xb7040be0 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000037 0xb70260f6 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000038 0xb07c1631 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so 0000039 0xb52541e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000040 0xb5254468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 0000041 0xb5254528 in g_main_context_iteration () ---Type <return> to continue, or q <return> to quit--- from /lib/i386-linux-gnu/libglib-2.0.so.0 0000042 0xb7ca786d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQt5Core.so.5 0000043 0xb07c1836 in ?? () from /usr/lib/i386-linux-gnu/qt5/plugins/platforms/libqxcb.so 0000044 0xb7c53206 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQt5Core.so.5 0000045 0xb7c5361c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQt5Core.so.5 0000046 0xb7c5a616 in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Core.so.5 0000047 0xb7036db4 in QGuiApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Gui.so.5 0000048 0xb74b7614 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQt5Widgets.so.5 0000049 0x08d7e950 in mainApp(int, char**) () 0000050 0x08d7e8de in main () |
|
Can you try with Qt 5.4? |
|
Unfortunately download deb package only 5.2.1. version contain. I tried: I installed 5.4 qt package, unfortunately Scribus is not in use! |
|
The crash is internal to Qt and apparently system dependent. I did several test. Here are the results : - OpenSuse 13.2 / Qt 5.3.2 : no crash - Ubuntu 14.10 / system Qt 5.3.0 : crash - Ubuntu 14.10 / official Qt 5.3.2 : crash - Ubuntu 14.10 / official Qt 5.4.0 : no crash - Windows 7 / Qt 5.3.2 : no crash |
|
Can't reproduce on OSX 10.9.5 Scribus r19813 Qt5.4 though, there is one odd issue: the CLI interface outputs "storytext::charstyle: access at end of text %i 5453" I can't reproduce it though. Peter, TIP: use the cmake flag ( -DWANT_SVNVERSION=1 ) that tells Scribus to compile with SVN version in the 'About' menu. |
|
Kunda: I can not translate source (I'm on work experience). |
|
Peter, you aren't compiling from source ? |
|
Deb package. (I install it from a packet.) I hope, I do not misunderstand this! I do not speak English! :-( |
|
Peter, is this still an issue ? |
|
Yes! The situation is unchanged! Linux MInt 17.1 32bit; Qt 5.3.2 : crash |
|
Peter, can you upgrade your version to Qt5.4 and test, please ? |
|
Tested Qt 5.4.1 --> No Crash! |
|
Closing. Thanks Peter! |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-02-11 13:50 | PeterBenedek | New Issue | |
2015-02-11 13:50 | PeterBenedek | File Added: example.sla | |
2015-02-11 15:25 | JLuc | Note Added: 0034472 | |
2015-02-11 16:12 | PeterBenedek | Note Added: 0034475 | |
2015-02-11 16:42 | cbradney | Note Added: 0034477 | |
2015-02-11 17:58 | PeterBenedek | Note Added: 0034480 | |
2015-02-11 18:01 | PeterBenedek | Note Edited: 0034480 | |
2015-02-11 19:11 | JLuc | Note Edited: 0034472 | |
2015-02-11 23:46 | jghali | Note Added: 0034485 | |
2015-02-12 01:52 | jghali | Note Edited: 0034485 | |
2015-02-12 02:34 | Kunda | Note Added: 0034489 | |
2015-02-12 15:48 | PeterBenedek | Note Added: 0034497 | |
2015-02-12 18:35 | Kunda | Note Added: 0034499 | |
2015-02-12 18:54 | PeterBenedek | Note Added: 0034500 | |
2015-02-12 18:55 | PeterBenedek | Note Edited: 0034500 | |
2015-03-23 23:30 | Kunda | Note Added: 0034740 | |
2015-03-24 09:45 | PeterBenedek | Note Added: 0034742 | |
2015-03-24 09:55 | PeterBenedek | Note Edited: 0034742 | |
2015-03-24 11:36 | Kunda | Note Added: 0034744 | |
2015-03-24 18:19 | PeterBenedek | Note Added: 0034746 | |
2015-03-24 19:00 | cbradney | Status | new => resolved |
2015-03-24 19:00 | cbradney | Resolution | open => no change required |
2015-03-24 19:00 | cbradney | Assigned To | => cbradney |
2015-03-25 22:54 | Kunda | Note Added: 0034761 | |
2015-03-25 22:54 | Kunda | Status | resolved => closed |