Tmda-filter crashes under Python 2.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tmda (Baltix) |
Invalid
|
Undecided
|
Unassigned | ||
tmda (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Running tmda-filter from .forward files under Ubuntu 7.10. Tmda-filter fails as described below when filtering any email message when python is linked to python2.5. It works fine when python is running under python2.4. I also tried installing the tmda software obtained from tmda.net using the source with the same results. Here is the error message from the bounced message. The syslog message is truncated so this one is more informative:
The mail system
<email address hidden>: Command died with signal 6: " /usr/bin/
output: *** glibc detected *** python: munmap_chunk(): invalid pointer:
0x0000000000
/lib/
python(
python(
python(
python(
python(
python(
python(
python(
python(
python(
python(
python(
python(
/lib/
======= Memory map: ======== 00400000-00521000 r-xp 00000000 03:06 1254266
/usr/
/usr/
[heap] 2af4d7284000-
/lib/ld-2.6.1.so 2af4d72a1000-
2af4d74a0000
/lib/ld-2.6.1.so 2af4d74a2000-
/lib/
423523 /lib/libpthread
2af4d76b7000
/lib/
0 2af4d76bd000-
/lib/
/lib/
/lib/
/lib/
/lib/
/lib/
/lib/
/lib/
/lib/
2af4d7d46000
/lib/
/lib/
/lib/
/lib/
2af4d80a2000
/usr/
00005000 03:06 1140199
/usr/
00004000 03:06 1140199
/usr/
00000000 03:06 1141703
/usr/
00004000 03:06 1141703
/usr/
00004000 03:06 1141703
/usr/
00000000 03:06 1140197
/usr/
00007000 03:06 1140197
/usr/
00007000 03:06 1140197
/usr/
00000000 03:06 1140189
It could be a bug in python2.5 or tmda code that needs adjusted to conform with python2.5... Unfortunately, I'm not really sure.
In further testing, I set up tmda-ofmipd to receive outgoing mail. It calls tmda-inject, which also fails when using python 2.5. I changed the first line in tmda-inject from /usr/bin/python to /usr/bin/python2.4 and it runs fine. Seems like tmda is not python 2.5 friendly.