develooper Front page | perl.perl5.porters | Postings from March 2007

[perl #41993] Regexp Bus error

Thread Next
From:
root @ mail . meicho . com . tw
Date:
March 22, 2007 08:52
Subject:
[perl #41993] Regexp Bus error
Message ID:
rt-3.6.HEAD-30201-1174578013-1916.41993-75-0@perl.org
# New Ticket Created by  root@mail.meicho.com.tw 
# Please include the string:  [perl #41993]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41993 >


This is a bug report for perl from root@mail.meicho.com.tw,
generated with the help of perlbug 1.35 running under perl v5.8.8.


-----------------------------------------------------------------
[Please enter your report here]

The following command causes Bus error:

('211.22.213.114 - - [04/Mar/2007:04:09:16 +0800] TLSv1 DHE-RSA-AES256-SHA "GET /'.'X'x(4820).'" 414 250 "-" "-"')=~/^([\d\.]+|[\:\da-h]+) (-|\w+) (-|\w+) (\[[^\]]+\]) ([\w\d-]+) ([\w\d-]+) "(([^\\"]|\\.)*)" (-|\d+) (-|\d+) "(([^\\"]|\\.)*)" "(([^\\"]|\\.)*)"\r?\n$/;

This test was minimized from a program to analysis httpd log file.
In ticket #38473 this bug was resolved, but in my machine it still exist now.



[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=core
    severity=low
---
Site configuration information for perl v5.8.8:

Configured by kanashimi at Sat Mar 17 12:21:16 CST 2007.

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=freebsd, osvers=6.2-stable, archname=i386-freebsd-thread-multi-64int
    uname='freebsd meicho.com.tw 6.2-stable freebsd 6.2-stable #0: fri jan 26 16:17:26 cst 2007 kanashimi@meicho.com.tw:usrobjusrsrcsyskanashimi i386 '
    config_args='-sde -Dprefix=/usr/local -Darchlib=/usr/local/lib/perl5/5.8.8/mach -Dprivlib=/usr/local/lib/perl5/5.8.8 -Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3 -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8 -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -Doptimize=-O -pipe  -Dd_dosuid=define -Di_gdbm -Dusethreads=y -Dusemymalloc=n -Duse64bitint'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include',
    optimize='-O -pipe ',
    cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include'
    ccversion='', gccversion='3.4.6 [FreeBSD] 20060305', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-pthread -Wl,-E -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lgdbm -lm -lcrypt -lutil
    perllibs=-lm -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='  -Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE'
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'

Locally applied patches:
    defined-or

---
@INC for perl v5.8.8:
    /usr/local/lib/perl5/5.8.8/BSDPAN
    /usr/local/lib/perl5/site_perl/5.8.8/mach
    /usr/local/lib/perl5/site_perl/5.8.8
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl
    /usr/local/lib/perl5/5.8.8/mach
    /usr/local/lib/perl5/5.8.8
    .

---
Environment for perl v5.8.8:
    HOME=/root
    LANG=zh_TW.Big5
    LANGUAGE (unset)
    LC_CTYPE=zh_TW.Big5
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/local/libexec/ccache:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:.:/usr/tmp/kanashimi/arc:/root/vb:/root/bin:/usr/tmp/kanashimi:/usr/X11R6/bin:/usr/local/sbin:/usr/local/mysql/bin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About