[issue15637] Segfault reading null VMA (works fine in python 2.x)

2012-08-13 Thread Alberto Milone

New submission from Alberto Milone:

The attached test case works fine in Python 2.7 but causes Pyhton 3.2 to 
segfault.

--
components: ctypes
files: randr_test
messages: 168087
nosy: albertomilone
priority: normal
severity: normal
status: open
title: Segfault reading null VMA (works fine in python 2.x)
type: crash
versions: Python 3.2
Added file: http://bugs.python.org/file26782/randr_test

___
Python tracker 
<http://bugs.python.org/issue15637>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15637] Segfault reading null VMA (works fine in python 2.x)

2012-08-13 Thread Alberto Milone

Alberto Milone added the comment:

it should just be possible to retrieve major and minor which we pass by 
reference to XRRQueryVersion. Without this pretty much any other call fails.

Also, it works without problems with python 2.7.

--
versions:  -Python 3.3

___
Python tracker 
<http://bugs.python.org/issue15637>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15637] Segfault reading null VMA (works fine in python 2.x)

2012-08-21 Thread Alberto Milone

Alberto Milone added the comment:

I can confirm that the suggested changes solve the problem here. Thanks 
everyone!

--
resolution:  -> invalid

___
Python tracker 
<http://bugs.python.org/issue15637>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com