[Bug 1026224] Re: Union within structure causes segfault

2012-07-18 Thread Zhengxiong Zhang
For reference, I tried this on 64-bit Natty and 32-bit Precise, both of which succeeded. The Python 3.2 interpreter also suffers from this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1026224

[Bug 1026224] [NEW] Union within structure causes segfault

2012-07-18 Thread Zhengxiong Zhang
Public bug reported: The following C program and python script result in a segmentation fault of the Python interpreter. C program: typedef struct AVS_Value AVS_Value; struct AVS_Value { short type; short array_size; union { void* clip; lon

[Bug 1026227] Re: Union within structure causes segfault

2012-07-18 Thread Zhengxiong Zhang
For reference, I tried this on 64-bit Natty and 32-bit Precise, both of which succeeded. The Python 2.7 interpreter also suffers from this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1026227

[Bug 1026227] [NEW] Union within structure causes segfault

2012-07-18 Thread Zhengxiong Zhang
Public bug reported: The following C program and python script result in a segmentation fault of the Python interpreter. C program: typedef struct AVS_Value AVS_Value; struct AVS_Value { short type; short array_size; union { void* clip; long boolean; int integer; float floating; con