alonho / pytrace

pytrace is a fast python tracer. it records function calls, arguments and return values. can be used for debugging and profiling.
Other
447 stars 21 forks source link

Segmentation fault (core dumped) on OpenBSD 5.1 (amd64) #8

Open ghost opened 12 years ago

ghost commented 12 years ago

I try invoking a web.py app, but got a core dump immediately:

# pytrace myscript.py 
http://0.0.0.0:8080/    # <-- Here is OK, after access port 8080 with a web browser, it terminates.
Segmentation fault (core dumped) 

Anything i can do to see why it terminates?

alonho commented 12 years ago

several options here:

  1. show me the stack trace by running: gdb python -c CORE_FILE_NAME
  2. send me the core (alonho@gmail.com) - know that the core file might contain sensitive information, don't send it if your python modules contains secret keys or such.
  3. wait a few days until I have the time to try and reproduce it myself.

Thanks!

ghost commented 12 years ago

Thanks for your reply.

$ gdb python -c python2.7.core
GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unknown-openbsd5.1"...(no debugging symbols found)

Core was generated by `python2.7'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/lib/libpthread.so.13.3...done. Loaded symbols for /usr/lib/libpthread.so.13.3 Reading symbols from /usr/local/lib/libpython2.7.so.0.0...done. Loaded symbols for /usr/local/lib/libpython2.7.so.0.0 Reading symbols from /usr/lib/libutil.so.11.2...done. Loaded symbols for /usr/lib/libutil.so.11.2 Reading symbols from /usr/lib/libstdc++.so.54.0...done. Loaded symbols for /usr/lib/libstdc++.so.54.0 Reading symbols from /usr/lib/libm.so.7.0...done. Loaded symbols for /usr/lib/libm.so.7.0 Symbols already loaded for /usr/lib/libpthread.so.13.3 Reading symbols from /usr/lib/libc.so.62.0...done. Loaded symbols for /usr/lib/libc.so.62.0 Reading symbols from /usr/libexec/ld.so...done. Loaded symbols for /usr/libexec/ld.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/time.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/time.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/strop.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/strop.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/zlib.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/zlib.so Reading symbols from /usr/lib/libz.so.4.1...done. Loaded symbols for /usr/lib/libz.so.4.1 Reading symbols from /usr/local/lib/python2.7/lib-dynload/_collections.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_collections.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/operator.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/operator.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/itertools.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/itertools.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_bisect.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_bisect.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_heapq.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_heapq.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_functools.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_functools.so Reading symbols from /root/.python-eggs/pytrace-0.2.1-py2.7-openbsd-5.1-amd64.egg-tmp/pytrace/tracer.so...done. Loaded symbols for /root/.python-eggs/pytrace-0.2.1-py2.7-openbsd-5.1-amd64.egg-tmp/pytrace/tracer.so Reading symbols from /usr/local/lib/libprotobuf-c.so.0.0...done. Loaded symbols for /usr/local/lib/libprotobuf-c.so.0.0 Reading symbols from /usr/local/lib/libsqlite3.so.16.0...done. Loaded symbols for /usr/local/lib/libsqlite3.so.16.0 Reading symbols from /usr/local/lib/python2.7/site-packages/urwid/str_util.so...done. Loaded symbols for /usr/local/lib/python2.7/site-packages/urwid/str_util.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/array.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/array.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_locale.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_locale.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/termios.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/termios.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/select.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/select.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/fcntl.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/fcntl.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_struct.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_struct.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/binascii.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/binascii.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/cStringIO.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/cStringIO.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/cPickle.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/cPickle.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_hashlib.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_hashlib.so Reading symbols from /usr/lib/libssl.so.17.1...done. Loaded symbols for /usr/lib/libssl.so.17.1 Reading symbols from /usr/lib/libcrypto.so.20.1...done. Loaded symbols for /usr/lib/libcrypto.so.20.1 Reading symbols from /usr/local/lib/python2.7/lib-dynload/math.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/math.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/datetime.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/datetime.so Reading symbols from /usr/local/lib/python2.7/site-packages/sqlalchemy/cprocessors.so...done. Loaded symbols for /usr/local/lib/python2.7/site-packages/sqlalchemy/cprocessors.so Reading symbols from /usr/local/lib/python2.7/site-packages/sqlalchemy/cresultproxy.so...done. Loaded symbols for /usr/local/lib/python2.7/site-packages/sqlalchemy/cresultproxy.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_socket.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_socket.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_ssl.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_ssl.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/_random.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/_random.so Reading symbols from /usr/local/lib/python2.7/lib-dynload/grp.so...done. Loaded symbols for /usr/local/lib/python2.7/lib-dynload/grp.so Reading symbols from /usr/local/lib/python2.7/site-packages/psycopg2/_psycopg.so...done. Loaded symbols for /usr/local/lib/python2.7/site-packages/psycopg2/_psycopg.so Reading symbols from /usr/local/lib/libpq.so.5.4...done. Loaded symbols for /usr/local/lib/libpq.so.5.4 Reading symbols from /usr/lib/libcom_err.so.18.0...done. Loaded symbols for /usr/lib/libcom_err.so.18.0

0 memcpy (dst0=0x20a61e0aa, src0=Variable "src0" is not available.

) at /usr/src/lib/libc/string/bcopy.c:115 115 TLOOP1(--dst = --src);

File /usr/src/lib/libc/string/bcopy.c exists on system, you can get a copy here: http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/#dirlist

# ls -l /usr/src/lib/libc/string/bcopy.c
-rw-r--r--  1 root  wsrc  3830 Aug  8  2005 /usr/src/lib/libc/string/bcopy.c
alonho commented 12 years ago

could you invoke the 'bt' command so i'll get a full stack trace. all I can see here is that it crashed within memcopy. what version of openbsd are you using? i'll install one myself.

ghost commented 12 years ago

Here it is:

(gdb) bt

0 memcpy (dst0=0x20a61e0aa, src0=Variable "src0" is not available.

) at /usr/src/lib/libc/string/bcopy.c:115

1 0x00000002121deb6f in required_field_pack () from /usr/local/lib/libprotobuf-c.so.0.0

2 0x00000002121def2a in protobuf_c_message_pack () from /usr/local/lib/libprotobuf-c.so.0.0

3 0x00000002121de85a in required_field_pack () from /usr/local/lib/libprotobuf-c.so.0.0

4 0x00000002121df009 in protobuf_c_message_pack () from /usr/local/lib/libprotobuf-c.so.0.0

5 0x0000000211dd03a9 in record__pack ()

from /root/.python-eggs/pytrace-0.2.1-py2.7-openbsd-5.1-amd64.egg-tmp/pytrace/tracer.so

6 0x0000000211dcdc7e in handle_trace ()

from /root/.python-eggs/pytrace-0.2.1-py2.7-openbsd-5.1-amd64.egg-tmp/pytrace/tracer.so

7 0x0000000211dcde93 in handle_call ()

from /root/.python-eggs/pytrace-0.2.1-py2.7-openbsd-5.1-amd64.egg-tmp/pytrace/tracer.so

8 0x0000000211dcd758 in trace_func ()

from /root/.python-eggs/pytrace-0.2.1-py2.7-openbsd-5.1-amd64.egg-tmp/pytrace/tracer.so

9 0x00000002100ae2d6 in call_trace () from /usr/local/lib/libpython2.7.so.0.0

10 0x00000002100aeb54 in call_trace_protected () from /usr/local/lib/libpython2.7.so.0.0

11 0x00000002100af2a0 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

12 0x000000021003a099 in gen_send_ex () from /usr/local/lib/libpython2.7.so.0.0

13 0x00000002100afdee in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

14 0x000000021003a099 in gen_send_ex () from /usr/local/lib/libpython2.7.so.0.0

15 0x0000000210070ec5 in wrap_next () from /usr/local/lib/libpython2.7.so.0.0

16 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

17 0x00000002100b2515 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

18 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

19 0x0000000210044fa9 in function_call () from /usr/local/lib/libpython2.7.so.0.0

20 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

21 0x000000021002bd52 in instancemethod_call () from /usr/local/lib/libpython2.7.so.0.0

22 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

23 0x0000000210073f7e in call_method () from /usr/local/lib/libpython2.7.so.0.0

24 0x00000002100aa7ef in builtin_next () from /usr/local/lib/libpython2.7.so.0.0

25 0x00000002100b3dc9 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

26 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

27 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

28 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

29 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

30 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

31 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

32 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

33 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

34 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

35 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

36 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

37 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

38 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

39 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

40 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

41 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

42 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

43 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

44 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

45 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

46 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

47 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

48 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

49 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

50 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

51 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

52 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

53 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

54 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

55 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

56 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

57 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

58 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

59 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

60 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

61 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

62 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

63 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

64 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

65 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

66 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

67 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

68 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

69 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

70 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

71 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

72 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

73 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

74 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

75 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

76 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

77 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

78 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

79 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

80 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

81 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

82 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

83 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

84 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

85 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

86 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

87 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

88 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

89 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

90 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

91 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

92 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

93 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

94 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

95 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

96 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

97 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

98 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

99 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

100 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

101 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

102 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

103 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

104 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

105 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

106 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

107 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

108 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

109 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

110 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

111 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

112 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

113 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

114 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

115 0x000000021003a099 in gen_send_ex () from /usr/local/lib/libpython2.7.so.0.0

116 0x000000021004a1aa in listextend () from /usr/local/lib/libpython2.7.so.0.0

117 0x000000021001ec5a in PySequence_List () from /usr/local/lib/libpython2.7.so.0.0

118 0x000000021001ed09 in PySequence_Fast () from /usr/local/lib/libpython2.7.so.0.0

119 0x000000021008baf0 in PyUnicodeUCS2_Join () from /usr/local/lib/libpython2.7.so.0.0

120 0x00000002100b4f0f in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

121 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

122 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

123 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

124 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

125 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

126 0x0000000210044fa9 in function_call () from /usr/local/lib/libpython2.7.so.0.0

127 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

128 0x00000002100b1840 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

129 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

130 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

131 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

132 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

133 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

134 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

135 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

136 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

137 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

138 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

139 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

140 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

141 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

142 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

143 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

144 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

145 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

146 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

147 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

148 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

149 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

150 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

151 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

152 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

153 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

154 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

155 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

156 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

157 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

158 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

159 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

160 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

161 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

162 0x00000002100b40c8 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

163 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

164 0x0000000210044fa9 in function_call () from /usr/local/lib/libpython2.7.so.0.0

165 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

166 0x000000021002bd52 in instancemethod_call () from /usr/local/lib/libpython2.7.so.0.0

167 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

168 0x000000021002c9eb in instance_call () from /usr/local/lib/libpython2.7.so.0.0

169 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

170 0x00000002100b2515 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

171 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

172 0x0000000210044fa9 in function_call () from /usr/local/lib/libpython2.7.so.0.0

173 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

174 0x000000021002bd52 in instancemethod_call () from /usr/local/lib/libpython2.7.so.0.0

175 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

176 0x000000021002c9eb in instance_call () from /usr/local/lib/libpython2.7.so.0.0

177 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

178 0x00000002100b2515 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

179 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

180 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

181 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

182 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

183 0x00000002100b4566 in PyEval_EvalFrameEx () from /usr/local/lib/libpython2.7.so.0.0

184 0x00000002100b5b75 in PyEval_EvalCodeEx () from /usr/local/lib/libpython2.7.so.0.0

185 0x0000000210044fa9 in function_call () from /usr/local/lib/libpython2.7.so.0.0

186 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

187 0x000000021002bd52 in instancemethod_call () from /usr/local/lib/libpython2.7.so.0.0

188 0x000000021001d998 in PyObject_Call () from /usr/local/lib/libpython2.7.so.0.0

189 0x00000002100ae776 in PyEval_CallObjectWithKeywords () from /usr/local/lib/libpython2.7.so.0.0

190 0x00000002100e55c2 in t_bootstrap () from /usr/local/lib/libpython2.7.so.0.0

191 0x000000020c118a6d in _thread_start () at /usr/src/lib/libpthread/uthread/uthread_create.c:242

192 0x000000000000002b in ?? ()

193 0x00000000000004f8 in ?? ()

194 0x0000000202fe6050 in ?? ()

195 0x0000000202fe6450 in ?? ()

196 0x00000002086bf808 in ?? ()

197 0x0000000000000144 in ?? ()

198 0x00000002084c9c08 in ?? ()

199 0x0000000000000000 in ?? ()

(gdb)

ghost commented 12 years ago

Hi Alon,

I uploaded the core file here: http://173.254.22.21/python2.7.core.bz2 (about 5.5MB), you can debug it directly. It's generated on a testing machine, so there's no sensitive info at all.

I'm running OpenBSD 5.1 (amd64) in a VMware machine. Thanks for your help.