labplot crash when executing a script file

Help
vidya
2011-12-18
2012-11-04
  • vidya
    vidya
    2011-12-18

    Hi..
    I am using labplot 1.6.0.2 ,kde-3.5.4-18.e15 & qt-3.3.6 in redhat linux 5
    version..I am trying to execute a script file lp.qs from terminal..But labplot
    is crashing..Please help me regarding this..
    lp.qs contains the code:
    importData("/root/Desktop/s1.dat");
    s = activeSpreadsheet();
    s.plot2DSimple();

    s1.dat file contents:
    100 2
    200 4
    300 1
    400 6
    500 8
    when i am trying to execute the command labplot "/root/Desktop/lp.qs" ,the
    program is crashing and the backtrace in kcrash handler is :

    6 0x010a7664 in QObject::connect () from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    7 0x0224cfb1 in KAction::initPrivate () from /usr/lib/libkdeui.so.4

    8 0x0224ef8d in KAction::KAction () from /usr/lib/libkdeui.so.4

    9 0x02d5ccb7 in MainWin::updateSheetList (this=<value optimized="" out="">)

    at MainWin.cc:1505

    10 0x02d5faea in MainWin::windowActivated (this=) at MainWin.cc:1355

    11 0x02e99e10 in MainWin::qt_invoke (this=<value optimized="" out="">,

    _id=<value optimized="" out="">, _o=<value optimized="" out="">) at MainWin.moc.cc:753

    12 0x010a4f3a in QObject::activate_signal ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    13 0x014665de in QWorkspace::windowActivated ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    14 0x012a6a71 in QWorkspace::activateWindow ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    15 0x012ac840 in QWorkspace::childEvent ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    16 0x010a43f1 in QObject::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    17 0x010e1e1c in QWidget::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    18 0x0103bf7b in QApplication::internalNotify ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    19 0x0103d3e9 in QApplication::notify ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    20 0x07e80af2 in KApplication::notify () from /usr/lib/libkdecore.so.4

    21 0x0103ce70 in QApplication::sendPostedEvents ()

    from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    22 0x010e1864 in QWidget::show () from /usr/lib/qt-3.3/lib/libqt-mt.so.3

    23 0x02e1f5dd in Spreadsheet (this=<value optimized="" out="">,

    p=<value optimized="" out="">, m=<value optimized="" out="">,
    name=<value optimized="" out="">) at Spreadsheet.cc:110

    24 0x02d5304f in MainWin::newSpreadsheet (this=<value optimized="" out="">)

    at MainWin.cc:1170

    25 0x02d01cbc in ImportDialog::apply_clicked (this=<value optimized="" out="">)

    at ImportDialog.cc:602

    26 0x02d3b308 in MainWin::importData (this=<value optimized="" out="">,

    fn=<value optimized="" out="">, ifilter=<value optimized="" out="">)
    at ImportDialog.h:17

    27 0x02e9afdf in MainWin::qt_invoke (this=<value optimized="" out="">,

    _id=<value optimized="" out="">, _o=<value optimized="" out="">) at MainWin.moc.cc:802

    28 0x0552a103 in qsa_execute_slot_no_cast (env=<value optimized="" out="">,

    qobj=<value optimized="" out="">, mds=<value optimized="" out="">,
    matched=<value optimized="" out="">) at ../kernel/quickobjects.cpp:376

    29 0x0552cb77 in executeSlot (env=<value optimized="" out="">,

    qobj=<value optimized="" out="">, mds=<value optimized="" out="">)
    at ../kernel/quickobjects.cpp:402

    30 0x0552faa8 in QSWrapperClass::invoke (this=<value optimized="" out="">,

    objPtr=<value optimized="" out="">, mem=<value optimized="" out="">)
    at ../kernel/quickobjects.cpp:997

    31 0x0558ebee in QSObject::invoke (this=<value optimized="" out="">,

    mem=<value optimized="" out="">, args=<value optimized="" out="">)
    at ../engine/qsobject.cpp:418

    32 0x0558000c in QSFunctionCallNode::rhs (this=<value optimized="" out="">,

    env=<value optimized="" out="">) at ../engine/qsnodes.cpp:621

    33 0x05574076 in QSExprStatementNode::execute (this=<value optimized="" out="">,

    env=<value optimized="" out="">) at ../engine/qsnodes.cpp:1257

    34 0x05572443 in QSSourceElementNode::execute (this=)

    at ../engine/qsnodes.cpp:1720

    35 0x05574368 in QSSourceElementsNode::execute (this=<value optimized="" out="">,

    env=<value optimized="" out="">) at ../engine/qsnodes.cpp:1693

    36 0x055742ad in QSSourceElementsNode::execute (this=<value optimized="" out="">,

    env=<value optimized="" out="">) at ../engine/qsnodes.cpp:1695

    37 0x055742ad in QSSourceElementsNode::execute (this=<value optimized="" out="">,

    env=<value optimized="" out="">) at ../engine/qsnodes.cpp:1695

    38 0x055740fa in QSFunctionBodyNode::execute (this=<value optimized="" out="">,

    env=<value optimized="" out="">) at ../engine/qsnodes.cpp:1622

    39 0x0559551f in QSEngineImp::evaluate (this=<value optimized="" out="">,

    code=<value optimized="" out="">, thisV=<value optimized="" out="">,
    onlyCheckSyntax=<value optimized="" out="">, checkMode=<value optimized="" out="">,
    lineZero=<value optimized="" out="">) at ../engine/qsinternal.cpp:331

    40 0x0558cb1c in QSEngine::evaluate (this=) at ../engine/qsengine.cpp:81

    41 0x0551913c in QuickInterpreter::execute (this=<value optimized="" out="">,

    obj=<value optimized="" out="">, c=<value optimized="" out="">,
    name=<value optimized="" out="">) at ../kernel/quickinterpreter.cpp:603

    42 0x054f25d6 in QSInterpreter::evaluate (this=<value optimized="" out="">,

    code=<value optimized="" out="">, context=<value optimized="" out="">,
    scriptName=<value optimized="" out="">) at qsinterpreter.cpp:537

    43 0x02d4eba2 in MainWin::readScript (this=<value optimized="" out="">,

    fn=<value optimized="" out="">) at MainWin.cc:838

    44 0x02d6480f in MainWin (this=<value optimized="" out="">,

    name=<value optimized="" out="">, filen=<value optimized="" out="">,
    is_part=<value optimized="" out="">) at MainWin.cc:218

    45 0x0804cbe1 in main (argc=) at LabPlot.cc:48

    Please help me to solve this problem as it would be very useful to me in my
    project.thank you...

     
  • Stefan Gerlach
    Stefan Gerlach
    2012-01-01

    hi,

    this bug will be fixed in the next bug fix release 1.6.0.3.