[Kst] [Bug 143803] Kst crashes when using invalid vector

Adam Treat treat at kde.org
Tue Apr 3 20:40:24 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143803         




------- Additional Comments From treat kde org  2007-04-03 20:40 -------
This happens for several dialogs that inherit KstDataDialog:

kst/src/libkstapp/ksthsdialog_i.cpp:    kstdFatal() << "Bug in kst: the Vector field (Hs) refers to "
kst/src/libkstapp/ksthsdialog_i.cpp:      kstdFatal() << "Bug in kst: the Vector field in hsdialog refers to "
kst/src/libkstapp/kstpsddialog_i.cpp:    kstdFatal() << "Bug in kst: the vector field (spectrum) refers to "
kst/src/libkstapp/ksteqdialog_i.cpp:    kstdFatal() << "Bug in kst: the Vector field (Eq) "
kst/src/libkstapp/ksteqdialog_i.cpp:      kstdFatal() << "Bug in kst: the Vector field (Eq) "
kst/src/libkstapp/kstcsddialog_i.cpp:    kstdFatal() << "Bug in kst: the vector field in spectrogram dialog refers to "
kst/src/libkstapp/kstcurvedialog_i.cpp:    kstdWarning() << "Bug in kst: the XVector field refers to "

With the string freeze, I can't stop it from reporting 'Bug in kst' which kind of rules out a message box instead of throwing a fatal.  I can make it so that it doesn't crash though, but that will mean dialogs fail to close when the 'ok' button is pressed and the user will receive no graphical message... just a warning to the console.

I think this should wait for 1.5 and a proper fix.


More information about the Kst mailing list