bugSpamAssassin Milter Plugin - Bugs: bug #4640, milter issues NULL context in...

 
 

bug #4640: milter issues NULL context in mlfi_close, stops talking to sendmail

Submitted by:  None
Submitted on:  Tue 05 Aug 2003 10:13:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: Dan Nelson <dnelson>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 24 Nov 2005 03:58:14 AM UTC, comment #2:

<a href='http://mamba.dynu.net/puzan/free-non-nude-pics-of-mature-women.html'> http://mamba.dynu.net/puzan/free-non-nude-pics-of-mature-women.html - free non nude pics of mature women </a> http://mamba.dynu.net/puzan/free-non-nude-pics-of-mature-women.html
<a href='http://pivasik.dynu.net/masterzone/asian-mature-pussy.html'> http://pivasik.dynu.net/masterzone/asian-mature-pussy.html - asian mature pussy </a> http://pivasik.dynu.net/masterzone/asian-mature-pussy.html
<a href='http://pivasik.dynu.net/kozel/bodystocking-models-with-huge-tits.html'> http://pivasik.dynu.net/kozel/bodystocking-models-with-huge-tits.html - bodystocking models with huge tits </a> http://pivasik.dynu.net/kozel/bodystocking-models-with-huge-tits.html
<a href='http://wvvw.dynu.net/green/free-gay-male-cumshots.html'> http://wvvw.dynu.net/green/free-gay-male-cumshots.html - free gay male cumshots </a> http://wvvw.dynu.net/green/free-gay-male-cumshots.html
<a href='http://mamba.dynu.net/puzan/mature-non-nude-tight-clothes.html'> http://mamba.dynu.net/puzan/mature-non-nude-tight-clothes.html - mature non nude tight clothes </a> http://mamba.dynu.net/puzan/mature-non-nude-tight-clothes.html
<a href='http://pivasik.dynu.net/green/ass-to-mouth-cumshots.html'> http://pivasik.dynu.net/green/ass-to-mouth-cumshots.html - ass to mouth cumshots </a> http://pivasik.dynu.net/green/ass-to-mouth-cumshots.html
<a href='http://pivasik.dynu.net/masterzone/asian-reality-porn.html'> http://pivasik.dynu.net/masterzone/asian-reality-porn.html - asian reality porn </a> http://pivasik.dynu.net/masterzone/asian-reality-porn.html
<a href='http://pivasik.dynu.net/door/fat-girl-photo.html'> http://pivasik.dynu.net/door/fat-girl-photo.html - fat girl photo </a> http://pivasik.dynu.net/door/fat-girl-photo.html
<a href='http://wvvw.dynu.net/puzan/50-year-old-birthday.html'> http://wvvw.dynu.net/puzan/50-year-old-birthday.html - 50 year old birthday </a> http://wvvw.dynu.net/puzan/50-year-old-birthday.html
<a href='http://mamba.dynu.net/door/bbw-pages.html'> http://mamba.dynu.net/door/bbw-pages.html - bbw pages </a> http://mamba.dynu.net/door/bbw-pages.html
<a href='http://wvvw.dynu.net/kozel/Teens-With-Big-Tits-Picture.html'> http://wvvw.dynu.net/kozel/Teens-With-Big-Tits-Picture.html - Teens With Big Tits Picture </a> http://wvvw.dynu.net/kozel/Teens-With-Big-Tits-Picture.html
<a href='http://mamba.dynu.net/vatnik/asia-ladyboy.html'> http://mamba.dynu.net/vatnik/asia-ladyboy.html - asia ladyboy </a> http://mamba.dynu.net/vatnik/asia-ladyboy.html
<a href='http://wvvw.dynu.net/vatnik/tranny-cum-shot.html'> http://wvvw.dynu.net/vatnik/tranny-cum-shot.html - tranny cum shot </a> http://wvvw.dynu.net/vatnik/tranny-cum-shot.html
<a href='http://mamba.dynu.net/masterzone/traditional-japanese-music.html'> http://mamba.dynu.net/masterzone/traditional-japanese-music.html - traditional japanese music </a> http://mamba.dynu.net/masterzone/traditional-japanese-music.html
<a href='http://pivasik.dynu.net/masterzone/japanese-knives.html'> http://pivasik.dynu.net/masterzone/japanese-knives.html - japanese knives </a> http://pivasik.dynu.net/masterzone/japanese-knives.html
<a href='http://pivasik.dynu.net/vatnik/black-tranny-gallery.html'> http://pivasik.dynu.net/vatnik/black-tranny-gallery.html - black tranny gallery </a> http://pivasik.dynu.net/vatnik/black-tranny-gallery.html
<a href='http://wvvw.dynu.net/vatnik/free-pics-shemales.html'> http://wvvw.dynu.net/vatnik/free-pics-shemales.html - free pics shemales </a> http://wvvw.dynu.net/vatnik/free-pics-shemales.html
<a href='http://wvvw.dynu.net/door/ass-black-fat-free-pic.html'> http://wvvw.dynu.net/door/ass-black-fat-free-pic.html - ass black fat free pic </a> http://wvvw.dynu.net/door/ass-black-fat-free-pic.html
<a href='http://wvvw.dynu.net/green/brunette-blowjobs.html'> http://wvvw.dynu.net/green/brunette-blowjobs.html - brunette blowjobs </a> http://wvvw.dynu.net/green/brunette-blowjobs.html
<a href='http://pivasik.dynu.net//thumbnail-dogfart-movies.html'> http://pivasik.dynu.net//thumbnail-dogfart-movies.html - thumbnail dogfart movies </a> http://pivasik.dynu.net//thumbnail-dogfart-movies.html
<a href='http://wvvw.dynu.net/green/'> http://wvvw.dynu.net/green/ - green </a> http://wvvw.dynu.net/green/
<a href='http://wvvw.dynu.net/puzan/successful-pregnancy-for-40-year-olds.html'> http://wvvw.dynu.net/puzan/successful-pregnancy-for-40-year-olds.html - successful pregnancy for 40 year olds </a> http://wvvw.dynu.net/puzan/successful-pregnancy-for-40-year-olds.html
<a href='http://pivasik.dynu.net/vatnik/fuctional-fully-tgirls.html'> http://pivasik.dynu.net/vatnik/fuctional-fully-tgirls.html - fuctional fully tgirls </a> http://pivasik.dynu.net/vatnik/fuctional-fully-tgirls.html
<a href='http://pivasik.dynu.net/masterzone/vomit-sex-space-japanese.html'> http://pivasik.dynu.net/masterzone/vomit-sex-space-japanese.html - vomit sex space japanese </a> http://pivasik.dynu.net/masterzone/vomit-sex-space-japanese.html
<a href='http://pivasik.dynu.net/vatnik/endocrinologist-transexual.html'> http://pivasik.dynu.net/vatnik/endocrinologist-transexual.html - endocrinologist transexual </a> http://pivasik.dynu.net/vatnik/endocrinologist-transexual.html
<a href='http://wvvw.dynu.net/puzan/free-granny-galleries.html'> http://wvvw.dynu.net/puzan/free-granny-galleries.html - free granny galleries </a> http://wvvw.dynu.net/puzan/free-granny-galleries.html
<a href='http://pivasik.dynu.net/kozel/boobs-and-pussy.html'> http://pivasik.dynu.net/kozel/boobs-and-pussy.html - boobs and pussy </a> http://pivasik.dynu.net/kozel/boobs-and-pussy.html
<a href='http://mamba.dynu.net/masterzone/sex-and-japanese-history.html'> http://mamba.dynu.net/masterzone/sex-and-japanese-history.html - sex and japanese history </a> http://mamba.dynu.net/masterzone/sex-and-japanese-history.html
<a href='http://wvvw.dynu.net/masterzone/japanese-sex-words.html'> http://wvvw.dynu.net/masterzone/japanese-sex-words.html - japanese sex words </a> http://wvvw.dynu.net/masterzone/japanese-sex-words.html
<a href='http://pivasik.dynu.net/vatnik/transgendered-teen.html'> http://pivasik.dynu.net/vatnik/transgendered-teen.html - transgendered teen </a> http://pivasik.dynu.net/vatnik/transgendered-teen.html
<a href='http://pivasik.dynu.net/kozel/small-boobs.html'> http://pivasik.dynu.net/kozel/small-boobs.html - small boobs </a> http://pivasik.dynu.net/kozel/small-boobs.html
WBR hEkZvKOnoLrdRVMXl

Anonymous
Tue 05 Aug 2003 10:29:08 PM UTC, comment #1:

It definitely should not happen, at least according to the sendmail API documentation. mlfi_close should only be called once per connection, and since mlfi_connect sets the context variable at the beginning of a connection, it should never be NULL at close. I wonder what happens if a client opens a connection to sendmail and immediately closes it; if mlfi_connect takes a while to return, mlfi_close might get called on another thread.. I'll have to see if this is possible.

Could you try running with the "-d func,misc" commandline switch? With the amount of messages you're processing logging might be too verbose to determine what's wrong though. If you have valgrind you can try running it under that (make sure you don't run the milter with -f, so you can see any valgrind messages); it shouldn't cause much of a performance hit.

Dan Nelson <dnelson>
Project AdministratorIn charge of this item.
Tue 05 Aug 2003 10:13:04 PM UTC, original submission:

Log has loads of "NULL context in mlfi_close! Should not happen!" milter stops taking requests from sendmail. Can't be sure the two are related but something is very wrong.

Milter runs for 3-10 minutes depending on load then
locks. This appears to be a "timing" issue. The test machine receives about 20-30 messages per minute. Running on Gentoo 1_4 with 2.4.20 kernel, sendmail 8.12.9, AMD Athalon-XP 2000, 512 M RAM, ONLY one milter in the .mc file

The higher the load the shorter amount it runs.

-unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Tue 05 Aug 2003 10:29:08 PM UTCdnelsonAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup