Version: 3.2.0 (using KDE 3.2.0, SuSE) Compiler: gcc version 3.3.1 (SuSE Linux) OS: Linux (i686) release 2.6.0-1-default Quanta crashes after adding width, border, cell spacing and cell padding properties in table wizard. Creating table without these properties works fine.
Reproducable - if enter only 1 of those parameters - works fine. If enter two or more - crash. No messages in console; Backtrace: (no debugging symbols found)...0x418bb477 in waitpid () from /lib/libpthread.so.0 #0 0x418bb477 in waitpid () from /lib/libpthread.so.0 #1 0x40e06ba1 in KCrash::defaultCrashHandler(int) () from /opt/kde/lib/libkdecore.so.4
I had the same problem. Just created a table, inserted a few rows and columns, then I click table properties, entered the properties and clicked OK, then it crashed. Here is the debug info I received: (removed other "no bugging symbols found" before this) (no debugging symbols found)...0x00106c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #0 0x00106c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x003b2963 in __waitpid_nocancel () from /lib/tls/libpthread.so.0 #2 0x067bd3d1 in KCrash::defaultCrashHandler(int) () from /usr/lib/libkdecore.so.4
CVS commit by amantia: Don't crash when setting table/body/header/footer attributes for newly created tables [#74949] CCMAIL: 74949-done@bugs.kde.org M +1 -0 ChangeLog 1.218 M +4 -0 components/tableeditor/tableeditor.ui.h 1.38 --- kdewebdev/quanta/ChangeLog #1.217:1.218 @@ -16,4 +16,5 @@ - don't crash the CSS editor on invalid CSS - don't crash the table editor on invalid nested tables + - don't crash when setting table/body/header/footer attributes for newly created tables [#74949] - various parsing fixes - report bugs for "quanta" module, not for "quanta_be" --- kdewebdev/quanta/components/tableeditor/tableeditor.ui.h #1.37:1.38 @@ -832,13 +832,17 @@ void TableEditor::createNewTable(Documen m_dtd = dtd; m_table = new Tag(); + m_table->dtd = m_dtd; newNum++; m_table->parse("<table>", m_write); m_thead = new Tag(); + m_thead->dtd = m_dtd; newNum++; m_thead->parse("<thead>", m_write); m_tfoot = new Tag(); + m_tfoot->dtd = m_dtd; newNum++; m_tfoot->parse("<tfoot>", m_write); m_tbody = new Tag(); + m_tbody->dtd = m_dtd; newNum++; m_tbody->parse("<tbody>", m_write);