[Pythonmac-SIG] Problem with module linking
Nicholas Riley
njriley@uiuc.edu
Tue, 10 Dec 2002 12:39:08 -0600
A bit more information: here's the ktrace output.
8439 python CALL open(0xbfffe2c0,0,0x1b6)
8439 python NAMI "_fs.so"
8439 python RET open 3
8439 python CALL open(0xbfffd950,0,0xc)
8439 python NAMI "."
8439 python RET open 4
8439 python CALL fstat(0x4,0xbfffd770)
8439 python RET fstat 0
8439 python CALL fcntl(0x4,0x2,0x1)
8439 python RET fcntl 0
8439 python CALL fstatfs(0x4,0xbfffd7d0)
8439 python RET fstatfs 0
8439 python CALL getdirentries(0x4,0x1c2b20,0x1000,0x6cfa4)
8439 python RET getdirentries 448/0x1c0
8439 python CALL lseek(0x4,0,0,0)
8439 python RET lseek 0
8439 python CALL close(0x4)
8439 python RET close 0
8439 python CALL open(0xbfffe2c0,0,0)
8439 python NAMI "_fs.so"
8439 python RET open 4
8439 python CALL fstat(0x4,0xbfffdef0)
8439 python RET fstat 0
8439 python CALL close(0x4)
8439 python RET close 0
8439 python CALL open(0x92f340,0,0)
8439 python NAMI "Python.framework/Versions/2.2/Python"
8439 python RET open -1 errno 2 No such file or directory
8439 python CALL stat(0x7320,0xbfffdc40)
8439 python NAMI "/Users/nicholas/Library/Frameworks/Python.framework/Versions/2.2/Python"
8439 python RET stat -1 errno 2 No such file or directory
8439 python CALL stat(0x7320,0xbfffdc40)
8439 python NAMI "/Library/Frameworks/Python.framework/Versions/2.2/Python"
8439 python RET stat 0
8439 python CALL open(0x7320,0,0)
8439 python NAMI "/Library/Frameworks/Python.framework/Versions/2.2/Python"
8439 python RET open 4
8439 python CALL fstat(0x4,0xbfffdd90)
8439 python RET fstat 0
8439 python CALL close(0x4)
8439 python RET close 0
8439 python CALL close(0x3)
8439 python RET close 0
8439 python CALL write(0x2,0x458834,0x23)
8439 python GIO fd 2 wrote 35 bytes
"Traceback (most recent call last):
"
I don't see anything in there that looks like the library opening
failed, in fact Python (or dyld?) is closing the file descriptors
after it opened them. Is there anything else I can check?
--
=Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
Pablo Research Group, Department of Computer Science and
Medical Scholars Program, University of Illinois at Urbana-Champaign