[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#225146: marked as done (segfault in crm114 when using classify)

Your message dated Sat, 21 Feb 2004 13:47:05 -0500
with message-id <E1Auc9Z-00070i-00@newraff.debian.org>
and subject line Bug#225146: fixed in crm114 20040212-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 26 Dec 2003 21:19:45 +0000
>From rdmiller@usatoday.com Fri Dec 26 15:19:28 2003
Return-path: <rdmiller@usatoday.com>
Received: from ent-mocinrl02.gannett.com [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AZz78-0003Jv-00; Fri, 26 Dec 2003 15:03:18 -0600
Received: from ENT-MOCSMVI02.us.ad.gannett.com (ent-mocsmvi02.us.ad.gannett.com [])
	by ent-mocinrl02.gannett.com (Postfix) with SMTP id 0AAEA157583
	for <submit@bugs.debian.org>; Fri, 26 Dec 2003 16:03:18 -0500 (EST)
Received: FROM USAT-VOCEXCN01.usatoday.us.ad.gannett.com BY ENT-MOCSMVI02.us.ad.gannett.com ; Fri Dec 26 16:03:17 2003 -0500
Received: from USAT-VOCEX13.usatoday.us.ad.gannett.com ([]) by USAT-VOCEXCN01.usatoday.us.ad.gannett.com with Microsoft SMTPSVC(5.0.2195.6713);
	 Fri, 26 Dec 2003 16:03:17 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable
Subject: segfault in crm114 when using classify
Date: Fri, 26 Dec 2003 16:03:17 -0500
Message-ID: <EA2AED0B6FB75542BC732FD195A24E9339CF79@usat-vocex13.usatoday.us.ad.gannett.com>
Thread-Topic: segfault in crm114 when using classify
Thread-Index: AcPL867EluSI65ExQY2D/jGX3t/7Nw==
From: "Miller, Raul D" <rdmiller@usatoday.com>
To: <submit@bugs.debian.org>
X-OriginalArrivalTime: 26 Dec 2003 21:03:17.0060 (UTC) FILETIME=[AF090040:01C3CBF3]
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 
	(1.212-2003-09-23-exp) on master.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 

Package: crm114
Version: 2002-11-26-2
Severity: grave

glibc6 version: 2.3.2.ds1-10

crm114 segfaults on me, when I use classify.  Here's what it looks like =
I run strace crm114 -t bin/incoming.crm </tmp/178500=20

write(2, ":", 1:)                        =3D 1
write(2, "c", 1c)                        =3D 1
write(2, "n", 1n)                        =3D 1
write(2, "t", 1t)                        =3D 1
write(2, "r", 1r)                        =3D 1
write(2, "l", 1l)                        =3D 1
write(2, ":", 1:)                        =3D 1
write(2, "]", 1])                        =3D 1
write(2, "\"", 1")                       =3D 1
write(2, "=3D", 1=3D)                        =3D 1
write(2, ">", 1>)                        =3D 1
write(2, "]", 1])                        =3D 1
write(2, "+", 1+)                        =3D 1
write(2, "/", 1/)                        =3D 1
write(2, "\n", 1
)                       =3D 1
write(2, "\t", 1        )                       =3D 1
write(2, "\t", 1        )                       =3D 1
write(2, "\nExecuting line 37 :\n", 21
Executing line 37 :
) =3D 21
write(2, "Classifying with file -junk.css-"..., 33Classifying with file =
) =3D 33
stat("junk.css", {st_mode=3DS_IFREG|0644, st_size=3D1048577, ...}) =3D 0
open("junk.css", O_RDONLY)              =3D 4
old_mmap(NULL, 1048577, PROT_READ, MAP_SHARED, 4, 0) =3D 0x40761000
write(2, "Classifying with file -|-\n", 26Classifying with file -|-
) =3D 26
write(2, "Classifying with file -good.css-"..., 33Classifying with file =
) =3D 33
stat("good.css", {st_mode=3DS_IFREG|0644, st_size=3D1048577, ...}) =3D 0
open("good.css", O_RDONLY)              =3D 5
old_mmap(NULL, 1048577, PROT_READ, MAP_SHARED, 5, 0) =3D 0x40862000
close(4)                                =3D 0
munmap(0x40761000, 1048577)             =3D 0
close(5)                                =3D 0
munmap(0x40862000, 1048577)             =3D 0
write(2, "Probability of match: 0.000000\n", 31Probability of match: =
) =3D 31
write(2, "CLASSIFY was a FAIL, skipping fo"..., 39CLASSIFY was a FAIL, =
skipping forward.
) =3D 39
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

Here's what gdb tells me about that segfault when I compile from source =
and run
the unstripped binary:

Program received signal SIGSEGV, Segmentation fault.
0x4009b10b in mallopt () from /lib/libc.so.6
(gdb) where
#0  0x4009b10b in mallopt () from /lib/libc.so.6
#1  0x40099edf in free () from /lib/libc.so.6
#2  0x400de2ae in regerror () from /lib/libc.so.6
#3  0x400de3e8 in regfree () from /lib/libc.so.6
#4  0x0804c7be in crm_invoke ()
#5  0x08049430 in main ()
#6  0x4003eda6 in __libc_start_main () from /lib/libc.so.6

Here's the relevant part of incoming.crm (note that line numbers =
by crm114 -t seem to be wrong):

$ sed -n 34,37p bin/incoming.crm=20
                isolate (:stats:)
                classify ( junk.css | good.css ) [:m_text:] =
                goto /:appears_to_be_junk:/

I can also supply the content of the .css files and the message which =
causes this
segfault, if needed.



Received: (at 225146-close) by bugs.debian.org; 21 Feb 2004 18:53:09 +0000
>From katie@ftp-master.debian.org Sat Feb 21 10:53:09 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AucFQ-00026K-00; Sat, 21 Feb 2004 10:53:08 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Auc9Z-00070i-00; Sat, 21 Feb 2004 13:47:05 -0500
From: Ondrej Sury <ondrej@debian.org>
To: 225146-close@bugs.debian.org
X-Katie: $Revision: 1.43 $
Subject: Bug#225146: fixed in crm114 20040212-1
Message-Id: <E1Auc9Z-00070i-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 21 Feb 2004 13:47:05 -0500
Delivered-To: 225146-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_18 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 

Source: crm114
Source-Version: 20040212-1

We believe that the bug you reported is fixed in the latest version of
crm114, which is due to be installed in the Debian FTP archive:

  to pool/main/c/crm114/crm114_20040212-1.diff.gz
  to pool/main/c/crm114/crm114_20040212-1.dsc
  to pool/main/c/crm114/crm114_20040212-1_i386.deb
  to pool/main/c/crm114/crm114_20040212.orig.tar.gz

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 225146@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Ondrej Sury <ondrej@debian.org> (supplier of updated crm114 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sat, 21 Feb 2004 18:42:46 +0100
Source: crm114
Binary: crm114
Architecture: source i386
Version: 20040212-1
Distribution: unstable
Urgency: low
Maintainer: Ondrej Sury <ondrej@debian.org>
Changed-By: Ondrej Sury <ondrej@debian.org>
 crm114     - The Controllable Regex Mutilator and Spam Filter
Closes: 186589 206105 214149 225146 225146
 crm114 (20040212-1) unstable; urgency=low
   * New upstream release (Closes: #186589, #214149).
   * According to info in bugs.debian.org/225146, this is fixed in new version (Closes: #225146)
   * Upstream author says that this segfault bug is also fixed in new version (Closes: #225146)
   * New maintainer (Closes: #206105)
   * Don't include .css files, they are quite large and not neccessary
     according to CRM114_Mailfilter_HOWTO.txt.
 43bf50c1d1d7026bb0784aeaa352746e 576 mail optional crm114_20040212-1.dsc
 31f7fd601359693ef694f25c6115e95c 195484 mail optional crm114_20040212.orig.tar.gz
 7d1edbd67523fe4d490ca9bbd6a92a4f 3613 mail optional crm114_20040212-1.diff.gz
 b2bfdce1113fb0c0466310617769c78e 151388 mail optional crm114_20040212-1_i386.deb

Version: GnuPG v1.2.4 (GNU/Linux)


Reply to: