You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gabriel Tataranu <tg...@belent.com> on 2004/09/08 16:26:33 UTC

[users@httpd] Problems with Apache 1.3.31 on 64bit Linux platform

Hi all,

this is a REPOST as nobody even acknowledge my first post (Aug 26th).

On 64bit (AMD Athlon64 for now) I've detected weird problems with 
LocationMatch. I traced the problems to HS regex library (bundled with 
Apache 1.3). The regex test script in the apache_1.3.31/src/regex 
directory give this:

	./re <tests
	Segmentation fault

	./re -x <tests
	....
	314:
	Segmentation fault


I'll be happy to give more details and run some tests if necessary.

Regards,

Gabriel

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Problems with Apache 1.3.31 on 64bit Linux platform

Posted by Gabriel Tataranu <tg...@belent.com>.
Hi,

I guess this is what you asked for:


test regex $ ./re <tests
Segmentation fault (core dumped)
test regex $ gdb ./re core
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...Using host 
libthread_db library "/lib/libthread_db.so.1".

Core was generated by `./re'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /usr/lib/libexpat.so.0...done.
Loaded symbols for /usr/lib/libexpat.so.0
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
#0  0x0000000000406147 in sslow (m=0x7fbfffe840, start=0x0,
     stop=0x7fbfffe974 "bweeknights", startst=34, stopst=53) at engine.c:728
728             register int c = (start == m->beginp) ? OUT : *(start-1);
(gdb) bt
#0  0x0000000000406147 in sslow (m=0x7fbfffe840, start=0x0,
     stop=0x7fbfffe974 "bweeknights", startst=34, stopst=53) at engine.c:728
#1  0x000000000040506c in sdissect (m=0x7fbfffe840,
     start=0x7fbfffe960 "aaaaabaaaabaaaabaaaabweeknights",
     stop=0x7fbfffe974 "bweeknights", startst=1, stopst=53) at engine.c:360
#2  0x000000000040485e in smatcher (g=0x50f0a0,
     string=0x7fbfffe960 "aaaaabaaaabaaaabaaaabweeknights", nmatch=10,
     pmatch=0x7fbffff260, eflags=0) at engine.c:157
#3  0x0000000000409343 in regexec (preg=0x7fbffff300,
     string=0x7fbfffe960 "aaaaabaaaabaaaabaaaabweeknights", nmatch=10,
     pmatch=0x7fbffff260, eflags=0) at regexec.c:138
#4  0x000000000040b161 in try (
     f0=0x7fbffff470 
"a[ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab][ab](wee|week)(knights|night)", 
f1=0x7fbffff4db "-",
     f2=0x7fbffff4dd "aaaaabaaaabaaaabaaaabweeknights",
     f3=0x7fbffff4fd "aaaaabaaaabaaaabaaaabweeknights", f4=0x0, opts=1)
     at main.c:266
#5  0x000000000040abe8 in regress (in=0x2a95bb19e0) at main.c:167
#6  0x000000000040a6f7 in main (argc=1, argv=0x7fbffffa48) at main.c:77
(gdb) q

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org