View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005507 | Scribus | Styles | public | 2007-04-02 00:31 | 2007-04-19 19:14 |
Reporter | avox | Assigned To | subik | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | any | ||||
Product Version | 1.3.3.4cvs | ||||
Fixed in Version | 1.3.3.9cvs | ||||
Summary | 0005507: Crash when renaming a linestyle | ||||
Description | I got the following crash when I tried to rename an (already used) linestyle. | ||||
Steps To Reproduce | 1. create a new linestyle with color 2. create textframe and set new linestyle as border 3. delete color of linestyle in edit->colors and replace with other color (border isnt updated correctly, sickly brown) 4. open stylemanager and rename linestyle | ||||
Additional Information | Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00419e00 0x0074ecc8 in SMLineStyle::nameChanged (this=0x1ef11f50, newName=@0x1e3ba4b0) at /Developer/qt/include/qshared.h:49 49 void ref() { count++; } (gdb) up 0000001 0x007cfd74 in StyleManager::slotNameChanged (this=0x1ef05ec0, name=@0x1e3ba4b0) at /Users/vox/scribus-dev/ScribusCVS/scribus/stylemanager.cpp:978 978 item_->nameChanged(name); (gdb) bt #0 0x0074ecc8 in SMLineStyle::nameChanged (this=0x1ef11f50, newName=@0x1e3ba4b0) at /Developer/qt/include/qshared.h:49 0000001 0x007cfd74 in StyleManager::slotNameChanged (this=0x1ef05ec0, name=@0x1e3ba4b0) at /Users/vox/scribus-dev/ScribusCVS/scribus/stylemanager.cpp:978 0000002 0x007e7d1c in StyleManager::qt_invoke (this=0x1ef05ec0, _id=70, _o=0xbfffde2c) at /Users/vox/scribus-dev/ScribusCVS/scribus/stylemanager.moc:178 0000003 0xb20cb9fc in QObject::activate_signal (this=0x1ef0d860, clist=0x119826f0, o=0xbfffde2c) at kernel/qobject.cpp:2356 0000004 0xb20cc238 in QObject::activate_signal (this=0x1ef0d860, signal=2, param=@0xbfffdf08) at kernel/qobject.cpp:2451 0000005 0xb25d340c in QLineEdit::textChanged (this=0x1ef0d860, t0=@0xbfffdf70) at .moc/debug-shared-mt/moc_qlineedit.cpp:219 0000006 0xb21d4f5c in QLineEditPrivate::finishChange (this=0x1ef0dab0, validateFromState=0, setModified=true) at widgets/qlineedit.cpp:2410 0000007 0xb21d5a78 in QLineEdit::insert (this=0x1ef0d860, newText=@0xbfffe05c) at widgets/qlineedit.cpp:1207 0000008 0xb21d604c in QLineEdit::keyPressEvent (this=0x1ef0d860, e=0xbfffe900) at widgets/qlineedit.cpp:1581 0000009 0xb2117264 in QWidget::event (this=0x1ef0d860, e=0xbfffe900) at kernel/qwidget.cpp:4723 0000010 0xb21d5874 in QLineEdit::event (this=0x1ef0d860, e=0xbfffe900) at widgets/qlineedit.cpp:1412 0000011 0xb205d6dc in QApplication::internalNotify (this=0xbffff2b8, receiver=0x1ef0d860, e=0xbfffe900) at kernel/qapplication.cpp:2635 0000012 0xb205dd10 in QApplication::notify (this=0xbffff2b8, receiver=0x1ef0d860, e=0xbfffe900) at kernel/qapplication.cpp:2392 0000013 0xb26a2720 in QApplication::sendSpontaneousEvent (receiver=0x1ef0d860, event=0xbfffe900) at ../include/qapplication.h:499 0000014 0xb2010588 in QApplication::globalEventProcessor (er=0xbfffeda0, event=0x1e941020, data=0xbffff2b8) at kernel/qapplication_mac.cpp:2493 0000015 0x93202554 in DispatchEventToHandlers () 0000016 0x93201cac in SendEventToEventTargetInternal () 0000017 0x93201b28 in SendEventToEventTargetWithOptions () 0000018 0x932cbd00 in HandleKeyboardEvent () 0000019 0x93208ddc in ToolboxEventDispatcherHandler () 0000020 0x932027a4 in DispatchEventToHandlers () 0000021 0x93201cac in SendEventToEventTargetInternal () 0000022 0x93208a60 in SendEventToEventTarget () 0000023 0xb2006840 in qt_mac_send_event (flags=4, event=0x1e941020, pt=0x0) at kernel/qapplication_mac.cpp:1695 0000024 0xb20466cc in QEventLoop::processEvents (this=0x11924bc0, flags=4) at kernel/qeventloop_mac.cpp:852 0000025 0xb207bb38 in QEventLoop::enterLoop (this=0x11924bc0) at kernel/qeventloop.cpp:198 0000026 0xb207b998 in QEventLoop::exec (this=0x11924bc0) at kernel/qeventloop.cpp:145 0000027 0xb205b468 in QApplication::exec (this=0xbffff2b8) at kernel/qapplication.cpp:2758 0000028 0x00265504 in mainApp (argc=1, argv=0xbfffdc18) at /Users/vox/scribus-dev/ScribusCVS/scribus/main_nix.cpp:76 0000029 0x00005a4c in _start () 0000030 0x00005750 in start () | ||||
Tags | No tags attached. | ||||
Patch | |||||
child of | 0003964 | closed | 1.3.4 Release Metabug |
|
no crash here with 134cvs |
|
no crash with new steps to reproduce |
|
no crash, but ugly brown confirmed |
|
Ugly brown means the colour didnt exist and the default constructor was used and was constructed by the auto insert non const [] operator. This needs finding. |
|
fixed the crash |
|
The ugly brown issue is caused by line styles not having their color updated after color deletion, fixed now in 1339cvs and 134cvs |
|
tested successfully. It's fixed imho. |
Date Modified | Username | Field | Change |
---|---|---|---|
2007-04-02 00:31 | avox | New Issue | |
2007-04-02 20:24 |
|
Note Added: 0015711 | |
2007-04-02 20:36 | avox | Steps to Reproduce Updated | |
2007-04-02 20:39 | cbradney | Note Added: 0015712 | |
2007-04-02 20:43 | cbradney | Relationship added | child of 0003964 |
2007-04-10 12:23 | subik | Note Added: 0015845 | |
2007-04-10 14:30 | cbradney | Note Added: 0015848 | |
2007-04-16 10:32 | avox | Note Added: 0015918 | |
2007-04-18 07:13 | jghali | Note Added: 0015936 | |
2007-04-18 08:42 | subik | Status | new => resolved |
2007-04-18 08:42 | subik | Fixed in Version | => 1.3.3.9cvs |
2007-04-18 08:42 | subik | Resolution | open => fixed |
2007-04-18 08:42 | subik | Assigned To | => subik |
2007-04-18 08:42 | subik | Note Added: 0015937 | |
2007-04-19 19:14 | cbradney | Status | resolved => closed |