[ python-Bugs-1730372 ] Mesa with NPTL makes Python extensions crash with std::cerr
SourceForge.net
noreply at sourceforge.net
Mon Jun 4 00:17:12 CEST 2007
Bugs item #1730372, was opened at 2007-06-03 13:35
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1730372&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: None
Status: Open
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Gazi Alankus (alanic7)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mesa with NPTL makes Python extensions crash with std::cerr
Initial Comment:
When Mesa is built with NPTL support, Python extensions linked to libGL
segfault when std::cerr is used. Please see the following thread for
descriptions, details and sample programs:
http://thread.gmane.org/gmane.comp.python.c++/11443/focus=11470
----------------------------------------------------------------------
>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-06-03 15:17
Message:
Logged In: YES
user_id=33168
Originator: NO
I can't reproduce this error on head with Ubuntu Linux/amd64 gcc 4.1.2.
What are the platform details? OS, compiler, etc.
$ gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-I/usr/include -I/usr/local/include -I./Include -I. -c ../spam.cc -o
spam.o
$ gcc -pthread -shared spam.o -L/usr/lib64 -L/usr/local/lib
-Wl,-R/usr/lib64 -ldb-4.4 -o build/lib.linux-x86_64-2.6/spam.so -lstdc++
$ ./python
>>> import spam
>>> spam.system('ls')
this be cerr
big5.py __db.003 libpython2.6.a Objects
python-clean
build __db.004 LICENSE Parser
python-fast
config.log __db.005 log.0000000001 PC README
config.status Demo Mac PCbuild RISCOS
config.status.lineno Doc Makefile PCbuild8
setup.py
configure Grammar Makefile.pre pyconfig.h Tools
configure.in Include Makefile.pre.in pyconfig.h.in
__db.001 install-sh Misc python
__db.002 Lib Modules Python
0
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1730372&group_id=5470
More information about the Python-bugs-list
mailing list