You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Rob Hartill <ro...@imdb.com> on 1996/09/14 11:36:53 UTC

Re: WWW Form Bug Report: "caught SIGBUS, dumping core" on Solaris 2.x

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?.