Hi everyone on the list,

Sorry to knock the door again, I know the support is voluntary but I would 
really like to use graph-tool, so as a gentle reminder, does anyone have an 
idea why this segfault is appearing?

All best
Yannis

From: [email protected]
To: [email protected]
Date: Wed, 23 Sep 2015 21:33:10 +0300
Subject: Re: [graph-tool] Segmentation fault when running the animation scripts 
in the Cookbook section




Hi Tiago,

Thanks for the tips. Both the animation scripts throw segmentation fault but I 
am running the example with ``animation_sirs.py``.  I am attaching the trace 
after the "bt" command plus a a few lines before that, because I observed an 
ImportError:
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'

Thank you in advance for the help
Yannis

To: [email protected]
From: [email protected]
Date: Mon, 21 Sep 2015 10:02:20 +0200
Subject: Re: [graph-tool] Segmentation fault when running the animation scripts 
in the Cookbook section

On 20.09.2015 23:01, Yannis Panagis wrote:
> Unfortunately, I 'm not good at Linux could you give me a pointer on
> how to produce the backtrace?
 
You have to isolate the problem in a self-contained script first. If it
happens in one the animation scripts, you have to say which one.
 
Then you run the script under gdb:
 
    gdb python
    (gdb) set args ./script.py
    (gdb) run
 
when the segfault occurs you type
 
    (gdb) bt
 
and post the _entire_ result.
 
Best,
Tiago
 
-- 
Tiago de Paula Peixoto <[email protected]>
 

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool                              
          

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool                              
          
File 
"/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", 
line 63, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[New Thread 0x7fffd431c700 (LWP 7178)]
[New Thread 0x7fffd3b1b700 (LWP 7179)]
[New Thread 0x7fffc8969700 (LWP 7186)]
[New Thread 0x7fffc3fff700 (LWP 7187)]
[New Thread 0x7fffc37fe700 (LWP 7188)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fffd9bf0392 in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so
#2  0x00007fffd9be8a0b in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so
#3  0x00007fffd9bde82e in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so
#4  0x0000000000505f96 in PyObject_Call ()
#5  0x000000000049b07a in PyEval_EvalFrameEx ()
#6  0x00000000004a090c in PyEval_EvalCodeEx ()
#7  0x0000000000499a52 in PyEval_EvalFrameEx ()
#8  0x00000000004a1c9a in ?? ()
#9  0x000000000056a849 in PyObject_CallObject ()
#10 0x00007fffd9be670d in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so
#11 0x00007ffff34598cb in ffi_closure_unix64_inner ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#12 0x00007ffff3459c44 in ffi_closure_unix64 ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#13 0x00007fffd9478ce5 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007fffd9479048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fffd947930a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fffd80cae25 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#17 0x00007ffff3459adc in ffi_call_unix64 ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#18 0x00007ffff345940c in ffi_call ()
   from /usr/lib/x86_64-linux-gnu/libffi.so.6
#19 0x00007fffd9be8982 in ?? () from /usr/lib/python2.7/dist-packages/gi/_gi.so
#20 0x0000000000499be5 in PyEval_EvalFrameEx ()
#21 0x00000000004a1634 in ?? ()
#22 0x000000000044e4a5 in PyRun_FileExFlags ()
#23 0x000000000044ec9f in PyRun_SimpleFileExFlags ()
#24 0x000000000044f904 in Py_Main ()
#25 0x00007ffff7818ec5 in __libc_start_main (main=0x44f9c2 <main>, argc=2, 
    argv=0x7fffffffdec8, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdeb8) at libc-start.c:287
#26 0x0000000000578c4e in _start ()


_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to