[SciPy-user] weave segfault mystery

Christopher Fonnesbeck chris at fonnesbeck.org
Mon Jan 13 23:51:15 EST 2003


I am trying to debug the attached code, but keep running into a segfault
error. Here is the tail end of it:

brk(0x8de2000)                          = 0x8de2000
brk(0x8de3000)                          = 0x8de3000
brk(0x8de4000)                          = 0x8de4000
brk(0x8de5000)                          = 0x8de5000
brk(0x8de6000)                          = 0x8de6000
brk(0x8de7000)                          = 0x8de7000
brk(0x8de8000)                          = 0x8de8000
brk(0x8de9000)                          = 0x8de9000
brk(0x8dea000)                          = 0x8dea000
brk(0x8deb000)                          = 0x8deb000
brk(0x8dec000)                          = 0x8dec000
brk(0x8ded000)                          = 0x8ded000
brk(0x8dee000)                          = 0x8dee000
munmap(0x403d4000, 4001792)             = 0
brk(0x8def000)                          = 0x8def000
brk(0x8df1000)                          = 0x8df1000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Basically, this is a tile coding routine for linear function
approzimation that I am embedding in Python, which calls another
python-embedded C function in the same module. The call is:

 Approximation.get_tiles(<some integer>,<some list of integers>,<another
integer>)

Any help most appreciated,
-- 
Christopher J. Fonnesbeck	GA Coop. Fish & Wildlife Research Unit 
chris at fonnesbeck.org		University of Georgia




More information about the SciPy-User mailing list