Bug 141052 - Crash from Data->New plugin menu
Summary: Crash from Data->New plugin menu
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Solaris
: NOR crash
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-02 09:15 UTC by Nicolas Brisset
Modified: 2007-02-09 18:38 UTC (History)
0 users

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 Nicolas Brisset 2007-02-02 09:15:58 UTC
Version:           1.4.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

I suppose this is related to the recent changes in plugins, but there is a difference between creating a plugin from the Data->New plugin menu and from the data manager.
To reproduce:
- load column 1 vs INDEX from gyrodata.dat
- Data->New plugin menu
- select "Fixed step differentiation": crash with following output:

> ASSERT: "ptr" in kstbasicdialog_i.cpp (73)

I have not tested other plugins, but I fear this is not an isolated case.
It works well when using the data manager.
Comment 1 Eli Fidler 2007-02-02 18:43:21 UTC
this should be fixed by commit 629408
Comment 2 Nicolas Brisset 2007-02-02 20:51:26 UTC
Hum, I guess you have tested it but here (which is a fresh svn compile on my personal openSUSE 10.2 machine) it still crashes...
I have not compiled with debugging symbols, I'll do it so that I can post a useful backtrace.
Comment 3 Nicolas Brisset 2007-02-02 21:24:28 UTC
And here comes the backtrace...

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1238604080 (LWP 17372)]
[New Thread -1248466032 (LWP 17373)]
[KCrash handler]
#9  0xb7e68b0b in KstBasicDialogI::init (this=0xb505dc20)
    at /home/nicolas/svn/graphics/kst/src/libkstapp/kstbasicdialog_i.cpp:91
#10 0xb7e67827 in KstBasicDialogI::showEdit (this=0xb505dc20, 
    field=@0xbffa49f8)
    at /home/nicolas/svn/graphics/kst/src/libkstapp/kstbasicdialog_i.cpp:337
#11 0xb7cf753a in KstGuiDialogs::showBasicPluginDialog (this=0x80b1a30, 
    name=@0xbffa49f8, edit=true)
    at /home/nicolas/svn/graphics/kst/src/libkstapp/dialoglauncher-gui.cpp:62
#12 0xb7a9e819 in KstBasicPlugin::showEditDialog (this=0x835e470)
    at /home/nicolas/svn/graphics/kst/src/libkstmath/kstbasicplugin.cpp:93
#13 0xb7a4fccd in KstDataObject::qt_invoke (this=0x835e470, _id=3, 
    _o=0xbffa4ab4)
    at /home/nicolas/svn/graphics/kst/src/libkstmath/kstdataobject.moc:85
#14 0xb59e5aeb in Differentiation::qt_invoke (this=0x835e470, _id=3, 
    _o=0xbffa4ab4)
    at /home/nicolas/svn/graphics/kst/src/plugins/differentiation/differentiation.moc:77
#15 0xb6a343cd in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb6d6e0ce in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb6a50497 in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb6a57823 in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb69d5647 in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb69d64f9 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb71401f2 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#22 0xb69ca663 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb6984bd0 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb69ec0e0 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb69ebf76 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb69d500f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x08059314 in main (argc=-1226174476, argv=0x806f328)
    at /home/nicolas/svn/graphics/kst/src/kst/main.cpp:818
Comment 4 Eli Fidler 2007-02-02 21:54:40 UTC
Oops. I think it's fixed properly now (629475).
Comment 5 Eli Fidler 2007-02-09 18:38:19 UTC
*** Bug has been marked as fixed ***.