[issue6059] ctypes/uuid-related segmentation fault

2011-05-18 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Importing uuid before importing the other modules does not result in Seg Fault Alright. In that case, I'm closing this bug as invalid. Until distributions start shipping their glibc with this patch, the workaround is simply to

[issue6059] ctypes/uuid-related segmentation fault

2011-05-17 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: It's probably a libc buc, see http://sources.redhat.com/bugzilla/show_bug.cgi?id=12453 Basically, when libraries are dynamically loaded in an interleaved way, this can lead to TLS being returned uninitialized, hence leading to a

[issue6059] ctypes/uuid-related segmentation fault

2011-05-17 Thread Senthil Kumaran
Senthil Kumaran sent...@uthcode.com added the comment: neologix, that is right. Importing uuid before importing the other modules does not result in Seg Fault. Till the libc fix is available in Operating systems and as a result in CPython, this is probably the only way to go for. --

[issue6059] ctypes/uuid-related segmentation fault

2011-05-17 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: It's probably a libc bug The bug looks to be specific to the GNU libc. It exists in glibc-2.11.3 and glibc-2.12.2. I suppose that all versions of the GNU libc are affected. The bug has been fixed:

[issue6059] ctypes/uuid-related segmentation fault

2011-04-06 Thread atppp
atppp wuxi...@gmail.com added the comment: crash with python/2.6.5, imagemagick/6.5.7.8, uuid/2.17.2, ubuntu/10.04: import magickwand.image import uuid uuid.uuid4() -- nosy: +atppp ___ Python tracker rep...@bugs.python.org

[issue6059] ctypes/uuid-related segmentation fault

2011-03-04 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment: Steps to reproduce segmentation fault: python2.7 -c 'import cairo, uuid; print(uuid.uuid1().hex)' -- assignee: - theller components: +ctypes -Extension Modules nosy: +theller title: uuid.uuid4 cause segfault