You are not logged in.

#1 2010-07-09 16:21:21

fax8
Member
From: Italy
Registered: 2006-03-14
Posts: 104
Website

python-vpython segmentation fault

Hi guys,

I'm on ArchLinux 64 bit. I was testing vpython but unfortunately it seems that it just crashes..

Would you guys please confirm or suggest fix?

Just install package go to /usr/lib/python2.6/site-packages/visual/demos the run one of those demos.

It keeps crashing for me,

Thanks

Fabio Varesano

Offline

#2 2010-07-12 11:54:17

Nisstyre56
Member
From: Canada
Registered: 2010-03-25
Posts: 85

Re: python-vpython segmentation fault

Segmentation fault means there's a bug in the actual program. It's trying to access a location in memory that it doesn't own. Try contacting whoever it is that maintains it. I don't think there's an easy fix, but someone can correct me if I'm wrong.

Last edited by Nisstyre56 (2010-07-12 11:55:25)


In Zen they say: If something is boring after two minutes, try it for four. If still boring, try it for eight, sixteen, thirty-two, and so on. Eventually one discovers that it's not boring at all but very interesting.
~ John Cage

Offline

#3 2010-08-16 23:56:06

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: python-vpython segmentation fault

I have the same problem on two x86_64 machines. The third one if fine, x86_64 too. I tried recompiling vpython without success.

gdb gives me a weird stacktrace:

#43 0x00007ffff7b3187c in run_mod () from /usr/lib/libpython2.6.so.1.0
#44 0x00007ffff7b31950 in PyRun_FileExFlags () from /usr/lib/libpython2.6.so.1.0
#45 0x00007ffff7b32dfc in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.6.so.1.0
#46 0x00007ffff7b3f25d in Py_Main () from /usr/lib/libpython2.6.so.1.0
#47 0x00007ffff74e5c4d in __libc_start_main () from /lib/libc.so.6
#48 0x0000000000400609 in _start ()

Offline

#4 2010-08-17 18:05:49

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: python-vpython segmentation fault

I have recompiled python and vpython with debug symbols. Here is the stacktrace:
http://pastebin.com/zihsxktb

It fails when calling something about boost pointers...

Offline

#5 2010-08-18 00:01:32

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: python-vpython segmentation fault

I have open a bug report: http://bugs.archlinux.org/task/20503

Maybe an intel video issue?

Offline

Board footer

Powered by FluxBB