Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#933 - egenix-mx-base segfaults

Attached to Project: Arch Linux
Opened by Eric Johnson (eric) - Monday, 24 May 2004, 16:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.6 Widget
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Importing the DateTime module from egenix-mx-base causes a segfault. Example:

# python
Python 2.3.3 (#1, Mar 19 2004, 17:45:04)
[GCC 3.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mx import DateTime
Segfault coredumped

After reading the egenix-users mailing list, it appears that this is a problem with compiler optimizations. As a fix, the optimization level can be disabled. I couldn't find a 'clean' pythonic way to disable it, so I hacked the setup files and am including a patch.
   egenix-mx-base-2.0.5.patch (0.7 KiB)
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Sunday, 25 July 2004, 07:36 GMT
Reason for closing:  Fixed
Comment by Damir Perisa (damir.perisa) - Thursday, 27 May 2004, 00:11 GMT
you use gcc 3.3.3? the egenix-mx-base is built against gcc 3.4.0 --- maybe it's this
Comment by Damir Perisa (damir.perisa) - Sunday, 25 July 2004, 07:33 GMT
i added the patch - thanx a lot

also the pkg is now called python-egenix-mx-base
Comment by Damir Perisa (damir.perisa) - Sunday, 25 July 2004, 07:36 GMT
[damir@Asteraceae python-egenix-mx-base]$ python
Python 2.3.4 (#2, May 27 2004, 17:42:19)
[GCC 3.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from mx import DateTime
>>>

:-)

Loading...