Re: sa-compile Error invalid pointer

2018-09-28 Thread Daniele Duca

Hi,

it may be worth to run a memtest on your system.

Daniele


On 28/09/2018 12:25, Ronny Wagner wrote:

Hello Community,

since few days i have a problem with spamassassin.
I can't start the service, i found out, when i delete some channels in directory 
"/var/lib/spamassassin/3.004001" the service come up.

I download a test channel (/usr/bin/sa-update --nogpg --channel 
spamassassin.heinlein-support.de)  and use /usr/bin/sa-compile, i see a fail 
message.

Do anyone know why?

Thank you for your help.


spamassassin:
   Installed: 3.4.1-6+deb9u1

perl:
   Installed: 5.24.1-3+deb9u4

libc6:
   Installed: 2.24-11+deb9u3

Debian 4.9.0-5-686-pae

Fail Message:
Sep 28 12:18:13.654 [30438] info: generic: base extraction starting. this can 
take a while...
Sep 28 12:18:13.654 [30438] info: generic: extracting from rules of type body_0
*** Error in `/usr/bin/perl': free(): invalid pointer: 0xb508 ***
=== Backtrace: =
/lib/i386-linux-gnu/libc.so.6(+0x6738a)[0xb757538a]
/lib/i386-linux-gnu/libc.so.6(+0x6dfc7)[0xb757bfc7]
/lib/i386-linux-gnu/libc.so.6(+0x6e806)[0xb757c806]
/usr/bin/perl(Perl_safesysfree+0x20)[0x550cf0]
/usr/bin/perl(Perl_sv_clear+0x664)[0x57d314]
/usr/bin/perl(Perl_sv_free2+0x61)[0x57d6c1]
/usr/bin/perl(+0x56799)[0x505799]
/usr/bin/perl(Perl_yylex+0x2798)[0x5094e8]
/usr/bin/perl(Perl_yyparse+0x5e4)[0x51be04]
/usr/bin/perl(+0x104cad)[0x5b3cad]
/usr/bin/perl(Perl_pp_entereval+0x3c8)[0x5bdca8]
/usr/bin/perl(Perl_runops_standard+0x17)[0x56ff67]
/usr/bin/perl(perl_run+0x33f)[0x4f37ff]
/usr/bin/perl(main+0x15e)[0x4cbb7e]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xb7526286]
/usr/bin/perl(+0x1cbc1)[0x4cbbc1]
=== Memory map: 
004af000-006cf000 r-xp  ca:02 467067 /usr/bin/perl
006cf000-006d2000 r--p 0021f000 ca:02 467067 /usr/bin/perl
006d2000-006d4000 rw-p 00222000 ca:02 467067 /usr/bin/perl
00831000-03224000 rw-p  00:00 0  [heap]
b470c000-b4e98000 rw-p  00:00 0
b500-b5001000 rw-p  00:00 0
b530-b5321000 rw-p  00:00 0
b5321000-b540 ---p  00:00 0
b54a2000-b5aac000 rw-p  00:00 0
b5aac000-b61d3000 rw-p  00:00 0
b61d7000-b65da000 r-xp  ca:02 82500  
/var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
b65da000-b65db000 r--p 00402000 ca:02 82500  
/var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
b65db000-b65dc000 rw-p 00403000 ca:02 82500  
/var/lib/spamassassin/compiled/5.024/3.004001/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so
b65dc000-b6898000 r-xp  ca:02 98396  
/usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0
b6898000-b689c000 r--p 002bb000 ca:02 98396  
/usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0
b689c000-b6912000 rw-p 002bf000 ca:02 98396  
/usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0
b6912000-b6915000 rw-p  00:00 0
b6915000-b6a47000 rw-p  00:00 0
b6a4d000-b6a91000 rw-p  00:00 0
b6a93000-b6ab2000 r-xp  ca:02 1082478
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so
b6ab2000-b6ab3000 r--p 0001e000 ca:02 1082478
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so
b6ab3000-b6ab4000 rw-p 0001f000 ca:02 1082478
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/Compress/Raw/Zlib/Zlib.so
b6ab4000-b6ad2000 r-xp  ca:02 1082480
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so
b6ad2000-b6ad4000 r--p 0001d000 ca:02 1082480
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so
b6ad4000-b6ad5000 rw-p 0001f000 ca:02 1082480
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBD/mysql/mysql.so
b6ad5000-b6ad7000 rw-p  00:00 0
b6adb000-b6ae r-xp  ca:02 221477 
/usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so
b6ae-b6ae1000 r--p 4000 ca:02 221477 
/usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so
b6ae1000-b6ae2000 rw-p 5000 ca:02 221477 
/usr/lib/i386-linux-gnu/perl5/5.24/auto/Term/ReadKey/ReadKey.so
b6ae2000-b6ae9000 r-xp  ca:02 215116 
/usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so
b6ae9000-b6aea000 r--p 6000 ca:02 215116 
/usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so
b6aea000-b6aeb000 rw-p 7000 ca:02 215116 
/usr/lib/i386-linux-gnu/perl/5.24.1/auto/SDBM_File/SDBM_File.so
b6aeb000-b6b0e000 r-xp  ca:02 1082485
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so
b6b0e000-b6b0f000 r--p 00022000 ca:02 1082485
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so
b6b0f000-b6b1 rw-p 00023000 ca:02 1082485
/usr/local/lib/i386-linux-gnu/perl/5.24.1/auto/DBI/DBI.so
b6b1-b6b29000 r-xp  ca:02 98533  
/lib/i386-linux-gnu/libz.so.1.2.8
b6b29000-b6b2a000 r--p 00018000 ca:02 98533  
/lib/i386-linux-gnu/libz.so.1.2.8

Re: sa-compile Error invalid pointer

2018-09-28 Thread Kevin A. McGrail
On 9/28/2018 6:25 AM, Ronny Wagner wrote:
> Hello Community,
>
> since few days i have a problem with spamassassin.
> I can't start the service, i found out, when i delete some channels in 
> directory "/var/lib/spamassassin/3.004001" the service come up.
>
> I download a test channel (/usr/bin/sa-update --nogpg --channel 
> spamassassin.heinlein-support.de)  and use /usr/bin/sa-compile, i see a fail 
> message.
>
> Do anyone know why?
>
Does the channel you downloaded pass lint?  spamassassin --lint ?


Re: sa-compile error centos 7

2017-08-25 Thread Ricky Gutierrez
2017-08-25 10:08 GMT-06:00 Randal, Phil :
> I've seen this, caused by a CPAN install which leaves stuff like this in 
> .bashrc:
>
> export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5";
> export PERL_MB_OPT="--install_base /root/perl5"; export 
> PERL_MM_OPT="INSTALL_BASE=/root/perl5";
> export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB";
> export PATH="/root/perl5/bin:$PATH";
>
> Workaround:
>
> PERL_MM_OPT=''   sa-compile
>
> Cheers,
>
> Phil
>

work perfect , thank





-- 
rickygm

http://gnuforever.homelinux.com


RE: sa-compile error centos 7

2017-08-25 Thread Randal, Phil
I've seen this, caused by a CPAN install which leaves stuff like this in 
.bashrc:

export PERL_LOCAL_LIB_ROOT="$PERL_LOCAL_LIB_ROOT:/root/perl5";
export PERL_MB_OPT="--install_base /root/perl5"; export 
PERL_MM_OPT="INSTALL_BASE=/root/perl5";
export PERL5LIB="/root/perl5/lib/perl5:$PERL5LIB";
export PATH="/root/perl5/bin:$PATH";

Workaround:

PERL_MM_OPT=''   sa-compile

Cheers,

Phil

-Original Message-
From: Ricky Gutierrez [mailto:xserverli...@gmail.com]
Sent: 24 August 2017 23:47
To: users@spamassassin.apache.org
Subject: sa-compile error centos 7

hi list , I have some problems compiling spamassassin 3.4.1

[root@scm ~]# sa-compile

Aug 24 22:30:40.694 [4709] info: generic: base extraction starting.
this can take a while...
Aug 24 22:30:40.695 [4709] info: generic: extracting from rules of type body_0 
100% 
[==]
15514.37 rules/sec 00m00s DONE
100% 
[==]
390.86 bases/sec 00m06s DONE
Aug 24 22:30:47.535 [4709] info: body_0: 1428 base strings extracted in 7 
seconds cd /tmp/.spamassassin4709y71OgLtmp reading bases_body_0.in cd 
Mail-SpamAssassin-CompiledRegexps-body_0
re2c -i -b -o scanner1.c scanner1.re
re2c -i -b -o scanner2.c scanner2.re
re2c -i -b -o scanner3.c scanner3.re
re2c -i -b -o scanner4.c scanner4.re
re2c -i -b -o scanner5.c scanner5.re
re2c -i -b -o scanner6.c scanner6.re
re2c -i -b -o scanner7.c scanner7.re
re2c -i -b -o scanner8.c scanner8.re
/usr/bin/perl Makefile.PL
PREFIX=/tmp/.spamassassin4709y71OgLtmp/ignored
INSTALLSITEARCH=/var/lib/spamassassin/compiled/5.016/3.004001
Only one of PREFIX or INSTALL_BASE can be given.  Not both.
command failed: exit 25

spamassassin-3.4.1-14.el7.centos.x86_64

any help?


--
rickygm

http://gnuforever.homelinux.com
Hoople Ltd, Registered in England and Wales No. 7556595
Registered office: Plough Lane, Hereford, HR4 0LE

"Any opinion expressed in this e-mail or any attached files are those of the 
individual and not necessarily those of Hoople Ltd. You should be aware that 
Hoople Ltd. monitors its email service. This e-mail and any attached files are 
confidential and intended solely for the use of the addressee. This 
communication may contain material protected by law from being passed on. If 
you are not the intended recipient and have received this e-mail in error, you 
are advised that any use, dissemination, forwarding, printing or copying of 
this e-mail is strictly prohibited. If you have received this e-mail in error 
please contact the sender immediately and destroy all copies of it."


Re: sa-compile error centos 7

2017-08-24 Thread John Hardin

On Thu, 24 Aug 2017, Ricky Gutierrez wrote:


spamassassin-3.4.1-14.el7.centos.x86_64


Where did you get that?

The official Centos 7 version (as far as I can tell) is 3.4.0-2 and the 
latest available via FC is 3.4.1-12 from FC26.


I don't have a RedHat account, but I expect Centos would pretty quickly 
release any updated version from RedHat...


Is that a roll-your-own? Or am I missing something official?


--
 John Hardin KA7OHZhttp://www.impsec.org/~jhardin/
 jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
---
  Usually Microsoft doesn't develop products, we buy products.
  -- Arno Edelmann, Microsoft product manager
---
 Today: the 1938th anniversary of the destruction of Pompeii


Re: sa-compile error codes [solved - but bug]

2011-11-19 Thread Noel Butler
On Sun, 2011-11-20 at 13:37 +1000, Noel Butler wrote:

 Hi,
 Does anyone have a list of the error codes?
 running normally for years called from cron bash script, I am moving
 it to cron perl script (for lots of reasons and other things), run
 from console it works, but run from cron it fails, exits with 256
 (assumed exit code 1 ), tried backticks and system calls to it, always
 with full path, only way it runs is from shell, is there something in
 that hidden that runs from an assumed path that its not going to get
 from cron?
 
 cheers
 

Replying to ones self is not good... or maybe I ought to have had that
cupa tea break earlier...

sa-compile assumes   qx(re2c 

this does not consider alternative locations, such as those who install
re2c from source to default location, being  /usr/local/bin
put the path in there and it runs fine...



signature.asc
Description: This is a digitally signed message part


Re: sa-compile error

2010-11-12 Thread Michael Scheidell

On 11/12/10 5:38 PM, fchan wrote:
I was trying to do sa-compile  -D on my system and I got this error 
message: \

first, tell us:
1) version of SA
2) version of re2c
3) what rules, other than stock SA rules do you have
4) what local rules, changes, edits do you have?
5) what operating system, i386/amdf64?
6) did you check to make sure you have the latestest SA and re2c?



--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300
*| *SECNAP Network Security Corporation

   * Certified SNORT Integrator
   * 2008-9 Hot Company Award Winner, World Executive Alliance
   * Five-Star Partner Program 2009, VARBusiness
   * Best in Email Security,2010: Network Products Guide
   * King of Spam Filters, SC Magazine 2008

__
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
__  


Re: sa-compile error

2010-11-12 Thread fchan

On 11/12/10 5:38 PM, fchan wrote:
I was trying to do sa-compile  -D on my system and I got this error 
message: \

first, tell us:
1) version of SA
2) version of re2c
3) what rules, other than stock SA rules do you have
4) what local rules, changes, edits do you have?
5) what operating system, i386/amdf64?
6) did you check to make sure you have the latestest SA and re2c?



--
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300

*| *SECNAP Network Security Corporation


   * Certified SNORT Integrator
   * 2008-9 Hot Company Award Winner, World Executive Alliance
   * Five-Star Partner Program 2009, VARBusiness
   * Best in Email Security,2010: Network Products Guide
   * King of Spam Filters, SC Magazine 2008

__
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see 
http://www.secnap.com/products/spammertrap/

__



1) SpamAssassin version 3.3.1
2) re2c 0.12.3
3) Very large local.cf ruleset since we are biological research 
company thus the large local.cf

4) This is what I just added:

 body PHARM_PHISH_222          
/     /i

 score PHARM_PHISH_222         90.0
 describe PHARM_PHISH_222      
With       and 
phish link 222


5) Red Hat Linux  2.6.18-194.8.1.el5xen
6) SA up to date however re2c needs updating.

I removed the above ruleset and now sa-compile correctly. This rule 
had Cyrillic characters which appears to have choked sa-compile./re2c 
from some reason. I have added Cyrillic characters before but this 
first time I got this error from this.
It is strange that Cyrillic characters (at least what I can read) 
could do this.


Thank you,
Frank


Re: sa-compile error

2010-11-12 Thread Jason Bertoch

On 11/12/2010 6:05 PM, fchan wrote:

2) re2c 0.12.3


I can't say I even recall using re2c 0.12.x, but I do remember several 
bugs in 0.13.x prior to the current 0.13.5.  Is upgrading an option?  
0.13.5 has been stable for over 2 years and works great here.


--
/Jason



Re: Sa-compile error

2007-10-16 Thread Justin Mason

=?ISO-8859-1?Q?Luis_Hern=E1n_Otegui?= writes:
 Hi, everybody, sa-compile was running allright in my systems, and the
 saturday it began to spit out this output (from sa-compile -D):

there are a number of bugs in sa-compile that are fixed in SVN
trunk-- please apply the patches from
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5493
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5556
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5594
and that should go away.

Hopefully we can get a 3.2.4 release out eventually to fix these...

--j.


Re: sa-compile error

2007-06-11 Thread diptanjan

Hi Guys..

Solved the problem..

After rpm installation failed, I tried installing it from 
re2c-0.12.1.tar.gz and it worked.

Thank you Steve for suggesting

Diptanjan



diptanjan wrote:
 
 diptanjan wrote:
 Hi Friends,
 
 I am getting an error when ever I am usinf sa-compile. can you please
 checkout and tell me the reason behind it?
 
 # sa-compile
 [4846] info: generic: base extraction starting. this can take a while...
 [4846] info: generic: extracting from rules of type body_0
 100% [===]  39.01
 rules/sec
 00m11s DONE
 100% [===] 100.14
 bases/sec
 00m10s DONE
 [4846] info: body_0: 683 base strings extracted in 23 seconds
 [4846] info: rules: meta test HS_PHARMA_1 has dependency
 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
 cd /tmp/.spamassassin4846ilcSlDtmp
 cd Mail-SpamAssassin-CompiledRegexps-body_0
 re2c -i -b -o scanner1.c scanner1.re
 Can't exec re2c: No such file or directory at /usr/bin/sa-compile line
 274, $fh line 985.
 command failed! at /usr/bin/sa-compile line 275, $fh line 985.
 
 
 You need to install re2c
 
 http://re2c.org/
 
  Steve
 
 - --
 
 I have already downloaded the rpm 
 
 re2c-0.12.1-1.src.rpm from the site and tried.. but it didnt work...
 
 while installing from rpm its also giving error 
 
 warning : user marcos does not exist. using root..
 
 Diptanjan
 
  
 

-- 
View this message in context: 
http://www.nabble.com/sa-compile-error-tf3889183.html#a11059578
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.



Re: sa-compile error

2007-06-08 Thread Steven Stern
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

diptanjan wrote:
 Hi Friends,
 
 I am getting an error when ever I am usinf sa-compile. can you please
 checkout and tell me the reason behind it?
 
 # sa-compile
 [4846] info: generic: base extraction starting. this can take a while...
 [4846] info: generic: extracting from rules of type body_0
 100% [===]  39.01 rules/sec
 00m11s DONE
 100% [===] 100.14 bases/sec
 00m10s DONE
 [4846] info: body_0: 683 base strings extracted in 23 seconds
 [4846] info: rules: meta test HS_PHARMA_1 has dependency
 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
 cd /tmp/.spamassassin4846ilcSlDtmp
 cd Mail-SpamAssassin-CompiledRegexps-body_0
 re2c -i -b -o scanner1.c scanner1.re
 Can't exec re2c: No such file or directory at /usr/bin/sa-compile line
 274, $fh line 985.
 command failed! at /usr/bin/sa-compile line 275, $fh line 985.
 

You need to install re2c

http://re2c.org/

- --

  Steve
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGaT0DeERILVgMyvARAhlyAJ98qUtbGMDlTT1Jn9SZIECfsJdz7wCfSUkR
8gzVwOYOytU4pzXakEZyfqI=
=RLw/
-END PGP SIGNATURE-


Re: sa-compile error

2007-06-08 Thread diptanjan

diptanjan wrote:
 Hi Friends,
 
 I am getting an error when ever I am usinf sa-compile. can you please
 checkout and tell me the reason behind it?
 
 # sa-compile
 [4846] info: generic: base extraction starting. this can take a while...
 [4846] info: generic: extracting from rules of type body_0
 100% [===]  39.01
 rules/sec
 00m11s DONE
 100% [===] 100.14
 bases/sec
 00m10s DONE
 [4846] info: body_0: 683 base strings extracted in 23 seconds
 [4846] info: rules: meta test HS_PHARMA_1 has dependency
 'HS_SUBJ_ONLINE_PHARMACEUTICAL' with a zero score
 cd /tmp/.spamassassin4846ilcSlDtmp
 cd Mail-SpamAssassin-CompiledRegexps-body_0
 re2c -i -b -o scanner1.c scanner1.re
 Can't exec re2c: No such file or directory at /usr/bin/sa-compile line
 274, $fh line 985.
 command failed! at /usr/bin/sa-compile line 275, $fh line 985.
 

You need to install re2c

http://re2c.org/

 Steve

- --

I have already downloaded the rpm 

re2c-0.12.1-1.src.rpm from the site and tried.. but it didnt work...

while installing from rpm its also giving error 

warning : user marcos does not exist. using root..

Diptanjan

 
-- 
View this message in context: 
http://www.nabble.com/sa-compile-error-tf3889183.html#a11024925
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.



Re: sa-compile error

2007-05-16 Thread Daryl C. W. O'Shea

Steven Stern wrote:
I've set up sa-compile successfully on two of our three servers. The 
third gives this error:


Insecure dependency in mkdir while running with -T switch at 
/usr/bin/sa-compile line 321, $fh line 1.


Googling around, there are references to editing a perl .pm file, but 
this error points to the sa-compile source itself.  How do I fix this?


Please open a bug at http://issues.apache.org/SpamAssassin/ and be sure 
to include the command line parameters that trigger this.


Thanks,

Daryl




Re: SA-Compile Error

2007-05-06 Thread Justin Mason

check the FAQ

--[ UxBoD ]-- writes:
 Hi,
 
 I have just run sa-compile against my rules which ran through okay.
 Though when I perform a lint now I get the following error :-
 
 /usr/bin/perl: symbol lookup
 error: 
 /var/lib/spamassassin/compiled/3.002000/auto/Mail/SpamAssassin/CompiledRegexps/body_0/body_0.so:
 undefined symbol: Mail_SpamAssassin_CompiledRegexps_body_0_scan1
 
 Any ideas on how to resolve it ?
 
 -- 
 --[ UxBoD ]--
 // PGP Key: curl -s http://www.splatnix.net/uxbod.asc | gpg --import
 // Fingerprint: 543A E778 7F2D 98F1 3E50 9C1F F190 93E0 E8E8 0CF8
 // Keyserver: www.keyserver.net Key-ID: 0xE8E80CF8
 // Phone: +44 845 869 2749
 // SIP Phone: [EMAIL PROTECTED]
 
 -- 
 This message has been scanned for viruses and dangerous content by 
 MailScanner, and is
 believed to be clean.