[Pythonmac-SIG] seg fault in intelOSX+python2.4

Ronald Oussoren ronaldoussoren at mac.com
Thu Aug 30 07:48:07 CEST 2007


On 30 Aug, 2007, at 1:56, David Worrall wrote:

> Hi all,
>
> I've been using PyTables (www.pytables.org) with python2.4 on intel
> Mac OSX 10.4.10
> and I'm running into a seg. fault when generating a large hdf5 file.
>
> Almost certainly something to do with relationship between OS and
> python.
> Has anyone had a similar (memory leak?) experience?

How large a file? It might be a memory management bug in pytables as  
well.

If you have the developer tools (Xcode & friends) installed you can  
find out where the crash occurs using gdb.

That is, 'gdb python', then on the prompt for gdb: 'r  
myscript.py' (adding arguments if needed). When the crash occurs you  
can use 'where 20' to see the topmost 20 frames on the C stack, or  
just 'where' to see the entire stack.

Ronald
>
>
>
>
> _________________________________________________
> experimental polymedia:	www.avatar.com.au
> Sonic Communications Research Group,
> University of Canberra:	 www.canberra.edu.au/vc-forum/scrg
> vip=Verbal Interactivity Project
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list