libapreq 1.3 and Segmentation fault after upload

Sven Geisler <[email protected]>
Newsgroups gmane.comp.apache.apreq
Organization AEC/communications GmbH
Message-ID <[email protected]>
Hi,

I'm using perl 5.8.8, apache 1.3.34, mod_perl 1.29 and libapreq 1.3.
I'm getting sometimes Segmentation faults after an upload. I can force 
the segmentation faults when I use larger file name. I use 
Apache::Upload object to access the files.
I tried with gdb to backtrace the cause, but I didn't get any idea.
It looks to me that the segmentation fault occurs during the clean up of 
unsed variables.
The last function on the stack was always "free" from Perl.
I also see sometimes "free(): invalid pointer 0xea84790!" in the logs.


Does anyone have an idea?


Here my compiler flags
O3 -fno-strict-aliasing -pipe -g -mcpu=pentium4 -march=pentium4 
-mfpmath=sse -msse2
I using gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47) on Red Hat 
Enterprise Linux WS release 3 (Taroon Update 4).

Thanks
Sven.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.