Bug#914241: qtiplot: Using scripts crashes qtiplot

Bernhard Übelacker bernhardu at mailbox.org
Wed Nov 21 20:26:34 GMT 2018


Hello Günter Frenz,
I am not maintainer of qtiplot, nor did I knew qtiplot until today.


> This bug seems to be similar or the same as #740146, which I reported
> about 11 months ago and it is still not fixed in the version from
> yesterday.
> 
> Maybe this time someone reads it and takes action...
 
Bug #740146 is from 2014 and there the maintainer asked for a
confirmation if the modification worked that he never received,
therefore that bug got not closed.

That may also make your mails you sent in 2017 more likely to fall
between the cracks.

I assume that this bug #740146 was fixed between 2014 and 2017
therefore I think that in 2017 opening a new bug may have
triggered a faster respone.

On the other side qtplot is based on Qt4 whose removal is in planning,
and upstream seems to have switched to a commercial license.
Therefore it might be not the first priority ...


> when I try to use scripts written in python with qtiplot, the software
> crashes with a segmentation fault. 
> 
> This bug is really annoying because it costs me quite much time to do
> everything without scripts.

The less information you give, the less likely you get a maintainer
looking at the issue.
At least some information of when it was last seen to work or with
which version would be good.
Also an example script (and maybe data) that you try to execute
would be helpful.
And [1] would point to some information on how to retrieve a backtrace
from such a crash.


Nevertheless, I found and tested an example dataset and script
from qtiplot.com, and could reproduce a crash (see attached file).

(gdb) bt
#0  0x00007f15cd79e160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#1  0x000055fd0944a0db in PythonScripting::setQObject (this=this at entry=0x55fd09a4d330, val=0x55fd0981c400, name=name at entry=0x55fd0957ba80 "app", dict=dict at entry=0x7f15c5c6d280) at /usr/include/qt4/QtCore/qobjectdefs.h:492
#2  0x000055fd0944b1e9 in PythonScripting::setQObject (dict=0x7f15c5c6d280, name=0x55fd0957ba80 "app", val=<optimized out>, this=0x55fd09a4d330) at src/scripting/PythonScripting.cpp:359
#3  PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:243
#4  0x000055fd09434a91 in PythonScripting::constructor (parent=0x55fd0981c400) at src/scripting/PythonScripting.h:48
#5  0x000055fd09222233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#6  0x000055fd09222b35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#7  0x000055fd0922e1cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#8  0x000055fd09278d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#9  0x000055fd090f720f in main () at src/core/main.cpp:144


The crash appeared first on the 6th of January 2018 in
testing with qtiplot version 0.9.8.9-17.
Package version 0.9.8.9-16 [2] [3] installed in a current buster still work.


In the end the patch from the gentoo bugtracker [4] was declared to
just make it build again. Therefore variable sip_API was not initilized
and therefore a "random" function address was called by sip_API.api_find_class.

Attached is a modfied version of 20_fix_FTBFS_sip4.19.patch
that initilizes sip_API and worked at least in my test.

Kind regards,
Bernhard


[1] https://wiki.debian.org/HowToGetABacktrace
[2] http://snapshot.debian.org/archive/debian/20170929T215212Z/pool/main/q/qtiplot/qtiplot_0.9.8.9-16%2Bb2_amd64.deb
[3] http://snapshot.debian.org/archive/debian/20170830T070345Z/pool/main/q/qtiplot/qtiplot-doc_0.9.8.9-16_all.deb
[4] https://bugs.gentoo.org/show_bug.cgi?id=641514#c2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20_fix_FTBFS_sip4.19.patch
Type: text/x-patch
Size: 2870 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20181121/c3b94206/attachment-0001.bin>
-------------- next part --------------

apt install dpkg-dev devscripts systemd-coredump xserver-xorg lightdm openbox gdb qtiplot python-qt4

systemctl start lightdm




export LANG=C
export DISPLAY=:0

# https://www.qtiplot.com/scripting.html



wget https://www.qtiplot.com/src/strdNIST.zip
unzip strdNIST.zip
wget https://www.qtiplot.com/src/examples/strd_nist_fit_Qt4.zip
unzip strd_nist_fit_Qt4.zip

sed -i 's/import sys/import sys\nfrom PyQt4.QtGui import QFileDialog\nfrom PyQt4.QtCore import QDir/' strd_nist_fit_Qt4.py
    # fix eample from qtiplot.com



benutzer at debian:~$ qtiplot -x strd_nist_fit_Qt4.py
Segmentation fault (core dumped)


root at debian:~# dmesg
[ 1181.407167] qtiplot[21407]: segfault at 7f15cd79e160 ip 00007f15cd79e160 sp 00007ffe89a996f8 error 15 in libpython2.7.so.1.0[7f15cd772000+77000]
[ 1181.407175] Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <0a> 00 00 00 00 00 00 00 80 52 7a cd 15 7f 00 00 00 00 00 00 00 00 


root at debian:~# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Wed 2018-11-21 15:02:36 CET   21407  1000  1000  11 present   /usr/bin/qtiplot



root at debian:~# coredumpctl gdb 21407
           PID: 21407 (qtiplot)
           UID: 1000 (benutzer)
           GID: 1000 (benutzer)
        Signal: 11 (SEGV)
     Timestamp: Wed 2018-11-21 15:02:36 CET (1min 53s ago)
  Command Line: qtiplot -x strd_nist_fit_Qt4.py
    Executable: /usr/bin/qtiplot
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (benutzer)
       Boot ID: a86995cda0ff456598c661be5145b757
    Machine ID: 32f43b50ac8c4b21941bc0b02f8e7811
      Hostname: debian
       Storage: /var/lib/systemd/coredump/core.qtiplot.1000.a86995cda0ff456598c661be5145b757.21407.1542808956000000.lz4
       Message: Process 21407 (qtiplot) of user 1000 dumped core.
                
                Stack trace of thread 21407:
                #0  0x00007f15cd79e160 PyModule_Type (libpython2.7.so.1.0)

GNU gdb (Debian 8.1-4+b1) 8.1
...
Core was generated by `qtiplot -x strd_nist_fit_Qt4.py'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f15cd79e160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
(gdb) bt
#0  0x00007f15cd79e160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#1  0x000055fd0944a0db in ?? ()
#2  0x000055fd0944b1e9 in ?? ()
#3  0x000055fd09434a91 in ?? ()
#4  0x000055fd09222233 in ?? ()
#5  0x000055fd09222b35 in ?? ()
#6  0x000055fd0922e1cb in ?? ()
#7  0x000055fd09278d5e in ?? ()
#8  0x000055fd090f720f in ?? ()
#9  0x00007f15c9fb2b17 in __libc_start_main (main=0x55fd090f71e0, argc=3, argv=0x7ffe89a9a088, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe89a9a078) at ../csu/libc-start.c:310
#10 0x000055fd090f9d6a in ?? ()



###############



apt install dpkg-dev devscripts systemd-coredump xserver-xorg lightdm openbox gdb qtiplot qtiplot-dbgsym libpython2.7-dbg python2.7-dbg 



root at debian:~# coredumpctl gdb 21407
...
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f15cd79e160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
(gdb) set width 0
(gdb) set pagination off
(gdb) bt
#0  0x00007f15cd79e160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#1  0x000055fd0944a0db in PythonScripting::setQObject (this=this at entry=0x55fd09a4d330, val=0x55fd0981c400, name=name at entry=0x55fd0957ba80 "app", dict=dict at entry=0x7f15c5c6d280) at /usr/include/qt4/QtCore/qobjectdefs.h:492
#2  0x000055fd0944b1e9 in PythonScripting::setQObject (dict=0x7f15c5c6d280, name=0x55fd0957ba80 "app", val=<optimized out>, this=0x55fd09a4d330) at src/scripting/PythonScripting.cpp:359
#3  PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:243
#4  0x000055fd09434a91 in PythonScripting::constructor (parent=0x55fd0981c400) at src/scripting/PythonScripting.h:48
#5  0x000055fd09222233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#6  0x000055fd09222b35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#7  0x000055fd0922e1cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#8  0x000055fd09278d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#9  0x000055fd090f720f in main () at src/core/main.cpp:144
#10 0x00007f15c9fb2b17 in __libc_start_main (main=0x55fd090f71e0 <main>, argc=3, argv=0x7ffe89a9a088, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe89a9a078) at ../csu/libc-start.c:310
#11 0x000055fd090f9d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Unable to locate python frame



##############


apt install dpkg-dev devscripts systemd-coredump xserver-xorg lightdm openbox gdb valgrind qtiplot qtiplot-dbgsym libpython2.7-dbg python2.7-dbg 


benutzer at debian:~$ valgrind --vgdb=yes --vgdb-error=0 --track-origins=yes qtiplot -x strd_nist_fit_Qt4.py
==22112== Memcheck, a memory error detector
==22112== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22112== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==22112== Command: qtiplot -x strd_nist_fit_Qt4.py
==22112== 
==22112== (action at startup) vgdb me ... 
==22112== 
==22112== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==22112==   /path/to/gdb qtiplot
==22112== and then give GDB the following command
==22112==   target remote | /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=22112
==22112== --pid is optional if only one valgrind process is running
==22112== 
==22112== Conditional jump or move depends on uninitialised value(s)
==22112==    at 0x2FE9F2: ApplicationWindow::modifiedProject() (ApplicationWindow.cpp:10488)
==22112==    by 0x66635A: ApplicationWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_ApplicationWindow.cpp:1281)
==22112==    by 0x8493EDC: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.7)
==22112==    by 0x6ADE3C1: Q3ListView::expanded(Q3ListViewItem*) (in /usr/lib/x86_64-linux-gnu/libQt3Support.so.4.8.7)
==22112==    by 0x69AD309: Q3ListViewItem::setOpen(bool) (in /usr/lib/x86_64-linux-gnu/libQt3Support.so.4.8.7)
==22112==    by 0x3F0CA6: FolderListItem::FolderListItem(Q3ListView*, Folder*) (Folder.cpp:244)
==22112==    by 0x3AEF50: ApplicationWindow::init(bool) (ApplicationWindow.cpp:266)
==22112==    by 0x3B03C1: ApplicationWindow::ApplicationWindow(bool) (ApplicationWindow.cpp:221)
==22112==    by 0x403D3F: QtiPlotApplication::QtiPlotApplication(int&, char**) (QtiPlotApplication.cpp:60)
==22112==    by 0x28220E: main (main.cpp:144)
==22112==  Uninitialised value was created by a heap allocation
==22112==    at 0x4835DEF: operator new(unsigned long) (vg_replace_malloc.c:334)
==22112==    by 0x403D30: QtiPlotApplication::QtiPlotApplication(int&, char**) (QtiPlotApplication.cpp:60)
==22112==    by 0x28220E: main (main.cpp:144)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Invalid read of size 4
==22112==    at 0x55CAA73: PyObject_Free (obmalloc.c:1013)
==22112==    by 0x55BCE8C: tupledealloc.lto_priv.445 (tupleobject.c:235)
==22112==    by 0x5604A8A: code_dealloc.lto_priv.259 (codeobject.c:349)
==22112==    by 0x5552D61: load_source_module (import.c:1144)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==  Address 0xee00020 is 0 bytes after a block of size 32 free'd
==22112==    at 0x4837D7B: realloc (vg_replace_malloc.c:826)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:62)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:277)
==22112==    by 0x55EBC63: PyList_Append (listobject.c:289)
==22112==    by 0x55500D1: r_object (marshal.c:834)
==22112==    by 0x554FC09: r_object (marshal.c:1048)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB58: r_object (marshal.c:1030)
==22112==    by 0x5550497: PyMarshal_ReadObjectFromString (marshal.c:1194)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==  Block was alloc'd at
==22112==    at 0x48356AF: malloc (vg_replace_malloc.c:298)
==22112==    by 0x4837DE7: realloc (vg_replace_malloc.c:826)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:62)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:277)
==22112==    by 0x55EBC63: PyList_Append (listobject.c:289)
==22112==    by 0x55500D1: r_object (marshal.c:834)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB80: r_object (marshal.c:1036)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB58: r_object (marshal.c:1030)
==22112==    by 0x5550497: PyMarshal_ReadObjectFromString (marshal.c:1194)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Invalid read of size 4
==22112==    at 0x55CAA73: PyObject_Free (obmalloc.c:1013)
==22112==    by 0x5604AAA: code_dealloc.lto_priv.259 (codeobject.c:347)
==22112==    by 0x5552D61: load_source_module (import.c:1144)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112==  Address 0xee58020 is 576 bytes inside a block of size 2,711 free'd
==22112==    at 0x48369AB: free (vg_replace_malloc.c:530)
==22112==    by 0x555059E: PyMarshal_ReadLastObjectFromFile (marshal.c:1156)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112==  Block was alloc'd at
==22112==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==22112==    by 0x555056B: PyMarshal_ReadLastObjectFromFile (marshal.c:1152)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Invalid read of size 4
==22112==    at 0x55CAA73: PyObject_Free (obmalloc.c:1013)
==22112==    by 0x5604AAA: code_dealloc.lto_priv.259 (codeobject.c:347)
==22112==    by 0x55BCE2B: tupledealloc.lto_priv.445 (tupleobject.c:222)
==22112==    by 0x5604A9A: code_dealloc.lto_priv.259 (codeobject.c:348)
==22112==    by 0x5552D61: load_source_module (import.c:1144)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==  Address 0xee46020 is 416 bytes inside a block of size 1,008 free'd
==22112==    at 0x4837D7B: realloc (vg_replace_malloc.c:826)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:62)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:277)
==22112==    by 0x55EBC63: PyList_Append (listobject.c:289)
==22112==    by 0x55500D1: r_object (marshal.c:834)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB58: r_object (marshal.c:1030)
==22112==    by 0x5550497: PyMarshal_ReadObjectFromString (marshal.c:1194)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==  Block was alloc'd at
==22112==    at 0x4837D7B: realloc (vg_replace_malloc.c:826)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:62)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:277)
==22112==    by 0x55EBC63: PyList_Append (listobject.c:289)
==22112==    by 0x55500D1: r_object (marshal.c:834)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB6C: r_object (marshal.c:1033)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB58: r_object (marshal.c:1030)
==22112==    by 0x5550497: PyMarshal_ReadObjectFromString (marshal.c:1194)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Invalid read of size 4
==22112==    at 0x55CAA73: PyObject_Free (obmalloc.c:1013)
==22112==    by 0x55BCE8C: tupledealloc.lto_priv.445 (tupleobject.c:235)
==22112==    by 0x5604A9A: code_dealloc.lto_priv.259 (codeobject.c:348)
==22112==    by 0x5552D61: load_source_module (import.c:1144)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==  Address 0xedf4020 is 10,448 bytes inside a block of size 11,385 free'd
==22112==    at 0x48369AB: free (vg_replace_malloc.c:530)
==22112==    by 0x555059E: PyMarshal_ReadLastObjectFromFile (marshal.c:1156)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112==  Block was alloc'd at
==22112==    at 0x483577F: malloc (vg_replace_malloc.c:299)
==22112==    by 0x555056B: PyMarshal_ReadLastObjectFromFile (marshal.c:1152)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Invalid read of size 4
==22112==    at 0x55CAA73: PyObject_Free (obmalloc.c:1013)
==22112==    by 0x5604A00: code_dealloc.lto_priv.259 (codeobject.c:357)
==22112==    by 0x5552D61: load_source_module (import.c:1144)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112==  Address 0xedf7020 is 1,376 bytes inside a block of size 1,384 free'd
==22112==    at 0x48369AB: free (vg_replace_malloc.c:530)
==22112==    by 0x55EC988: list_dealloc.lto_priv.360 (listobject.c:311)
==22112==    by 0x55504B3: PyMarshal_ReadObjectFromString (marshal.c:1195)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==  Block was alloc'd at
==22112==    at 0x4837D7B: realloc (vg_replace_malloc.c:826)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:62)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:277)
==22112==    by 0x55EBC63: PyList_Append (listobject.c:289)
==22112==    by 0x55500D1: r_object (marshal.c:834)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB80: r_object (marshal.c:1036)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB58: r_object (marshal.c:1030)
==22112==    by 0x5550497: PyMarshal_ReadObjectFromString (marshal.c:1194)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Invalid read of size 4
==22112==    at 0x55CAA73: PyObject_Free (obmalloc.c:1013)
==22112==    by 0x5604A2A: code_dealloc.lto_priv.259 (codeobject.c:355)
==22112==    by 0x5552D61: load_source_module (import.c:1144)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==    by 0x5569031: PyEval_EvalCodeEx (ceval.c:3604)
==22112==    by 0x5569648: PyEval_EvalCode (ceval.c:669)
==22112==  Address 0xf059020 is 3,392 bytes inside a block of size 4,784 free'd
==22112==    at 0x48369AB: free (vg_replace_malloc.c:530)
==22112==    by 0x55EC988: list_dealloc.lto_priv.360 (listobject.c:311)
==22112==    by 0x55504B3: PyMarshal_ReadObjectFromString (marshal.c:1195)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112==    by 0x5619E12: PyObject_Call (abstract.c:2544)
==22112==    by 0x55686C6: PyEval_CallObjectWithKeywords (ceval.c:4241)
==22112==    by 0x556CCC1: PyEval_EvalFrameEx (ceval.c:2643)
==22112==  Block was alloc'd at
==22112==    at 0x4837D7B: realloc (vg_replace_malloc.c:826)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:62)
==22112==    by 0x55EBC63: UnknownInlinedFun (listobject.c:277)
==22112==    by 0x55EBC63: PyList_Append (listobject.c:289)
==22112==    by 0x55500D1: r_object (marshal.c:834)
==22112==    by 0x554F2CA: r_object (marshal.c:897)
==22112==    by 0x554FB58: r_object (marshal.c:1030)
==22112==    by 0x5550497: PyMarshal_ReadObjectFromString (marshal.c:1194)
==22112==    by 0x5550591: PyMarshal_ReadLastObjectFromFile (marshal.c:1155)
==22112==    by 0x5552B3B: UnknownInlinedFun (import.c:845)
==22112==    by 0x5552B3B: load_source_module (import.c:1116)
==22112==    by 0x5554480: import_submodule (import.c:2747)
==22112==    by 0x5554947: load_next (import.c:2561)
==22112==    by 0x55557B4: UnknownInlinedFun (import.c:2269)
==22112==    by 0x55557B4: PyImport_ImportModuleLevel (import.c:2334)
==22112==    by 0x5578247: builtin___import__.lto_priv.1716 (bltinmodule.c:49)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Use of uninitialised value of size 8
==22112==    at 0x5D50D8: PythonScripting::setQObject(QObject*, char const*, _object*) [clone .part.6] (PythonScripting.cpp:365)
==22112==    by 0x6F8051: ??? (in /usr/bin/qtiplot)
==22112==    by 0x5D61E8: setQObject (PythonScripting.cpp:359)
==22112==    by 0x5D61E8: PythonScripting::PythonScripting(ApplicationWindow*) (PythonScripting.cpp:243)
==22112==    by 0x5BFA90: PythonScripting::constructor(ApplicationWindow*) (PythonScripting.h:48)
==22112==    by 0x3AD232: ApplicationWindow::setScriptingLanguage(QString const&, bool) (ApplicationWindow.cpp:5102)
==22112==    by 0x3ADB34: ApplicationWindow::loadScript(QString const&, bool, bool) (ApplicationWindow.cpp:18001)
==22112==    by 0x3B91CA: ApplicationWindow::parseCommandLineArguments(QStringList const&) (ApplicationWindow.cpp:16358)
==22112==    by 0x403D5D: QtiPlotApplication::QtiPlotApplication(int&, char**) (QtiPlotApplication.cpp:69)
==22112==    by 0x28220E: main (main.cpp:144)
==22112==  Uninitialised value was created by a stack allocation
==22112==    at 0x5D50BD: PythonScripting::setQObject(QObject*, char const*, _object*) [clone .part.6] (PythonScripting.cpp:364)
==22112== 
==22112== (action on error) vgdb me ... 
==22112== Continuing ...
==22112== Gdb request to kill this process



benutzer at debian:~$ gdb -q /usr/bin/qtiplot
Reading symbols from /usr/bin/qtiplot...Reading symbols from /usr/lib/debug/.build-id/8e/df16cd4939ad64f90d10000939d34fdf4f6a67.debug...done.
done.
(gdb) set width 0
(gdb) set pagination off
(gdb) target remote | vgdb
Remote debugging using | vgdb
relaying data between gdb and process 22112
warning: remote target does not support file transfer, attempting to access files from local filesystem.
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug/.build-id/fa/01a234506568b77ad2d1a6da398e45586c550b.debug...done.
done.
0x0000000004001210 in _start () from /lib64/ld-linux-x86-64.so.2
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000002fe9f2 in ApplicationWindow::modifiedProject() () at src/core/ApplicationWindow.cpp:10488
10488   src/core/ApplicationWindow.cpp: Datei oder Verzeichnis nicht gefunden.
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
PyObject_Free (p=0xee006d0) at ../Objects/obmalloc.c:1013
1013    ../Objects/obmalloc.c: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  PyObject_Free (p=0xee006d0) at ../Objects/obmalloc.c:1013
#1  0x00000000055bce8d in tupledealloc (op=0xee006f0) at ../Objects/tupleobject.c:235
#2  0x0000000005604a8b in code_dealloc (co=0xef3e430) at ../Objects/codeobject.c:349
#3  0x0000000005552d62 in load_source_module (name=<optimized out>, pathname=<optimized out>, fp=<optimized out>) at ../Python/import.c:1144
#4  0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedf9760 "stat", fullname=fullname at entry=0xedf9760 "stat") at ../Python/import.c:2747
#5  0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffeffeec0, buf=buf at entry=0xedf9760 "stat", p_buflen=p_buflen at entry=0x1ffeffeec8) at ../Python/import.c:2561
#6  0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#7  PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#8  0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#9  0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('stat', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#10 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('stat', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#11 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#12 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#13 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#14 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedeb9a0 "posixpath", co=co at entry=<code at remote 0xef29eb0>, pathname=pathname at entry=0xedef450 "/usr/lib/python2.7/posixpath.pyc") at ../Python/import.c:753
#15 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedef450 "/usr/lib/python2.7/posixpath.pyc", fp=<optimized out>) at ../Python/import.c:1143
#16 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedeb9a0 "posixpath", fullname=fullname at entry=0xedeb9a0 "posixpath") at ../Python/import.c:2747
#17 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff3f0, buf=buf at entry=0xedeb9a0 "posixpath", p_buflen=p_buflen at entry=0x1ffefff3f8) at ../Python/import.c:2561
#18 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#19 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#20 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#21 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#22 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#23 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#24 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#25 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#26 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedb3180 "os", co=co at entry=<code at remote 0xef29230>, pathname=pathname at entry=0xedb6c30 "/usr/lib/python2.7/os.pyc") at ../Python/import.c:753
#27 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedb6c30 "/usr/lib/python2.7/os.pyc", fp=<optimized out>) at ../Python/import.c:1143
#28 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedb3180 "os", fullname=fullname at entry=0xedb3180 "os") at ../Python/import.c:2747
#29 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff920, buf=buf at entry=0xedb3180 "os", p_buflen=p_buflen at entry=0x1ffefff928) at ../Python/import.c:2561
#30 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#31 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#32 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#33 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#34 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#35 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#36 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#37 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#38 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xeda3aa0 "site", co=co at entry=<code at remote 0xef165b0>, pathname=pathname at entry=0xeda7550 "/usr/lib/python2.7/site.pyc") at ../Python/import.c:753
#39 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xeda7550 "/usr/lib/python2.7/site.pyc", fp=<optimized out>) at ../Python/import.c:1143
#40 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xeda3aa0 "site", fullname=fullname at entry=0xeda3aa0 "site") at ../Python/import.c:2747
#41 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefffe50, buf=buf at entry=0xeda3aa0 "site", p_buflen=p_buflen at entry=0x1ffefffe58) at ../Python/import.c:2561
#42 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=['__doc__'], globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#43 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#44 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#45 0x0000000005619e13 in PyObject_Call (func=func at entry=<built-in function __import__>, arg=arg at entry=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), kw=kw at entry=0x0) at ../Objects/abstract.c:2544
#46 0x000000000561a8c7 in call_function_tail (args=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), callable=<built-in function __import__>) at ../Objects/abstract.c:2600
#47 PyObject_CallFunction (callable=<built-in function __import__>, format=<optimized out>) at ../Objects/abstract.c:2600
#48 0x0000000005555dea in PyImport_Import (module_name=module_name at entry='site') at ../Python/import.c:2933
#49 0x0000000005555f8a in PyImport_ImportModule (name=<optimized out>) at ../Python/import.c:2173
#50 0x0000000005544a1c in initsite () at ../Python/pythonrun.c:735
#51 Py_InitializeEx (install_sigs=<optimized out>, install_sigs=<optimized out>) at ../Python/pythonrun.c:291
#52 0x000000000554519a in Py_Initialize () at ../Python/pythonrun.c:388
#53 0x00000000005d62fa in PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:206
#54 0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#55 0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#56 0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#57 0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#58 0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#59 0x000000000028220f in main () at src/core/main.cpp:144
#60 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#61 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python2.7/posixpath.py", line 15, in <module>
    import stat
  File "/usr/lib/python2.7/os.py", line 49, in <module>
    import posixpath as path
  File "/usr/lib/python2.7/site.py", line 68, in <module>
    import os
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
PyObject_Free (p=0xee588c0) at ../Objects/obmalloc.c:1013
1013    in ../Objects/obmalloc.c
(gdb) bt
#0  PyObject_Free (p=0xee588c0) at ../Objects/obmalloc.c:1013
#1  0x0000000005604aab in code_dealloc (co=0xef43db0) at ../Objects/codeobject.c:347
#2  0x0000000005552d62 in load_source_module (name=<optimized out>, pathname=<optimized out>, fp=<optimized out>) at ../Python/import.c:1144
#3  0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xee52030 "types", fullname=fullname at entry=0xee52030 "types") at ../Python/import.c:2747
#4  0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffeffe990, buf=buf at entry=0xee52030 "types", p_buflen=p_buflen at entry=0x1ffeffe998) at ../Python/import.c:2561
#5  0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#6  PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#7  0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#8  0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('types', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, ...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#9  0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('types', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, ...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#10 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#11 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#12 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#13 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xee3b850 "warnings", co=co at entry=<code at remote 0xef43730>, pathname=pathname at entry=0xee3f300 "/usr/lib/python2.7/warnings.pyc") at ../Python/import.c:753
#14 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xee3f300 "/usr/lib/python2.7/warnings.pyc", fp=<optimized out>) at ../Python/import.c:1143
#15 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xee3b850 "warnings", fullname=fullname at entry=0xee3b850 "warnings") at ../Python/import.c:2747
#16 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffeffeec0, buf=buf at entry=0xee3b850 "warnings", p_buflen=p_buflen at entry=0x1ffeffeec8) at ../Python/import.c:2561
#17 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#18 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#19 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#20 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('warnings', {'genericpath': <module at remote 0xef3f050>, 'stat': <module at remote 0xef30e88>, '__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in functio...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#21 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('warnings', {'genericpath': <module at remote 0xef3f050>, 'stat': <module at remote 0xef30e88>, '__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in functio...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#22 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#23 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#24 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#25 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedeb9a0 "posixpath", co=co at entry=<code at remote 0xef29eb0>, pathname=pathname at entry=0xedef450 "/usr/lib/python2.7/posixpath.pyc") at ../Python/import.c:753
#26 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedef450 "/usr/lib/python2.7/posixpath.pyc", fp=<optimized out>) at ../Python/import.c:1143
#27 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedeb9a0 "posixpath", fullname=fullname at entry=0xedeb9a0 "posixpath") at ../Python/import.c:2747
#28 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff3f0, buf=buf at entry=0xedeb9a0 "posixpath", p_buflen=p_buflen at entry=0x1ffefff3f8) at ../Python/import.c:2561
#29 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#30 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#31 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#32 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#33 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#34 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#35 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#36 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#37 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedb3180 "os", co=co at entry=<code at remote 0xef29230>, pathname=pathname at entry=0xedb6c30 "/usr/lib/python2.7/os.pyc") at ../Python/import.c:753
#38 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedb6c30 "/usr/lib/python2.7/os.pyc", fp=<optimized out>) at ../Python/import.c:1143
#39 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedb3180 "os", fullname=fullname at entry=0xedb3180 "os") at ../Python/import.c:2747
#40 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff920, buf=buf at entry=0xedb3180 "os", p_buflen=p_buflen at entry=0x1ffefff928) at ../Python/import.c:2561
#41 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#42 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#43 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#44 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#45 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#46 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#47 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#48 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#49 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xeda3aa0 "site", co=co at entry=<code at remote 0xef165b0>, pathname=pathname at entry=0xeda7550 "/usr/lib/python2.7/site.pyc") at ../Python/import.c:753
#50 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xeda7550 "/usr/lib/python2.7/site.pyc", fp=<optimized out>) at ../Python/import.c:1143
#51 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xeda3aa0 "site", fullname=fullname at entry=0xeda3aa0 "site") at ../Python/import.c:2747
#52 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefffe50, buf=buf at entry=0xeda3aa0 "site", p_buflen=p_buflen at entry=0x1ffefffe58) at ../Python/import.c:2561
#53 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=['__doc__'], globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#54 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#55 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#56 0x0000000005619e13 in PyObject_Call (func=func at entry=<built-in function __import__>, arg=arg at entry=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), kw=kw at entry=0x0) at ../Objects/abstract.c:2544
#57 0x000000000561a8c7 in call_function_tail (args=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), callable=<built-in function __import__>) at ../Objects/abstract.c:2600
#58 PyObject_CallFunction (callable=<built-in function __import__>, format=<optimized out>) at ../Objects/abstract.c:2600
#59 0x0000000005555dea in PyImport_Import (module_name=module_name at entry='site') at ../Python/import.c:2933
#60 0x0000000005555f8a in PyImport_ImportModule (name=<optimized out>) at ../Python/import.c:2173
#61 0x0000000005544a1c in initsite () at ../Python/pythonrun.c:735
#62 Py_InitializeEx (install_sigs=<optimized out>, install_sigs=<optimized out>) at ../Python/pythonrun.c:291
#63 0x000000000554519a in Py_Initialize () at ../Python/pythonrun.c:388
#64 0x00000000005d62fa in PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:206
#65 0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#66 0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#67 0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#68 0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#69 0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#70 0x000000000028220f in main () at src/core/main.cpp:144
#71 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#72 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python2.7/warnings.py", line 8, in <module>
    import types
  File "/usr/lib/python2.7/posixpath.py", line 17, in <module>
    import warnings
  File "/usr/lib/python2.7/os.py", line 49, in <module>
    import posixpath as path
  File "/usr/lib/python2.7/site.py", line 68, in <module>
    import os
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
PyObject_Free (p=0xee462b0) at ../Objects/obmalloc.c:1013
1013    in ../Objects/obmalloc.c
(gdb) bt
#0  PyObject_Free (p=0xee462b0) at ../Objects/obmalloc.c:1013
#1  0x0000000005604aab in code_dealloc (co=0xef43130) at ../Objects/codeobject.c:347
#2  0x00000000055bce2c in tupledealloc (op=0xef1e5d0) at ../Objects/tupleobject.c:222
#3  0x0000000005604a9b in code_dealloc (co=0xef43730) at ../Objects/codeobject.c:348
#4  0x0000000005552d62 in load_source_module (name=<optimized out>, pathname=<optimized out>, fp=<optimized out>) at ../Python/import.c:1144
#5  0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xee3b850 "warnings", fullname=fullname at entry=0xee3b850 "warnings") at ../Python/import.c:2747
#6  0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffeffeec0, buf=buf at entry=0xee3b850 "warnings", p_buflen=p_buflen at entry=0x1ffeffeec8) at ../Python/import.c:2561
#7  0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#8  PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#9  0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#10 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('warnings', {'genericpath': <module at remote 0xef3f050>, 'stat': <module at remote 0xef30e88>, '__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in functio...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#11 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('warnings', {'genericpath': <module at remote 0xef3f050>, 'stat': <module at remote 0xef30e88>, '__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in functio...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#12 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#13 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#14 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#15 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedeb9a0 "posixpath", co=co at entry=<code at remote 0xef29eb0>, pathname=pathname at entry=0xedef450 "/usr/lib/python2.7/posixpath.pyc") at ../Python/import.c:753
#16 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedef450 "/usr/lib/python2.7/posixpath.pyc", fp=<optimized out>) at ../Python/import.c:1143
#17 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedeb9a0 "posixpath", fullname=fullname at entry=0xedeb9a0 "posixpath") at ../Python/import.c:2747
#18 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff3f0, buf=buf at entry=0xedeb9a0 "posixpath", p_buflen=p_buflen at entry=0x1ffefff3f8) at ../Python/import.c:2561
#19 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#20 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#21 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#22 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#23 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#24 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#25 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#26 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#27 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedb3180 "os", co=co at entry=<code at remote 0xef29230>, pathname=pathname at entry=0xedb6c30 "/usr/lib/python2.7/os.pyc") at ../Python/import.c:753
#28 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedb6c30 "/usr/lib/python2.7/os.pyc", fp=<optimized out>) at ../Python/import.c:1143
#29 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedb3180 "os", fullname=fullname at entry=0xedb3180 "os") at ../Python/import.c:2747
#30 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff920, buf=buf at entry=0xedb3180 "os", p_buflen=p_buflen at entry=0x1ffefff928) at ../Python/import.c:2561
#31 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#32 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#33 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#34 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#35 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#36 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#37 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#38 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#39 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xeda3aa0 "site", co=co at entry=<code at remote 0xef165b0>, pathname=pathname at entry=0xeda7550 "/usr/lib/python2.7/site.pyc") at ../Python/import.c:753
#40 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xeda7550 "/usr/lib/python2.7/site.pyc", fp=<optimized out>) at ../Python/import.c:1143
#41 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xeda3aa0 "site", fullname=fullname at entry=0xeda3aa0 "site") at ../Python/import.c:2747
#42 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefffe50, buf=buf at entry=0xeda3aa0 "site", p_buflen=p_buflen at entry=0x1ffefffe58) at ../Python/import.c:2561
#43 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=['__doc__'], globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#44 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#45 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#46 0x0000000005619e13 in PyObject_Call (func=func at entry=<built-in function __import__>, arg=arg at entry=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), kw=kw at entry=0x0) at ../Objects/abstract.c:2544
#47 0x000000000561a8c7 in call_function_tail (args=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), callable=<built-in function __import__>) at ../Objects/abstract.c:2600
#48 PyObject_CallFunction (callable=<built-in function __import__>, format=<optimized out>) at ../Objects/abstract.c:2600
#49 0x0000000005555dea in PyImport_Import (module_name=module_name at entry='site') at ../Python/import.c:2933
#50 0x0000000005555f8a in PyImport_ImportModule (name=<optimized out>) at ../Python/import.c:2173
#51 0x0000000005544a1c in initsite () at ../Python/pythonrun.c:735
#52 Py_InitializeEx (install_sigs=<optimized out>, install_sigs=<optimized out>) at ../Python/pythonrun.c:291
#53 0x000000000554519a in Py_Initialize () at ../Python/pythonrun.c:388
#54 0x00000000005d62fa in PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:206
#55 0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#56 0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#57 0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#58 0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#59 0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#60 0x000000000028220f in main () at src/core/main.cpp:144
#61 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#62 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python2.7/posixpath.py", line 17, in <module>
    import warnings
  File "/usr/lib/python2.7/os.py", line 49, in <module>
    import posixpath as path
  File "/usr/lib/python2.7/site.py", line 68, in <module>
    import os
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
PyObject_Free (p=0xedf4670) at ../Objects/obmalloc.c:1013
1013    in ../Objects/obmalloc.c
(gdb) bt
#0  PyObject_Free (p=0xedf4670) at ../Objects/obmalloc.c:1013
#1  0x00000000055bce8d in tupledealloc (op=0xedf4690) at ../Objects/tupleobject.c:235
#2  0x0000000005604a9b in code_dealloc (co=0xef29eb0) at ../Objects/codeobject.c:348
#3  0x0000000005552d62 in load_source_module (name=<optimized out>, pathname=<optimized out>, fp=<optimized out>) at ../Python/import.c:1144
#4  0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedeb9a0 "posixpath", fullname=fullname at entry=0xedeb9a0 "posixpath") at ../Python/import.c:2747
#5  0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff3f0, buf=buf at entry=0xedeb9a0 "posixpath", p_buflen=p_buflen at entry=0x1ffefff3f8) at ../Python/import.c:2561
#6  0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#7  PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#8  0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#9  0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#10 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#11 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#12 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#13 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#14 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedb3180 "os", co=co at entry=<code at remote 0xef29230>, pathname=pathname at entry=0xedb6c30 "/usr/lib/python2.7/os.pyc") at ../Python/import.c:753
#15 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedb6c30 "/usr/lib/python2.7/os.pyc", fp=<optimized out>) at ../Python/import.c:1143
#16 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedb3180 "os", fullname=fullname at entry=0xedb3180 "os") at ../Python/import.c:2747
#17 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff920, buf=buf at entry=0xedb3180 "os", p_buflen=p_buflen at entry=0x1ffefff928) at ../Python/import.c:2561
#18 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#19 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#20 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#21 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#22 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#23 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#24 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#25 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#26 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xeda3aa0 "site", co=co at entry=<code at remote 0xef165b0>, pathname=pathname at entry=0xeda7550 "/usr/lib/python2.7/site.pyc") at ../Python/import.c:753
#27 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xeda7550 "/usr/lib/python2.7/site.pyc", fp=<optimized out>) at ../Python/import.c:1143
#28 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xeda3aa0 "site", fullname=fullname at entry=0xeda3aa0 "site") at ../Python/import.c:2747
#29 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefffe50, buf=buf at entry=0xeda3aa0 "site", p_buflen=p_buflen at entry=0x1ffefffe58) at ../Python/import.c:2561
#30 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=['__doc__'], globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#31 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#32 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#33 0x0000000005619e13 in PyObject_Call (func=func at entry=<built-in function __import__>, arg=arg at entry=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), kw=kw at entry=0x0) at ../Objects/abstract.c:2544
#34 0x000000000561a8c7 in call_function_tail (args=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), callable=<built-in function __import__>) at ../Objects/abstract.c:2600
#35 PyObject_CallFunction (callable=<built-in function __import__>, format=<optimized out>) at ../Objects/abstract.c:2600
#36 0x0000000005555dea in PyImport_Import (module_name=module_name at entry='site') at ../Python/import.c:2933
#37 0x0000000005555f8a in PyImport_ImportModule (name=<optimized out>) at ../Python/import.c:2173
#38 0x0000000005544a1c in initsite () at ../Python/pythonrun.c:735
#39 Py_InitializeEx (install_sigs=<optimized out>, install_sigs=<optimized out>) at ../Python/pythonrun.c:291
#40 0x000000000554519a in Py_Initialize () at ../Python/pythonrun.c:388
#41 0x00000000005d62fa in PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:206
#42 0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#43 0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#44 0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#45 0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#46 0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#47 0x000000000028220f in main () at src/core/main.cpp:144
#48 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#49 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python2.7/os.py", line 49, in <module>
    import posixpath as path
  File "/usr/lib/python2.7/site.py", line 68, in <module>
    import os
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
PyObject_Free (p=0xedf7070) at ../Objects/obmalloc.c:1013
1013    in ../Objects/obmalloc.c
(gdb) bt
#0  PyObject_Free (p=0xedf7070) at ../Objects/obmalloc.c:1013
#1  0x0000000005604a01 in code_dealloc (co=0xef29eb0) at ../Objects/codeobject.c:357
#2  0x0000000005552d62 in load_source_module (name=<optimized out>, pathname=<optimized out>, fp=<optimized out>) at ../Python/import.c:1144
#3  0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedeb9a0 "posixpath", fullname=fullname at entry=0xedeb9a0 "posixpath") at ../Python/import.c:2747
#4  0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff3f0, buf=buf at entry=0xedeb9a0 "posixpath", p_buflen=p_buflen at entry=0x1ffefff3f8) at ../Python/import.c:2561
#5  0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#6  PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#7  0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#8  0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#9  0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('posixpath', {'WTERMSIG': <built-in function WTERMSIG>, 'lseek': <built-in function lseek>, 'EX_IOERR': 74, 'EX_NOHOST': 68, 'seteuid': <built-in function seteuid>, 'major': <built-in function major>, 'fstatvfs': <built-in function fstatvfs>, 'uname': <built-in function uname>, 'kill': <built-in function kill>, 'urandom': <built-in function urandom>, 'ST_RELATIME': 4096, 'getegid': <built-in function getegid>, 'getresgid': <built-in function getresgid>, 'EX_OSFILE': 72, 'umask': <built-in function umask>, 'linesep': '\n', 'ST_NODIRATIME': 2048, 'fchmod': <built-in function fchmod>, 'lchown': <built-in function lchown>, 'setgid': <built-in function setgid>, 'tmpnam': <built-in function tmpnam>, 'EX_NOINPUT': 66, 'makedev': <built-in function makedev>, 'fstat': <built-in function fstat>, 'getlogin': <built-in function getlogin>, 'EX_TEMPFAIL': 75, 'O_CREAT': 64, 'dup2': <built-in function dup2>, 'read': <built-in function read>, '__file__': '/usr/lib/python2.7/os.pyc', 'getppid': <built-in function getppid>, '...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#10 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#11 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#12 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#13 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xedb3180 "os", co=co at entry=<code at remote 0xef29230>, pathname=pathname at entry=0xedb6c30 "/usr/lib/python2.7/os.pyc") at ../Python/import.c:753
#14 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xedb6c30 "/usr/lib/python2.7/os.pyc", fp=<optimized out>) at ../Python/import.c:1143
#15 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xedb3180 "os", fullname=fullname at entry=0xedb3180 "os") at ../Python/import.c:2747
#16 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff920, buf=buf at entry=0xedb3180 "os", p_buflen=p_buflen at entry=0x1ffefff928) at ../Python/import.c:2561
#17 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=None, globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#18 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#19 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#20 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#21 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('os', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote 0x574e1a0>, '__...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#22 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#23 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#24 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#25 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xeda3aa0 "site", co=co at entry=<code at remote 0xef165b0>, pathname=pathname at entry=0xeda7550 "/usr/lib/python2.7/site.pyc") at ../Python/import.c:753
#26 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xeda7550 "/usr/lib/python2.7/site.pyc", fp=<optimized out>) at ../Python/import.c:1143
#27 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xeda3aa0 "site", fullname=fullname at entry=0xeda3aa0 "site") at ../Python/import.c:2747
#28 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefffe50, buf=buf at entry=0xeda3aa0 "site", p_buflen=p_buflen at entry=0x1ffefffe58) at ../Python/import.c:2561
#29 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=['__doc__'], globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#30 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#31 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#32 0x0000000005619e13 in PyObject_Call (func=func at entry=<built-in function __import__>, arg=arg at entry=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), kw=kw at entry=0x0) at ../Objects/abstract.c:2544
#33 0x000000000561a8c7 in call_function_tail (args=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), callable=<built-in function __import__>) at ../Objects/abstract.c:2600
#34 PyObject_CallFunction (callable=<built-in function __import__>, format=<optimized out>) at ../Objects/abstract.c:2600
#35 0x0000000005555dea in PyImport_Import (module_name=module_name at entry='site') at ../Python/import.c:2933
#36 0x0000000005555f8a in PyImport_ImportModule (name=<optimized out>) at ../Python/import.c:2173
#37 0x0000000005544a1c in initsite () at ../Python/pythonrun.c:735
#38 Py_InitializeEx (install_sigs=<optimized out>, install_sigs=<optimized out>) at ../Python/pythonrun.c:291
#39 0x000000000554519a in Py_Initialize () at ../Python/pythonrun.c:388
#40 0x00000000005d62fa in PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:206
#41 0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#42 0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#43 0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#44 0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#45 0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#46 0x000000000028220f in main () at src/core/main.cpp:144
#47 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#48 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python2.7/os.py", line 49, in <module>
    import posixpath as path
  File "/usr/lib/python2.7/site.py", line 68, in <module>
    import os
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
PyObject_Free (p=0xf0595d0) at ../Objects/obmalloc.c:1013
1013    in ../Objects/obmalloc.c
(gdb) bt
#0  PyObject_Free (p=0xf0595d0) at ../Objects/obmalloc.c:1013
#1  0x0000000005604a2b in code_dealloc (co=0xef91db0) at ../Objects/codeobject.c:355
#2  0x0000000005552d62 in load_source_module (name=<optimized out>, pathname=<optimized out>, fp=<optimized out>) at ../Python/import.c:1144
#3  0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xf042600 "_sysconfigdata_nd", fullname=fullname at entry=0xf042600 "_sysconfigdata_nd") at ../Python/import.c:2747
#4  0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffeffebd0, buf=buf at entry=0xf042600 "_sysconfigdata_nd", p_buflen=p_buflen at entry=0x1ffeffebd8) at ../Python/import.c:2561
#5  0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=('*',), globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#6  PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#7  0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#8  0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('_sysconfigdata_nd', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote ...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#9  0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('_sysconfigdata_nd', {'__builtins__': {'bytearray': <type at remote 0x575aa60>, 'IndexError': <type at remote 0x5783d60>, 'all': <built-in function all>, 'vars': <built-in function vars>, 'SyntaxError': <type at remote 0x5754360>, 'unicode': <type at remote 0x575e420>, 'UnicodeDecodeError': <type at remote 0x5798be0>, 'memoryview': <type at remote 0x57574a0>, 'isinstance': <built-in function isinstance>, 'NameError': <type at remote 0x579c340>, 'BytesWarning': <type at remote 0x579d7c0>, 'dict': <type at remote 0x575cba0>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type at remote 0x57627a0>, 'StandardError': <type at remote 0x5753f00>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type at remote 0x576df00>, 'list': <type at remote 0x575cd40>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type at remote ...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#10 0x000000000556ccc2 in PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:2643
#11 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#12 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#13 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xf03b280 "_sysconfigdata", co=co at entry=<code at remote 0xef91cb0>, pathname=pathname at entry=0xf03ed30 "/usr/lib/python2.7/_sysconfigdata.pyc") at ../Python/import.c:753
#14 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xf03ed30 "/usr/lib/python2.7/_sysconfigdata.pyc", fp=<optimized out>) at ../Python/import.c:1143
#15 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xf03b280 "_sysconfigdata", fullname=fullname at entry=0xf03b280 "_sysconfigdata") at ../Python/import.c:2747
#16 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefff100, buf=buf at entry=0xf03b280 "_sysconfigdata", p_buflen=p_buflen at entry=0x1ffefff108) at ../Python/import.c:2561
#17 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=('build_time_vars',), globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#18 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#19 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#20 0x0000000005619e13 in PyObject_Call (func=<built-in function __import__>, arg=('_sysconfigdata', {'pardir': '..', 'get_config_var': <function at remote 0xef950c8>, '_main': <function at remote 0xef952a8>, 'is_python_build': <function at remote 0xef8b7d0>, '_SCHEME_KEYS': ('stdlib', 'platstdlib', 'purelib', 'platlib', 'include', 'scripts', 'data'), '_USER_BASE': None, '_PY_VERSION': '2.7.15+', '_INSTALL_SCHEMES': {'osx_framework_user': {'platstdlib': '{userbase}/lib/python', 'platlib': '{userbase}/lib/python/site-packages', 'purelib': '{userbase}/lib/python/site-packages', 'stdlib': '{userbase}/lib/python', 'scripts': '{userbase}/bin', 'include': '{userbase}/include', 'data': '{userbase}'}, 'os2_home': {'platstdlib': '{userbase}/lib/python{py_version_short}', 'platlib': '{userbase}/lib/python{py_version_short}/site-packages', 'purelib': '{userbase}/lib/python{py_version_short}/site-packages', 'stdlib': '{userbase}/lib/python{py_version_short}', 'scripts': '{userbase}/bin', 'include': '{userbase}/include/python{py_version_short}', 'data': '{userbase}'}, 'os2': {'purelib': '{base}/Lib/sit...(truncated), kw=0x0) at ../Objects/abstract.c:2544
#21 0x00000000055686c7 in PyEval_CallObjectWithKeywords (func=<built-in function __import__>, arg=('_sysconfigdata', {'pardir': '..', 'get_config_var': <function at remote 0xef950c8>, '_main': <function at remote 0xef952a8>, 'is_python_build': <function at remote 0xef8b7d0>, '_SCHEME_KEYS': ('stdlib', 'platstdlib', 'purelib', 'platlib', 'include', 'scripts', 'data'), '_USER_BASE': None, '_PY_VERSION': '2.7.15+', '_INSTALL_SCHEMES': {'osx_framework_user': {'platstdlib': '{userbase}/lib/python', 'platlib': '{userbase}/lib/python/site-packages', 'purelib': '{userbase}/lib/python/site-packages', 'stdlib': '{userbase}/lib/python', 'scripts': '{userbase}/bin', 'include': '{userbase}/include', 'data': '{userbase}'}, 'os2_home': {'platstdlib': '{userbase}/lib/python{py_version_short}', 'platlib': '{userbase}/lib/python{py_version_short}/site-packages', 'purelib': '{userbase}/lib/python{py_version_short}/site-packages', 'stdlib': '{userbase}/lib/python{py_version_short}', 'scripts': '{userbase}/bin', 'include': '{userbase}/include/python{py_version_short}', 'data': '{userbase}'}, 'os2': {'purelib': '{base}/Lib/sit...(truncated), kw=<optimized out>) at ../Python/ceval.c:4241
#22 0x000000000556ccc2 in PyEval_EvalFrameEx (f=f at entry=Frame 0xefb3050, for file /usr/lib/python2.7/sysconfig.py, line 417, in _init_posix (vars={'py_version_nodot': '27', 'exec_prefix': '/usr', 'platbase': '/usr', 'py_version_short': '2.7', 'prefix': '/usr', 'base': '/usr', 'projectbase': '/usr/bin', 'py_version': '2.7.15+'}), throwflag=throwflag at entry=0) at ../Python/ceval.c:2643
#23 0x00000000055725ef in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0x1ffefff3b8, func=<function at remote 0xef8bc08>) at ../Python/ceval.c:4457
#24 call_function (oparg=<optimized out>, pp_stack=0x1ffefff3b8) at ../Python/ceval.c:4392
#25 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3009
#26 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#27 0x00000000055704c3 in fast_function (nk=<optimized out>, na=<optimized out>, n=<optimized out>, pp_stack=0x1ffefff578, func=<function at remote 0xef95050>) at ../Python/ceval.c:4467
#28 call_function (oparg=<optimized out>, pp_stack=0x1ffefff578) at ../Python/ceval.c:4392
#29 PyEval_EvalFrameEx (f=f at entry=Frame 0xef96050, for file /usr/lib/python2.7/sysconfig.py, line 587, in get_config_var (name='userbase'), throwflag=throwflag at entry=0) at ../Python/ceval.c:3009
#30 0x00000000055725ef in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0x1ffefff688, func=<function at remote 0xef950c8>) at ../Python/ceval.c:4457
#31 call_function (oparg=<optimized out>, pp_stack=0x1ffefff688) at ../Python/ceval.c:4392
#32 PyEval_EvalFrameEx (f=f at entry=Frame 0xef1baa0, for file /usr/lib/python2.7/site.py, line 237, in getuserbase (get_config_var=<function at remote 0xef950c8>), throwflag=throwflag at entry=0) at ../Python/ceval.c:3009
#33 0x00000000055725ef in fast_function (nk=<optimized out>, na=<optimized out>, n=0, pp_stack=0x1ffefff798, func=<function at remote 0xef8ac80>) at ../Python/ceval.c:4457
#34 call_function (oparg=<optimized out>, pp_stack=0x1ffefff798) at ../Python/ceval.c:4392
#35 PyEval_EvalFrameEx (f=f at entry=Frame 0xef0dd70, for file /usr/lib/python2.7/site.py, line 247, in getusersitepackages (), throwflag=throwflag at entry=0) at ../Python/ceval.c:3009
#36 0x00000000055725ef in fast_function (nk=<optimized out>, na=<optimized out>, n=0, pp_stack=0x1ffefff8a8, func=<function at remote 0xef8acf8>) at ../Python/ceval.c:4457
#37 call_function (oparg=<optimized out>, pp_stack=0x1ffefff8a8) at ../Python/ceval.c:4392
#38 PyEval_EvalFrameEx (f=f at entry=Frame 0xef6f620, for file /usr/lib/python2.7/site.py, line 272, in addusersitepackages (known_paths=set(['/usr/lib/python2.7', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/plat-x86_64-linux-gnu'])), throwflag=throwflag at entry=0) at ../Python/ceval.c:3009
#39 0x00000000055725ef in fast_function (nk=<optimized out>, na=<optimized out>, n=1, pp_stack=0x1ffefff9b8, func=<function at remote 0xef8ad70>) at ../Python/ceval.c:4457
#40 call_function (oparg=<optimized out>, pp_stack=0x1ffefff9b8) at ../Python/ceval.c:4392
#41 PyEval_EvalFrameEx (f=f at entry=Frame 0xef3aad0, for file /usr/lib/python2.7/site.py, line 536, in main (known_paths=set(['/usr/lib/python2.7', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/plat-x86_64-linux-gnu'])), throwflag=throwflag at entry=0) at ../Python/ceval.c:3009
#42 0x00000000055725ef in fast_function (nk=<optimized out>, na=<optimized out>, n=0, pp_stack=0x1ffefffac8, func=<function at remote 0xef8b5f0>) at ../Python/ceval.c:4457
#43 call_function (oparg=<optimized out>, pp_stack=0x1ffefffac8) at ../Python/ceval.c:4392
#44 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at ../Python/ceval.c:3009
#45 0x0000000005569032 in PyEval_EvalCodeEx (co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3604
#46 0x0000000005569649 in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at ../Python/ceval.c:669
#47 0x0000000005552672 in PyImport_ExecCodeModuleEx (name=name at entry=0xeda3aa0 "site", co=co at entry=<code at remote 0xef165b0>, pathname=pathname at entry=0xeda7550 "/usr/lib/python2.7/site.pyc") at ../Python/import.c:753
#48 0x0000000005552d4e in load_source_module (name=<optimized out>, pathname=0xeda7550 "/usr/lib/python2.7/site.pyc", fp=<optimized out>) at ../Python/import.c:1143
#49 0x0000000005554481 in import_submodule (mod=mod at entry=None, subname=subname at entry=0xeda3aa0 "site", fullname=fullname at entry=0xeda3aa0 "site") at ../Python/import.c:2747
#50 0x0000000005554948 in load_next (mod=mod at entry=None, altmod=None, p_name=p_name at entry=0x1ffefffe50, buf=buf at entry=0xeda3aa0 "site", p_buflen=p_buflen at entry=0x1ffefffe58) at ../Python/import.c:2561
#51 0x00000000055557b5 in import_module_level (locals=<optimized out>, level=<optimized out>, fromlist=['__doc__'], globals=<optimized out>, name=<optimized out>) at ../Python/import.c:2269
#52 PyImport_ImportModuleLevel (name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>, name=<optimized out>, globals=<optimized out>, locals=<optimized out>, fromlist=<optimized out>, level=<optimized out>) at ../Python/import.c:2334
#53 0x0000000005578248 in builtin___import__ (self=<optimized out>, args=<optimized out>, kwds=<optimized out>) at ../Python/bltinmodule.c:49
#54 0x0000000005619e13 in PyObject_Call (func=func at entry=<built-in function __import__>, arg=arg at entry=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), kw=kw at entry=0x0) at ../Objects/abstract.c:2544
#55 0x000000000561a8c7 in call_function_tail (args=('site', {'__builtins__': <module at remote 0xeeb5b08>}, {...}, ['__doc__'], 0), callable=<built-in function __import__>) at ../Objects/abstract.c:2600
#56 PyObject_CallFunction (callable=<built-in function __import__>, format=<optimized out>) at ../Objects/abstract.c:2600
#57 0x0000000005555dea in PyImport_Import (module_name=module_name at entry='site') at ../Python/import.c:2933
#58 0x0000000005555f8a in PyImport_ImportModule (name=<optimized out>) at ../Python/import.c:2173
#59 0x0000000005544a1c in initsite () at ../Python/pythonrun.c:735
#60 Py_InitializeEx (install_sigs=<optimized out>, install_sigs=<optimized out>) at ../Python/pythonrun.c:291
#61 0x000000000554519a in Py_Initialize () at ../Python/pythonrun.c:388
#62 0x00000000005d62fa in PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:206
#63 0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#64 0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#65 0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#66 0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#67 0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#68 0x000000000028220f in main () at src/core/main.cpp:144
#69 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#70 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Traceback (most recent call first):
  File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_nd import *
  File "/usr/lib/python2.7/sysconfig.py", line 417, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python2.7/sysconfig.py", line 533, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 587, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 536, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 554, in <module>
    main()
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000005d50d8 in PythonScripting::setQObject (this=0xed48ff0, val=0xb640e10, name=0x706a80 "app", dict={'__name__': 'qti', '__doc__': None, '__package__': None}) at /usr/include/qt4/QtCore/qobjectdefs.h:492
492     /usr/include/qt4/QtCore/qobjectdefs.h: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00000000005d50d8 in PythonScripting::setQObject (this=0xed48ff0, val=0xb640e10, name=0x706a80 "app", dict={'__name__': 'qti', '__doc__': None, '__package__': None}) at /usr/include/qt4/QtCore/qobjectdefs.h:492
#1  0x00000000006f8052 in ?? ()
#2  0x00000000005d61e9 in PythonScripting::setQObject (dict=<unknown at remote 0x1>, name=0x706a80 "app", val=<optimized out>, this=0x1) at src/scripting/PythonScripting.cpp:359
#3  PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:243
#4  0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#5  0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#6  0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#7  0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#8  0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#9  0x000000000028220f in main () at src/core/main.cpp:144
#10 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#11 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Unable to locate python frame
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0000000005757160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
(gdb) bt
#0  0x0000000005757160 in PyModule_Type () from /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
#1  0x00000000005d50db in PythonScripting::setQObject (this=this at entry=0xed48ff0, val=0xb640e10, name=name at entry=0x706a80 "app", dict=dict at entry={'__name__': 'qti', '__doc__': None, '__package__': None}) at /usr/include/qt4/QtCore/qobjectdefs.h:492
#2  0x00000000005d61e9 in PythonScripting::setQObject (dict={'__name__': 'qti', '__doc__': None, '__package__': None}, name=0x706a80 "app", val=<optimized out>, this=0xed48ff0) at src/scripting/PythonScripting.cpp:359
#3  PythonScripting::PythonScripting(ApplicationWindow*) () at src/scripting/PythonScripting.cpp:243
#4  0x00000000005bfa91 in PythonScripting::constructor (parent=0xb640e10) at src/scripting/PythonScripting.h:48
#5  0x00000000003ad233 in ApplicationWindow::setScriptingLanguage(QString const&, bool) () at /usr/include/qt4/QtCore/qstring.h:581
#6  0x00000000003adb35 in ApplicationWindow::loadScript(QString const&, bool, bool) () at /usr/include/qt4/QtCore/qstring.h:419
#7  0x00000000003b91cb in ApplicationWindow::parseCommandLineArguments(QStringList const&) () at src/core/ApplicationWindow.cpp:16358
#8  0x0000000000403d5e in QtiPlotApplication::QtiPlotApplication(int&, char**) () at src/core/QtiPlotApplication.cpp:69
#9  0x000000000028220f in main () at src/core/main.cpp:144
#10 0x0000000008b3cb17 in __libc_start_main (main=0x2821e0 <main>, argc=3, argv=0x1fff000568, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x1fff000558) at ../csu/libc-start.c:310
#11 0x0000000000284d6a in _start () at src/core/main.cpp:146
(gdb) py-bt
Unable to locate python frame
(gdb) kill
Kill the program being debugged? (y or n) y









set width 0
set pagination off
set environment MALLOC_CHECK_ 2
target remote | vgdb





###############


# trying to find the problematic update using snapshot.debian.org

apt -o Acquire::Languages=none update
apt install xserver-xorg lightdm openbox gdb unzip qtiplot qtiplot-dbgsym python-qt4

export LANG=C
export DISPLAY=:0
wget https://www.qtiplot.com/src/strdNIST.zip
unzip strdNIST.zip
wget https://www.qtiplot.com/src/examples/strd_nist_fit_Qt4.zip
unzip strd_nist_fit_Qt4.zip

sed -i 's/import sys/import sys\nfrom PyQt4.QtGui import QFileDialog\nfrom PyQt4.QtCore import QDir/' strd_nist_fit_Qt4.py
    # fix eample from qtiplot.com

gdb -q -ex run -ex bt -ex q --args qtiplot -x strd_nist_fit_Qt4.py



Jessie:
        Accessing QtiPlot functions or objects from Python code won't work. Probably your version of Qt/SIP/PyQt differs from the one QtiPlot was compiled against.
        #> Unexpected variable "sys" found at position 7
            --> install python-qt4

        #> <type 'NameError'>: name 'QFileDialog' is not defined
            --> sed -i 's/import sys/import sys\nfrom PyQt4.QtGui import QFileDialog\nfrom PyQt4.QtCore import QDir/' strd_nist_fit_Qt4.py

        -> now no crash anymore


Stretch: Accessing QtiPlot functions or objects from Python code won't work. Probably your version of Qt/SIP/PyQt differs from the one QtiPlot was compiled against.

        #> Unexpected variable "sys" found at position 7
        
        #> <type 'NameError'>: name 'QFileDialog' is not defined
            --> sed -i 's/import sys/import sys\nfrom PyQt4.QtGui import QFileDialog\nfrom PyQt4.QtCore import QDir/' strd_nist_fit_Qt4.py

        -> now no crash anymore


debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171201T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171205T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171210T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171215T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171220T000000Z/ --> works, 2017-12-18 qtiplot REMOVED from testing
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171225T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171228T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171229T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171230T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20171231T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20180101T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20180104T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20180105T000000Z/ --> works
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20180106T000000Z/ --> Speicherzugriffsfehler, new packages: qtiplot-dbgsym_0.9.8.9-17_amd64.deb, qtiplot_0.9.8.9-17_amd64.deb, qtiplot-doc_0.9.8.9-17_all.deb
debian-10-buster-snapshot.debian.org              https://snapshot.debian.org/archive/debian/20180201T000000Z/ --> Speicherzugriffsfehler

        benutzer at debian:~$ gdb -q --args qtiplot -x strd_nist_fit_Qt4.py
        Reading symbols from qtiplot...Reading symbols from /usr/lib/debug/.build-id/af/02751a3532437b393a4502178b6706cadff4b6.debug...done.
        done.
        (gdb) run
        Starting program: /usr/bin/qtiplot -x strd_nist_fit_Qt4.py
        [Thread debugging using libthread_db enabled]
        Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

        Program received signal SIGSEGV, Segmentation fault.
        0x0000000000000000 in ?? ()
        (gdb) bt
        #0  0x0000000000000000 in ?? ()
        #1  0x00005555559eedbc in PythonScripting::setQObject (this=this at entry=0x55555622f5a0, val=0x555555f142f0, name=name at entry=0x555555b25d80 "app", dict=dict at entry=0x7fffe9b26280) at src/scripting/PythonScripting.cpp:365
        #2  0x00005555559f01c9 in PythonScripting::setQObject (dict=0x7fffe9b26280, name=0x555555b25d80 "app", val=<optimized out>, this=0x55555622f5a0) at src/scripting/PythonScripting.cpp:359
        #3  PythonScripting::PythonScripting (this=0x55555622f5a0, parent=<optimized out>) at src/scripting/PythonScripting.cpp:243
        #4  0x00005555559d5261 in PythonScripting::constructor (parent=0x555555f142f0) at src/scripting/PythonScripting.h:48
        #5  0x0000555555764613 in ApplicationWindow::setScriptingLanguage (this=this at entry=0x555555f142f0, lang=..., force=force at entry=false) at src/core/ApplicationWindow.cpp:5102
        #6  0x000055555576512d in ApplicationWindow::loadScript (this=this at entry=0x555555f142f0, fn=..., execute=execute at entry=true, noGui=noGui at entry=false) at src/core/ApplicationWindow.cpp:18001
        #7  0x0000555555773173 in ApplicationWindow::parseCommandLineArguments (this=this at entry=0x555555f142f0, args=...) at src/core/ApplicationWindow.cpp:16358
        #8  0x00005555557cc604 in QtiPlotApplication::QtiPlotApplication (this=0x7fffffffe4c0, argc=<optimized out>, argv=<optimized out>) at src/core/QtiPlotApplication.cpp:69
        #9  0x00005555555f5d4f in main (argc=<optimized out>, argv=<optimized out>) at src/core/main.cpp:144



############

# Back to buster

wget http://192.168.178.25:9999/debian-10-buster-deb.debian.org/pool/main/q/qtiplot/qtiplot_0.9.8.9-16+b2_amd64.deb
wget http://192.168.178.25:9999/debian-10-buster-deb.debian.org/pool/main/q/qtiplot/qtiplot-doc_0.9.8.9-16_all.deb
wget http://192.168.178.25:9999/debian-10-buster-debug.mirrors.debian.org/pool/main/q/qtiplot/qtiplot-dbgsym_0.9.8.9-16+b2_amd64.deb
dpkg -i *0.9.8.9-16*.deb
-> works

wget http://192.168.178.25:9999/debian-10-buster-deb.debian.org/pool/main/q/qtiplot/qtiplot_0.9.8.9-17_amd64.deb
wget http://192.168.178.25:9999/debian-10-buster-deb.debian.org/pool/main/q/qtiplot/qtiplot-doc_0.9.8.9-17_all.deb
wget http://192.168.178.25:9999/debian-10-buster-debug.mirrors.debian.org/pool/main/q/qtiplot/qtiplot-dbgsym_0.9.8.9-17_amd64.deb
dpkg -i *0.9.8.9-17*.deb


############


mkdir qtiplot/0.9.8.9-16/orig -p
cd    qtiplot/0.9.8.9-16/orig
dget http://snapshot.debian.org/archive/debian/20170830T070345Z/pool/main/q/qtiplot/qtiplot_0.9.8.9-16.dsc
cd ../../..

mkdir qtiplot/0.9.8.9-17/orig -p
cd    qtiplot/0.9.8.9-17/orig
apt source qtiplot
cd ../../..



benutzer at debian:~/qtiplot$ debdiff 0.9.8.9-16/orig/qtiplot_0.9.8.9-16.dsc 0.9.8.9-17/orig/qtiplot_0.9.8.9-17.dsc
diff -Nru qtiplot-0.9.8.9/debian/changelog qtiplot-0.9.8.9/debian/changelog
--- qtiplot-0.9.8.9/debian/changelog    2017-08-29 23:14:04.000000000 +0200
+++ qtiplot-0.9.8.9/debian/changelog    2017-12-30 23:51:01.000000000 +0100
@@ -1,3 +1,14 @@
+qtiplot (0.9.8.9-17) unstable; urgency=medium
+
+  * Team upload.
+  * [aec7671] Remove myself from uploaders
+  * [1843f27] First try to fix #882026
+  * [ca9c06d] Fix compilation against sip_4.19. (Closes: #882026)
+  * [ca50cee] Add dh-python into build-depends
+  * [fbe2d82] Remove obsolete menu-file
+
+ -- Anton Gladky <gladk at debian.org>  Sat, 30 Dec 2017 23:51:01 +0100
+
 qtiplot (0.9.8.9-16) unstable; urgency=medium
 
   [ Anton Gladky ]
diff -Nru qtiplot-0.9.8.9/debian/control qtiplot-0.9.8.9/debian/control
--- qtiplot-0.9.8.9/debian/control      2017-08-29 21:44:27.000000000 +0200
+++ qtiplot-0.9.8.9/debian/control      2017-12-30 23:48:30.000000000 +0100
@@ -2,12 +2,12 @@
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Gudjon I. Gudjonsson <gudjon at gudjon.org>,
            Andreas Tille <tille at debian.org>,
-           Scott Howard <showard at debian.org>,
-           Anton Gladky <gladk at debian.org>
+           Scott Howard <showard at debian.org>
 Section: math
 Priority: optional
 Build-Depends: debhelper (>= 10),
                dblatex,
+               dh-python,
                docbook-utils,
                doxygen,
                libgsl-dev,
diff -Nru qtiplot-0.9.8.9/debian/patches/20_fix_FTBFS_sip4.19.patch qtiplot-0.9.8.9/debian/patches/20_fix_FTBFS_sip4.19.patch
--- qtiplot-0.9.8.9/debian/patches/20_fix_FTBFS_sip4.19.patch   1970-01-01 01:00:00.000000000 +0100
+++ qtiplot-0.9.8.9/debian/patches/20_fix_FTBFS_sip4.19.patch   2017-12-30 23:45:07.000000000 +0100
@@ -0,0 +1,52 @@
+Description: Use new sip-API
+Author: Anton Gladky <gladk at debian.org>, Vladimir
+Origin: https://bugs.gentoo.org/641514#c2
+Bug-Debian: https://bugs.debian.org/882026
+Last-Update: 2017-12-30
+
+Index: qtiplot-0.9.8.9/qtiplot/src/scripting/PythonScripting.cpp
+===================================================================
+--- qtiplot-0.9.8.9.orig/qtiplot/src/scripting/PythonScripting.cpp
++++ qtiplot-0.9.8.9/qtiplot/src/scripting/PythonScripting.cpp
+@@ -58,7 +58,7 @@ typedef struct _traceback {
+ #include <QMessageBox>
+ 
+ // includes sip.h, which undefines Qt's "slots" macro since SIP 4.6
+-#include "sipAPIqti.h"
++#include "sip.h"
+ extern "C" void initqti();
+ 
+ const char* PythonScripting::langName = "Python";
+@@ -359,10 +359,11 @@ bool PythonScripting::setQObject(QObject
+       if(!val) return false;
+       PyObject *pyobj=NULL;
+ 
+-      PyGILState_STATE state = PyGILState_Ensure();
++      sipAPIDef sip_API;
+ 
+-      sipWrapperType * klass = sipFindClass(val->className());
+-      if (klass) pyobj = sipConvertFromInstance(val, klass, NULL);
++      PyGILState_STATE state = PyGILState_Ensure();
++      const auto klass = sip_API.api_find_class(val->className());
++      if (klass) pyobj = sip_API.api_convert_from_type(val, klass->wt_td, NULL);
+ 
+       if (pyobj) {
+               if (dict)
+Index: qtiplot-0.9.8.9/qtiplot/src/scripting/qti.sip
+===================================================================
+--- qtiplot-0.9.8.9.orig/qtiplot/src/scripting/qti.sip
++++ qtiplot-0.9.8.9/qtiplot/src/scripting/qti.sip
+@@ -3243,11 +3243,11 @@ public:
+ %MethodCode
+   SIPQTI_APP(new sipFFT(app, a0, *a1, a2, a3))
+ %End
+-  FFT(QwtPlotCurve *&) /NoDerived/;
++  FFT(QwtPlotCurve *) /NoDerived/;
+ %MethodCode
+   SIPQTI_APP(new sipFFT(app, a0))
+ %End
+-  FFT(QwtPlotCurve *&, double, double) /NoDerived/;
++  FFT(QwtPlotCurve *, double, double) /NoDerived/;
+ %MethodCode
+   SIPQTI_APP(new sipFFT(app, a0, a1, a2))
+ %End
diff -Nru qtiplot-0.9.8.9/debian/patches/series qtiplot-0.9.8.9/debian/patches/series
--- qtiplot-0.9.8.9/debian/patches/series       2017-08-29 21:50:24.000000000 +0200
+++ qtiplot-0.9.8.9/debian/patches/series       2017-12-30 17:34:22.000000000 +0100
@@ -13,3 +13,4 @@
 fix_stack_overflow.patch
 11_ftbfs-gcc-6.cpp
 15_fix_sip_4-9_compilatio.patch
+20_fix_FTBFS_sip4.19.patch
diff -Nru qtiplot-0.9.8.9/debian/qtiplot.menu qtiplot-0.9.8.9/debian/qtiplot.menu
--- qtiplot-0.9.8.9/debian/qtiplot.menu 2015-05-31 18:13:57.000000000 +0200
+++ qtiplot-0.9.8.9/debian/qtiplot.menu 1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-?package(qtiplot): \
-       needs="X11" \
-       section="Applications/Science/Data Analysis" \
-       title="QtiPlot" \
-       command="/usr/bin/qtiplot" \
-       icon="/usr/share/pixmaps/qtiplot.xpm"



#################


apt install mc dpkg-dev devscripts quilt systemd-coredump xserver-xorg lightdm openbox gdb valgrind qtiplot qtiplot-dbgsym libpython2.7-dbg python2.7-dbg python-qt4 libqt4-dev
apt build-dep qtiplot



benutzer at debian:~$ gdb -q --args qtiplot -x strd_nist_fit_Qt4.py
Reading symbols from qtiplot...Reading symbols from /usr/lib/debug/.build-id/8e/df16cd4939ad64f90d10000939d34fdf4f6a67.debug...done.
done.
(gdb) set width 0
(gdb) set pagination off
(gdb) directory /home/benutzer/qtiplot/0.9.8.9-17/orig/qtiplot-0.9.8.9/qtiplot
Source directories searched: /home/benutzer/qtiplot/0.9.8.9-17/orig/qtiplot-0.9.8.9/qtiplot:$cdir:$cwd
(gdb) b PythonScripting::setQObject
Breakpoint 1 at 0x4cd0a0: PythonScripting::setQObject. (6 locations)
(gdb) ignore 1 1
Will ignore next crossing of breakpoint 1.
(gdb) display/i $pc
1: x/i $pc
<error: No registers.>
(gdb) run
Starting program: /usr/bin/qtiplot -x strd_nist_fit_Qt4.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, PythonScripting::setQObject (this=0x555555fe8a30, val=0x555555d6f620, name=0x555555b52a80 "app", dict={'tTest': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556236760>, 'StatisticTest': <PyQt4.QtCore.pyqtWrapperType at remote 0x555555e1c720>, 'Matrix': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622c6a0>, 'Fit': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556222760>, 'VectorCurve': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556235bf0>, 'Graph': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622dd50>, 'Integration': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622a360>, 'Anova': <PyQt4.QtCore.pyqtWrapperType at remote 0x555555e1cb60>, 'Note': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622f430>, 'Statistics': <PyQt4.QtCore.pyqtWrapperType at remote 0x555555e1c2d0>, 'PlotSymbol': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556229790>, 'DataCurve': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555621f0d0>, 'Folder': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556224e70>, 'QwtLinearColorMap': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622b2f0>, 'QwtPlot': <PyQt4.QtCore.pyqtWrapperType at remote 0x5...(truncated)) at src/scripting/PythonScripting.cpp:364
warning: Source file is more recent than executable.
364             PyGILState_STATE state = PyGILState_Ensure();
1: x/i $pc
=> 0x555555a210a0 <PythonScripting::setQObject(QObject*, char const*, _object*)>:       push   %r15
(gdb) next
365             const auto klass = sip_API.api_find_class(val->className());
1: x/i $pc
=> 0x555555a210cf <PythonScripting::setQObject(QObject*, char const*, _object*)+47>:    mov    (%rbx),%rax
(gdb) stepi
0x0000555555a210d2 in QObject::className (this=0x555555d6f620) at /usr/include/qt4/QtCore/qobject.h:302
302         inline QT3_SUPPORT const char *className() const { return metaObject()->className(); }
1: x/i $pc
=> 0x555555a210d2 <PythonScripting::setQObject(QObject*, char const*, _object*)+50>:    callq  *(%rax)
(gdb) 
ApplicationWindow::metaObject (this=0x555555d6f620) at ../tmp/qtiplot/moc_ApplicationWindow.cpp:2097
2097    ../tmp/qtiplot/moc_ApplicationWindow.cpp: No such file or directory.
1: x/i $pc
=> 0x555555ab1ca0 <ApplicationWindow::metaObject() const>:      mov    0x8(%rdi),%rax
(gdb) nexti
0x0000555555ab1ca4      2097    in ../tmp/qtiplot/moc_ApplicationWindow.cpp
1: x/i $pc
=> 0x555555ab1ca4 <ApplicationWindow::metaObject() const+4>:    lea    0x1f2bd5(%rip),%rdx        # 0x555555ca4880 <_ZN17ApplicationWindow16staticMetaObjectE>
(gdb) 
0x0000555555ab1cab      2097    in ../tmp/qtiplot/moc_ApplicationWindow.cpp
1: x/i $pc
=> 0x555555ab1cab <ApplicationWindow::metaObject() const+11>:   mov    0x28(%rax),%rax
(gdb) 
0x0000555555ab1caf      2097    in ../tmp/qtiplot/moc_ApplicationWindow.cpp
1: x/i $pc
=> 0x555555ab1caf <ApplicationWindow::metaObject() const+15>:   test   %rax,%rax
(gdb) 
0x0000555555ab1cb2      2097    in ../tmp/qtiplot/moc_ApplicationWindow.cpp
1: x/i $pc
=> 0x555555ab1cb2 <ApplicationWindow::metaObject() const+18>:   cmove  %rdx,%rax
(gdb) 
0x0000555555ab1cb6      2097    in ../tmp/qtiplot/moc_ApplicationWindow.cpp
1: x/i $pc
=> 0x555555ab1cb6 <ApplicationWindow::metaObject() const+22>:   retq   
(gdb) 
PythonScripting::setQObject (this=0x555555fe8a30, val=0x555555d6f620, name=0x555555b52a80 "app", dict={'tTest': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556236760>, 'StatisticTest': <PyQt4.QtCore.pyqtWrapperType at remote 0x555555e1c720>, 'Matrix': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622c6a0>, 'Fit': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556222760>, 'VectorCurve': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556235bf0>, 'Graph': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622dd50>, 'Integration': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622a360>, 'Anova': <PyQt4.QtCore.pyqtWrapperType at remote 0x555555e1cb60>, 'Note': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622f430>, 'Statistics': <PyQt4.QtCore.pyqtWrapperType at remote 0x555555e1c2d0>, 'PlotSymbol': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556229790>, 'DataCurve': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555621f0d0>, 'Folder': <PyQt4.QtCore.pyqtWrapperType at remote 0x555556224e70>, 'QwtLinearColorMap': <PyQt4.QtCore.pyqtWrapperType at remote 0x55555622b2f0>, 'QwtPlot': <PyQt4.QtCore.pyqtWrapperType at remote 0x5...(truncated)) at /usr/include/qt4/QtCore/qobjectdefs.h:492
492     { return d.stringdata; }
1: x/i $pc
=> 0x555555a210d4 <PythonScripting::setQObject(QObject*, char const*, _object*)+52>:    mov    0x8(%rax),%rdi
(gdb) stepi
0x0000555555a210d8      492     { return d.stringdata; }
1: x/i $pc
=> 0x555555a210d8 <PythonScripting::setQObject(QObject*, char const*, _object*)+56>:    callq  *%r15
(gdb) 
0x00007fffef91db08 in ?? ()
1: x/i $pc
=> 0x7fffef91db08:      add    $0x0,%eax
(gdb) stepi

Program received signal SIGSEGV, Segmentation fault.
0x00007fffef91db08 in ?? ()
1: x/i $pc
=> 0x7fffef91db08:      add    $0x0,%eax


--> 0x7fffef91db08, woher kommt das?



############



gdb -q --args qtiplot -x strd_nist_fit_Qt4.py

set width 0
set pagination off
directory /home/benutzer/qtiplot/0.9.8.9-17/orig/qtiplot-0.9.8.9/qtiplot
b PythonScripting::setQObject
display/i $pc
run






- What actions/input lead to the crash?
- Last working version?

- qtiplot 0.9.8.9-16+b2 works on todays buster


https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-visualization/qtiplot?id=959048ec800176c4b60d50de4e58f4947495cbaa
https://bugs.gentoo.org/show_bug.cgi?id=641514#c2


More information about the debian-science-maintainers mailing list