Tyler MacDonald wrote:
> Gary,
>       Is there any way you can get a stack backtrace out of this? Like
> attaching gdb to a httpd process and then causing the segfault?
> 
>       Thanks,
>               Tyler
> 
> 
> Gary Kramlich <[EMAIL PROTECTED]> wrote:
>> Package: libapache2-mod-bt
>> Version: 0.0.19+p4.2340-1
>> Severity: grave
>> Justification: renders package unusable
>>
>> I've written a configuration based loosely on the one provided with the
>> package.  Also requests, include /, /register, etc cause the apache
>> subprocess to segfault.
>>
>> Here is the vhost block, identifiers masked...
>>
>> <virtualhost *:6969>
>>         ServerName tracker.foo.bar
>>
>>         DocumentRoot /var/www/foo.bar/tracker/
>>         CustomLog /var/www/foo.bar/.access_log.tracker combined
>>         ErrorLog /var/www/foo.bar/.error_log.tracker
>>
>>         ServerSignature off
>>
>>         Tracker On
>>         TrackerHome /var/lib/mod_bt
>>         TrackerFlags AllowScrapeFull
>>         TrackerDetailURL /details/
>>
>>         Alias /mod_bt.css /usr/share/doc/libbtutil0/html/mod_bt.css
>>
>>         <LocationMatch "^/$">
>>                 SetHandler modbt-root
>>                 <IfModule mod_include.c>
>>                         Options +Includes
>>                         SetOutputFilter INCLUDES
>>                 </IfModule>
>>         </LocationMatch>
>>
>>         <Location "/announce">
>>                 SetHandler modbt-announce
>>         </Location>
>>
>>         <Location "/scrape">
>>                 SetHandler modbt-scrape
>>         </Location>
>>
>>         <Location "/details">
>>                 SetHandler modbt-details
>>         </Location>
>>
>>         <Location "/register">
>>                 SetHandler modbt-register
>>         </Location>
>> </virtualhost>
>>
>> Sefault messages appear in /var/log/apache2/error.log, nothing is left
>> in /var/www/foo.bar/.error_log.tracker.
>>
>>
>>
>> -- System Information:
>> Debian Release: 4.0
>>   APT prefers unstable
>>   APT policy: (500, 'unstable'), (1, 'experimental')
>> Architecture: i386 (i686)
>>
>> Kernel: Linux 2.6.16-2-686
>> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>> Shell: /bin/sh linked to /bin/bash
>>
>> Versions of packages libapache2-mod-bt depends on:
>> ii  apache2-mpm-prefork     2.2.3-3.1        Traditional model for Apache 
>> HTTPD
>> ii  apache2.2-common        2.2.3-3.1        Next generation, scalable, 
>> extenda
>> ii  libbttracker0           0.0.19+p4.2340-1 BitTorrent Tracker Library
>> ii  libbtutil0              0.0.19+p4.2340-1 BitTorrent utility library
>>
>> libapache2-mod-bt recommends no packages.
>>
>> -- no debconf information
>>
>>

Took a bit to get it to get handled.  I attached to the parent apache
process and got this useless bt:

[Switching to Thread 0xa78026b0 (LWP 511)]
0xa77e8265 in ?? () from /usr/lib/apache2/modules/mod_bt.so
(gdb) bt
#0  0xa77e8265 in ?? () from /usr/lib/apache2/modules/mod_bt.so
#1  0x08233818 in ?? ()
#2  0xa77e93f2 in ?? () from /usr/lib/apache2/modules/mod_bt.so
#3  0xffffffff in ?? ()
#4  0x00000000 in ?? ()

I've tried connecting the to the helper threads but i'm not getting the
segfault in there.

-- 
Gary Kramlich <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to