Bug 66359 - hyphen file save dialog crash sigsegv signal 11
Summary: hyphen file save dialog crash sigsegv signal 11
Status: RESOLVED DUPLICATE of bug 66142
Alias: None
Product: kword
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Thomas Zander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 23:38 UTC by Daniel Enright
Modified: 2003-10-27 14:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Enright 2003-10-21 23:38:28 UTC
Version:           1.2.93 (using KDE 3.1.4)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.3.2 20030908 (Debian prerelease)
OS:          Linux (ppc) release 2.4.22c1

Upon clicking Save in the File Save dialog if I have a hyphen in the file name (-) I get a signal 11 SIGSEGV.

I have reproduced this error everytime I have a hyphen in the file name. Naturally I now use an underscore ;-) Anyway, my normal filename format is firstpart-secondpart.kwd

If I could only program and post a fix as well :'-(

Backtrace:
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 2749)]

(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...0x0ebd3bd8 in waitpid ()
   from /lib/libpthread.so.0
#0  0x0ebd3bd8 in waitpid () from /lib/libpthread.so.0
#1  0x0f937118 in KCrash::defaultCrashHandler(int) ()
   from /usr/lib/libkdecore.so.4
#2  0x0ebd26f8 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x0f2eadd8 in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#5  0x0f2eadb8 in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#6  0x0f3c9fec in QScrollView::~QScrollView() () from /usr/lib/libqt-mt.so.3
#7  0x0f388710 in QListBox::~QListBox() () from /usr/lib/libqt-mt.so.3
#8  0x0fc29c80 in KCompletionBox::~KCompletionBox() ()
   from /usr/lib/libkdeui.so.4
#9  0x0f2eaf4c in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#10 0x0f37d4c0 in QLineEdit::~QLineEdit() () from /usr/lib/libqt-mt.so.3
#11 0x0fb6ec68 in KLineEdit::~KLineEdit() () from /usr/lib/libkdeui.so.4
#12 0x0f2eaf4c in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#13 0x0f351b60 in QComboBox::~QComboBox() () from /usr/lib/libqt-mt.so.3
#14 0x0fbefe3c in KComboBox::~KComboBox() () from /usr/lib/libkdeui.so.4
#15 0x0fee8b4c in KURLComboBox::~KURLComboBox() () from /usr/lib/libkio.so.4
#16 0x0f2eb4f4 in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#17 0x0f2eaf4c in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
#18 0x0f43c348 in QDialog::~QDialog() () from /usr/lib/libqt-mt.so.3
#19 0x0fbc499c in KDialogBase::~KDialogBase() () from /usr/lib/libkdeui.so.4
#20 0x0fecf914 in KFileDialog::~KFileDialog() () from /usr/lib/libkio.so.4
#21 0x0e5e1a80 in KoFileDialog::~KoFileDialog() ()
   from /usr/lib/libkofficecore.so.2
#22 0x0e5dca24 in KoMainWindow::saveDocument(bool) ()
   from /usr/lib/libkofficecore.so.2
#23 0x0e5dde04 in KoMainWindow::slotFileSaveAs() ()
   from /usr/lib/libkofficecore.so.2
#24 0x0e5e133c in KoMainWindow::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkofficecore.so.2
#25 0x0f2ba2b0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#26 0x0f2ba028 in QObject::activate_signal(int) () from /usr/lib/libqt-mt.so.3
#27 0x0fb55adc in KAction::activated() () from /usr/lib/libkdeui.so.4
#28 0x0fb460d0 in KAction::slotActivated() () from /usr/lib/libkdeui.so.4
#29 0x0fb55cb8 in KAction::qt_invoke(int, QUObject*) ()
   from /usr/lib/libkdeui.so.4
#30 0x0f2ba2b0 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/libqt-mt.so.3
#31 0x0f5e19cc in QSignal::signal(QVariant const&) ()
   from /usr/lib/libqt-mt.so.3
#32 0x0f2d4460 in QSignal::activate() () from /usr/lib/libqt-mt.so.3
#33 0x0f3befcc in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/libqt-mt.so.3
#34 0x0f2f164c in QWidget::event(QEvent*) () from /usr/lib/libqt-mt.so.3
#35 0x0f2581d0 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#36 0x0f257a14 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libqt-mt.so.3
#37 0x0f8c5638 in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdecore.so.4
#38 0x0f1edd6c in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/libqt-mt.so.3
#39 0x0f1ebefc in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/libqt-mt.so.3
#40 0x0f2030a4 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/libqt-mt.so.3
#41 0x0f26cdfc in QEventLoop::enterLoop() () from /usr/lib/libqt-mt.so.3
#42 0x0f26cc08 in QEventLoop::exec() () from /usr/lib/libqt-mt.so.3
#43 0x0f258464 in QApplication::exec() () from /usr/lib/libqt-mt.so.3
#44 0x0e64e6c8 in main () from /usr/lib/kword.so.0
#45 0x100054f8 in _init ()
#46 0x10006a14 in _init ()
#47 0x10006e98 in _init ()
#48 0x10007d90 in _init ()
#49 0x0e76f2ac in __libc_start_main () from /lib/libc.so.6
#50 0x0e76f13c in __libc_start_main () from /lib/libc.so.6
Comment 1 David Faure 2003-10-21 23:47:01 UTC
Subject: Re:  New: hyphen file save dialog crash sigsegv signal 11

> #4  0x0f2eadd8 in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
> #5  0x0f2eadb8 in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
> #6  0x0f3c9fec in QScrollView::~QScrollView() () from /usr/lib/libqt-mt.so.3
> #7  0x0f388710 in QListBox::~QListBox() () from /usr/lib/libqt-mt.so.3
> #8  0x0fc29c80 in KCompletionBox::~KCompletionBox() ()
>    from /usr/lib/libkdeui.so.4
> #9  0x0f2eaf4c in QWidget::~QWidget() () from /usr/lib/libqt-mt.so.3
> #10 0x0f37d4c0 in QLineEdit::~QLineEdit() () from /usr/lib/libqt-mt.so.3
> #11 0x0fb6ec68 in KLineEdit::~KLineEdit() () from /usr/lib/libkdeui.so.4

Duplicate of 66142.
To help the investigation: what's your Qt version?

Comment 2 Daniel Enright 2003-10-22 03:46:59 UTC
Subject: Re:  hyphen file save dialog crash sigsegv signal 11

On October 21, 2003 02:47 pm, you wrote:

> http://bugs.kde.org/show_bug.cgi?id=66359
0fb6ec68 in KLineEdit::~KLineEdit() () from /usr/lib/libkdeui.so.4
>
> Duplicate of 66142.
> To help the investigation: what's your Qt version?

version 3.2.1-6 from the debian package libqt3c102-mt

Comment 3 Nicolas Goutte 2003-10-27 14:41:58 UTC
Ooh, no, not somewhere else too! (see bug #66142.)

(You are using KDE 3.1.x, aren't you?)

But if it is only for a hyphen, that is a very interesting information.

So I am mark this bug as duplicate, as it is the same as #66142, just under another light.

Have a nice day!



*** This bug has been marked as a duplicate of 66142 ***
Comment 4 Carsten Pfeiffer 2003-10-27 14:56:23 UTC
Subject: Re: KCompletionBox

Am Montag, 27. Oktober 2003 14:46 schrieb Nicolas Goutte:
> New information from bug 66359:
> it seems that hyphens '-' are the problem.
>
> The modified filter entries have hyphens too:
> "%1 (KOffice-1.1 Format)"

I investigated the bug on Sunday, but couldn't find a fix yet, unfortunately. 
I think I found the cause why it doesn't crash in HEAD anymore tho.

Earlier, KFD had its own completion stuff and it had a line
(void) locationEdit->completionBox();
to create the completion box immediately and not on demand. In HEAD, it 
doesn't do that anymore. As soon as you add that line after locationEdit = 
new KURLComboBox(...), you get the crash with HEAD, too -- independent of the 
filename.

It crashes in QWidget::~QWidget() when accessing an already deleted widget 
(qt_vbar) from the focusData list.

Cheers
Carsten