Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

2009-11-27 Thread Paul Cockings

felipe szczesny rout wrote:


Hello,


   This segmentation fault happened after 10 days the daemon was working
fine.
   Dspam is running on a Debian virtual host in a Xen server. It´s using
kernel 2.6.18:  Linux xyz 2.6.18-xen #1 SMP



Hello Felipe,

(sorry if you posted this info before)
Can you post the full output of dspam --version

Is Debian 32bit or 64bit?  Is it Debian 5?  (forgive me as I know 
nothing about this distro)


Can you post main.cf / master.cf of postfix?  (*** your passwords)
Can you post dspam.conf? (*** your passwords)

Do you know of any other filtering before or after dspam?  ie any 
antivirus, maildrop etc?


We like to track down bugs ;-)

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

2009-11-27 Thread Steve

 Original-Nachricht 
 Datum: Fri, 27 Nov 2009 10:53:49 -0200
 Von: felipe szczesny rout felipe.r...@al.rs.gov.br
 An: dspam-user@lists.sourceforge.net
 Betreff: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

 Hello,
 
 
This segmentation fault happened after 10 days the daemon was working
 fine.
Dspam is running on a Debian virtual host in a Xen server. It´s using
 kernel 2.6.18:  Linux xyz 2.6.18-xen #1 SMP
 
 daemon.log has this:
 
 Nov 26 10:58:56 xyz kernel: dspam[1012]: segfault at 
 rip 2ac1286f0a23 rsp 4600a800 error 4
 
Do you have a core dump or a back trace of the crash?


 Dspam is being used with postfix, lmtp mode, mysql as database.
 
 At same time in mail.log there is a lot of log  entries like this:
 
 Nov 26 10:58:56 xyz postfix/error[932]: D3FB43C98E:
 to=a...@xyz.gov.br, relay=none, delay=2.6, delays=2.5/0.14/0/0.02,
 dsn=4.4.2, status=deferred (delivery temporarily suspended: lost
 connection with xyz.gov.br [/tmp/dspam.sock] while sending end of data
 -- message may be sent more than once) 

A lot? Because of the crash or do you get that repetitively?


 I really wish to solve this and will appreciate any help or tip.
 I'm trying to get e-mail being processed when the error occurred.
 
That would be great if you could do that. Can you send the message in question 
to this mailing list? Or if it is something you can't/want to share with the 
list then send it to me directly (if you can).

 
 
// Steve
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

2009-11-27 Thread Paul Cockings
Paul Cockings wrote:
 Felipe Szczesny Rout wrote:
 At this point I need to inform you that I appended a few lines in
 dspam.c code to add some strings in the end of e-mail.  
 That's the great thing about opensource - you can change and modify 
 how you wish.  I think we need to either confirm that your version 
 only has this one edit by building from source and then checksum each 
 file?  or maybe to install the unmodified source and see if it changes?
 I doubt this simple change has caused any problem, but you know that 
 we have to rule this out ;-)

 Do you have anything else running on box?  does the VM have enough 
 resources etc?  Anything else eating cpu time, disk IO?
 Would you be about to compress the VM up and let us one of the project 
 admins take a look?

 It sure would be good to re-pass that email through dspam over and 
 over and see if it crashes







--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

2009-11-27 Thread Steve

 Original-Nachricht 
 Datum: Fri, 27 Nov 2009 17:08:19 +
 Von: Paul Cockings ds...@cytringan.co.uk
 An: dspam-user@lists.sourceforge.net
 Betreff: Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

 Paul Cockings wrote:
  Felipe Szczesny Rout wrote:
  At this point I need to inform you that I appended a few lines in
  dspam.c code to add some strings in the end of e-mail.  
  That's the great thing about opensource - you can change and modify 
  how you wish.  I think we need to either confirm that your version 
  only has this one edit by building from source and then checksum each 
  file?  or maybe to install the unmodified source and see if it changes?
  I doubt this simple change has caused any problem, but you know that 
  we have to rule this out ;-)
 
What do you add to the end of the message? Is there any reason why you don't 
use msgtag.nonspam/msgtag.spam?


  Do you have anything else running on box?  does the VM have enough 
  resources etc?  Anything else eating cpu time, disk IO?
  Would you be about to compress the VM up and let us one of the project 
  admins take a look?
 
  It sure would be good to re-pass that email through dspam over and 
  over and see if it crashes
 
 
 
 
 
 
 
 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day 
 trial. Simplify your report design, integration and deployment - and focus
 on 
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Dspam-user mailing list
 Dspam-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspam-user

-- 
Endlich! Das Debüt-Album von Pop-Diva Sarah Kreuz ist da!   
   
Jetzt bei GMX Musik Downloads. http://portal.gmx.net/de/go/musik01

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user


Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

2009-11-27 Thread Steve

 Original-Nachricht 
 Datum: Fri, 27 Nov 2009 16:28:38 -0200
 Von: Felipe Szczesny Rout felipe.r...@al.rs.gov.br
 An: Steve stev...@gmx.net
 CC: dspam-user@lists.sourceforge.net
 Betreff: Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault

 Em Sex, 2009-11-27 às 18:26 +0100, Steve escreveu:
   Original-Nachricht 
   Datum: Fri, 27 Nov 2009 17:08:19 +
   Von: Paul Cockings ds...@cytringan.co.uk
   An: dspam-user@lists.sourceforge.net
   Betreff: Re: [Dspam-user] Dspam 3.9.0b4 Segmentation Fault
  
   Paul Cockings wrote:
Felipe Szczesny Rout wrote:
At this point I need to inform you that I appended a few lines in
dspam.c code to add some strings in the end of e-mail.  
That's the great thing about opensource - you can change and modify 
how you wish.  I think we need to either confirm that your version 
only has this one edit by building from source and then checksum
 each 
file?  or maybe to install the unmodified source and see if it
 changes?
I doubt this simple change has caused any problem, but you know that
we have to rule this out ;-)
   
  What do you add to the end of the message? Is there any reason why you
 don't use msgtag.nonspam/msgtag.spam?
 
 :-(
 
 Oh, I just dind't notice this option until now. How stupid I was. My
 hope was this could be something new in 3.9.0 but a search in google
 show me that is an old feature. I'm really shamed.
 
You should read the documentation! It's a shame we don't have a 
ultra-giga-super-duper documentation but that what we have is still not read by 
the DSPAM users. That is a even bigger shame :)


 Well, at a first sight seems to me there is no reason don't use it.
 
Okay.


 Ok, first thing to do now is to use the original code and wait some time
 to see it's behavior.
 
If you can then check out from GIT. BETA4 is okay but we have fixed some stuff 
in the mean time and since you are anyway testing then why not go ahead and 
checkout from GIT?


 Sorry to make you waste your time.
 
You own me a coffee drink should I ever see you :)


// Steve

 
 
  
  
Do you have anything else running on box?  does the VM have enough 
resources etc?  Anything else eating cpu time, disk IO?
Would you be about to compress the VM up and let us one of the
 project 
admins take a look?
   
It sure would be good to re-pass that email through dspam over and 
over and see if it crashes
   
   
   
   
   
   
   
  
 --
   Let Crystal Reports handle the reporting - Free Crystal Reports 2008
   30-Day 
   trial. Simplify your report design, integration and deployment - and
 focus
   on 
   what you do best, core application coding. Discover what's new with
   Crystal Reports now.  http://p.sf.net/sfu/bobj-july
  
   Dspam-user mailing list
   Dspam-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/dspam-user
  

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user