[SciPy-dev] petsc4py support? (segfault)

Neilen Marais nmarais@sun.ac...
Mon May 19 16:00:56 CDT 2008

On Mon, 19 May 2008 15:54:24 -0500, Robert Kern wrote:

> However, if you run
> python under gdb, you can get a backtrace which could help you identify
> the problem.

Hi Robert,

This is what I see:

$ gdb python
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) run
Starting program: /usr/bin/python 
[Thread debugging using libthread_db enabled]
Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) 
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[New Thread 0x7f0b081746e0 (LWP 12261)]
>>> import petsc4py.PETSc

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f0b081746e0 (LWP 12261)]
0x00007f0b02f38b8b in _int_malloc () from /usr/lib/libopen-pal.so.0


More information about the Scipy-dev mailing list