Closed defnull closed 14 years ago
can you detail ? I cannot reproduce it ;-(.
I've run it on fedora 64: " [wi@fedora-64 ~]$ rpm -q python
python-2.6.4-27.fc13.x86_64 [wi@fedora-64 ~]$ rpm -q libev
libev-3.90-1.fc13.x86_64 [wi@fedora-64 ~]$ uname -a
Linux fedora-64 2.6.33.3-85.fc13.x86_64 #1 SMP Thu May 6 18:09:49 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux [wi@fedora-64 ~]$ "
Could you provide the backtrace of gdb, this will point the line where the crash has happend. (gdb python; run test.py; bt)
Program received signal SIGSEGV, Segmentation fault.
python_handler (cli=0x8b37a0) at fapws/_evwsgi.c:620
warning: Source file is more recent than executable.
620 if (ret < 0) {
(gdb) bt
0 python_handler (cli=0x8b37a0) at fapws/_evwsgi.c:620
1 0x00007ffff67b8108 in write_cb (loop=0x7ffff67b2200, w=0x8b37a8, revents=2)
at fapws/_evwsgi.c:749
2 0x00007ffff65a8ea1 in ev_invoke_pending () from /usr/lib/libev.so.3
3 0x00007ffff65ad8dd in ev_loop () from /usr/lib/libev.so.3
4 0x00007ffff67b5eb0 in py_run_loop (self=<value optimized out>,
args=<value optimized out>) at fapws/_evwsgi.c:1135
5 0x00000000004a7c5e in PyEval_EvalFrameEx ()
6 0x00000000004a9671 in PyEval_EvalCodeEx ()
7 0x00000000004a9742 in PyEval_EvalCode ()
8 0x00000000004c9a0e in PyRun_FileExFlags ()
9 0x00000000004c9c24 in PyRun_SimpleFileExFlags ()
10 0x000000000041a7ff in Py_Main ()
11 0x00007ffff69d9c4d in __libc_start_main () from /lib/libc.so.6
12 0x00000000004199f9 in _start ()
edit: There seems to be an older fapws3 in the import path. One moment please. edit2: segfault was with fapws3-0.4.dev-py2.6-linux-x86_64.egg. 0.5 works.
Thanks for the edit. I close it now
Python version:
After downloading http://github.com/william-os4y/fapws3/raw/master/sample/iter/test.py