Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when handling exceptions #1284

Closed
robertwb opened this issue Sep 10, 2011 · 4 comments
Closed

Segfault when handling exceptions #1284

robertwb opened this issue Sep 10, 2011 · 4 comments

Comments

@robertwb
Copy link
Contributor

Minimal example attached.

$ ./run
running build_ext
building 'mylib' extension
gcc -pthread -fno-strict-aliasing -g -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6_d -c mylib.c -o build/temp.linux-x86_64-2.6-pydebug/mylib.o
gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.6-pydebug/mylib.o -o /home/nikratio/misc/cython/mylib_d.so
[refs](27133)

GNU gdb (GDB) 7.3-debian
Reading symbols from /usr/bin/python-dbg...done.
(gdb) run
Starting program: /usr/bin/python-dbg ./runit.py

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6434104 in __pyx_pf_5mylib_run (__pyx_self=0x0, unused=0x0) at mylib.c:566
566       __Pyx_DECREF(__pyx_v_e);
(gdb) quit

At 2011-09-10T16:41:24Z @Nikratio added attachment mylib.pyx

At 2011-09-10T16:41:38Z @Nikratio added attachment setup.py

At 2011-09-10T16:41:54Z @Nikratio added attachment runit.py

At 2011-09-10T16:42:00Z @Nikratio added attachment run

Migrated from http://trac.cython.org/ticket/729

@robertwb
Copy link
Contributor Author

@Nikratio changed cc to nikratio
commented

@robertwb
Copy link
Contributor Author

@Nikratio commented

$ cython --version
Cython version 0.15

@robertwb
Copy link
Contributor Author

@vitek changed resolution to duplicate
status from new to closed
commented

@robertwb
Copy link
Contributor Author

robertwb commented Sep 11, 2011

@vitek commented

See http://trac.cython.org/ticket/725

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant