httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject Re: WWW Form Bug Report: "caught SIGBUS, dumping core" on Solaris 2.x
Date Sat, 14 Sep 1996 09:36:53 GMT

thanks. I'll forward the info to the developers list.

regards,
rob

ldl@cs.utah.edu wrote:
>
>Submitter: ldl@cs.utah.edu
>Operating system: Solaris 2.x, version: 
>Version of Apache Used: 1.1.1
>Extra Modules used: 
>URL exhibiting problem: http://www.cs.utah.edu/~ldl/mod_dir.c.patch
>
>Symptoms:
>--
>caught SIGBUS, dumping core. The error occurs when
>dir listing is turned on and the mod_dir.c module
>has 0 num_ent. The palloc() call in index_directory()
>doesn't seem to handle size zero properly. I fixed
>the problem by checking that num_ent > 0 in order
>to do any of the code from the palloc() call through
>the qsort(). output_directories() handles num_ent
>of zero just fine and problem is avoided. I have
>made available a patch file of the mod)dir.c
>source at:
><http://www.cs.utah.edu/~ldl/mod_dir.c.patch>.
>
>Hope this helps!!! :-)
>--
>
>Backtrace:
>--
>See patchfile which fixes problem at:
><http://www.cs.utah.edu/~ldl/mod_dir.c.patch>
>--


-- 
Rob Hartill (robh@imdb.com)    
http://www.imdb.com/  ... why wait for a clear night to see the stars?.

Mime
View raw message