httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemant Chaudhary <>
Subject [users@httpd] Issue while listing Directory using mod_autoindex
Date Fri, 05 Oct 2018 11:16:44 GMT
Hi All,

When I am trying to list directory in apache. My process get killed and I
was not able to see directory. During debugging I have seen that
"apr_dir_close(thedir);" apr_dir_close in function index_directory is
killing my process. So I have commented this function from index_directory.

After commenting, I am able to see the listing of directory but after
listing my directory process is getting killed again. While debugging got
the following stack trace:

->in run_cleanups () in /usr/local/lib/
 -> in apr_pool_destroy () in /usr/local/lib/
-> in eor_bucket_destroy at
->in remove_empty_buckets at

I have few questions on this:
1) What is the significance of apr_dir_close(thedir); ?? If I will comment
this out then what will happen ?
2) What may be the cause for my process is getting killed before and after

Please help to solve this issue.


View raw message