Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8,which_dup=1) at file_io/uni

Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8,which_dup=1) at file_io/uni

am 19.03.2011 17:15:33 von prz

This is a multi-part message in MIME format.
--------------010405000200020600070304
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

Crash gentoo apache2 start. core dump below, think tries to dup
a 0 file pointer


[DESCRIBE THE PROBLEM HERE]

2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using
/usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi/Ap ache2/BuildConfig.pm

*** Makefile.PL options:
MP_APR_LIB => aprext
MP_APXS => /usr/sbin/apxs2
MP_COMPAT_1X => 1
MP_DEBUG => 1
MP_GENERATE_XS => 1
MP_LIBNAME => mod_perl
MP_TRACE => 1
MP_USE_DSO => 1


*** The httpd binary was not found


*** (apr|apu)-config linking info

-L/usr/lib -laprutil-1 -ldb-4.7 -lgdbm -lexpat -L/usr/lib
-L/usr/lib -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl



*** /usr/bin/perl -V
Summary of my perl5 (revision 5 version 12 subversion 2) configuration:

Platform:
osname=linux, osvers=2.6.34-gentoo-r6z2-embedded-linux,
archname=i486-linux-thread-multi
uname='linux gentoo-p4-tinderbox 2.6.34-gentoo-r6z2-embedded-linux
#5 mon sep 13 15:07:25 cest 2010 i686 intel(r) pentium(r) dual cpu e2180
@ 2.00ghz genuineintel gnulinux '
config_args='-des -Duseshrplib -Darchname=i486-linux-thread
-Dcc=i486-pc-linux-gnu-gcc -Doptimize=-march=i686 -msse -mmmx -O2 -pipe
-fomit-frame-pointer -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr
-Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin
-Dprivlib=/usr/lib/perl5/5.12.2
-Darchlib=/usr/lib/perl5/5.12.2/i486-linux-thread-multi
-Dsitelib=/usr/lib/perl5/site_perl/5.12.2
-Dsitearch=/usr/lib/perl5/site_perl/5.12.2/i486-linux-thread -multi
-Dvendorlib=/usr/lib/perl5/vendor_perl/5.12.2
-Dvendorarch=/usr/lib/perl5/vendor_perl/5.12.2/i486-linux-th read-multi
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3
-Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3
-Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.12.2 -Dlocincpth=
-Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost
-Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm
-Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none
-Dinc_version_list=5.12.1/i486-linux-thread-multi 5.12.1
5.12.0/i486-linux-thread-multi 5.12.0 '
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='i486-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-march=i686 -msse -mmmx -O2 -pipe -fomit-frame-pointer',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
ccversion='', gccversion='4.4.4', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='i486-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed
-L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
-lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.11.2.so, so=so, useshrplib=true,
libperl=libperl.so.5.12.2
gnulibc_version='2.11.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -march=i686 -msse -mmmx -O2
-pipe -fomit-frame-pointer -L/usr/local/lib -Wl,-O1 -Wl,--as-needed'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
0001-gentoo_MakeMaker-RUNPATH.diff
0002-gentoo_config_over.diff
0003-gentoo_cpan_definstalldirs.diff
0004-gentoo_cpanplus_definstalldirs.diff
0005-gentoo_create-libperl-soname.diff
0006-gentoo_MakeMaker-delete_packlist.diff
0007-fixes_8d66b3f9_h2hp_fix.diff
0008-fixes_f178b03b_h2ph_using_deprecated_goto.diff
0009-gentoo_mod-paths.diff
0010-gentoo_enc2xs.diff
0011-gentoo_IO-Compress_AutoLoader_dropped_from_Compress-Zli b.diff
0012-fixes_84601d63_CGI-3.50.diff
0013-fixes_2a1594f6_CGI-3.51.diff
0014-gentoo_drop-fstack-protector.diff
Built under linux
Compiled at Mar 3 2011 22:10:42
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/etc/perl
/usr/lib/perl5/site_perl/5.12.2/i486-linux-thread-multi
/usr/lib/perl5/site_perl/5.12.2
/usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.12.2
/usr/lib/perl5/5.12.2/i486-linux-thread-multi
/usr/lib/perl5/5.12.2
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl
/usr/local/lib/site_perl
.

*** Packages of interest status:

Apache2 : -
Apache2::Request : -
CGI : 3.51, 3.51
ExtUtils::MakeMaker: 6.56
LWP : 5.836
mod_perl : -
mod_perl2 : 2.000004


3. This is the core dump trace: (if you get a core dump):

#0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8,
which_dup=1) at file_io/unix/filedup.c:59
#1 0xb5dec184 in modperl_hook_post_config_last (pconf=0x80a70a8,
plog=0x80d7168, ptemp=0x80d9170, s=0x80acc58) at mod_perl.c:704
#2 0x0807a572 in ap_run_post_config (pconf=0x80a70a8, plog=0x80d7168,
ptemp=0x80d9170, s=0x80acc58) at config.c:91
#3 0x08066d82 in main (argc=37, argv=0xbfd29864) at main.c:680


This report was generated by /usr/bin/mp2bug on Sat Mar 19 16:03:48 2011
GMT.

-------------8<---------- End Bug Report --------------8<----------



--------------010405000200020600070304
Content-Type: text/x-vcard; charset=utf-8;
name="prz.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="prz.vcf"

begin:vcard
fn:A. Przygienda
n:Przygienda;A.
org:Zeta2 GmbH
adr:;;Via Tersaggio 20;Comano;;6949;Switzerland
email;internet:prz@zeta2.ch
title:Dr.
tel;work:+41919402767
tel;fax:+41919402768
tel;cell:+41792985900
x-mozilla-html:TRUE
url:www.zeta2.ch
version:2.1
end:vcard


--------------010405000200020600070304--

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0,p=0x80a70a8, which_dup=1) at file_io/

am 19.03.2011 18:11:19 von Fred Moyer

Have you tried 2.0.5?

On Sat, Mar 19, 2011 at 9:15 AM, A. Przygienda wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> =A0Crash gentoo apache2 start. core dump below, think tries to dup
> =A0a 0 file pointer
>
>
> =A0[DESCRIBE THE PROBLEM HERE]
>
> 2. Used Components and their Configuration:
>
> *** mod_perl version 2.000004
>
> *** using
> /usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi/Ap ache2/BuildCo=
nfig.pm
>
> *** Makefile.PL options:
> =A0MP_APR_LIB =A0 =A0 =3D> aprext
> =A0MP_APXS =A0 =A0 =A0  => /usr/sbin/apxs2
> =A0MP_COMPAT_1X =A0 =3D> 1
> =A0MP_DEBUG =A0 =A0 =A0 =3D> 1
> =A0MP_GENERATE_XS =3D> 1
> =A0MP_LIBNAME =A0 =A0 =3D> mod_perl
> =A0MP_TRACE =A0 =A0 =A0 =3D> 1
> =A0MP_USE_DSO =A0 =A0 =3D> 1
>
>
> *** The httpd binary was not found
>
>
> *** (apr|apu)-config linking info
>
> =A0-L/usr/lib -laprutil-1 =A0-ldb-4.7 =A0-lgdbm =A0-lexpat -L/usr/lib
> =A0-L/usr/lib -lapr-1 -luuid -lrt -lcrypt =A0-lpthread -ldl
>
>
>
> *** /usr/bin/perl -V
> Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
>
> =A0Platform:
> =A0 =A0osname=3Dlinux, osvers=3D2.6.34-gentoo-r6z2-embedded-linux,
> archname=3Di486-linux-thread-multi
> =A0 =A0uname=3D'linux gentoo-p4-tinderbox 2.6.34-gentoo-r6z2-embedded-lin=
ux
> #5 mon sep 13 15:07:25 cest 2010 i686 intel(r) pentium(r) dual cpu e2180
> @ 2.00ghz genuineintel gnulinux '
> =A0 =A0config_args=3D'-des -Duseshrplib -Darchname=3Di486-linux-thread
> -Dcc=3Di486-pc-linux-gnu-gcc -Doptimize=3D-march=3Di686 -msse -mmmx -O2 -=
pipe
> -fomit-frame-pointer -Dldflags=3D-Wl,-O1 -Wl,--as-needed -Dprefix=3D/usr
> -Dsiteprefix=3D/usr -Dvendorprefix=3D/usr -Dscriptdir=3D/usr/bin
> -Dprivlib=3D/usr/lib/perl5/5.12.2
> -Darchlib=3D/usr/lib/perl5/5.12.2/i486-linux-thread-multi
> -Dsitelib=3D/usr/lib/perl5/site_perl/5.12.2
> -Dsitearch=3D/usr/lib/perl5/site_perl/5.12.2/i486-linux-thre ad-multi
> -Dvendorlib=3D/usr/lib/perl5/vendor_perl/5.12.2
> -Dvendorarch=3D/usr/lib/perl5/vendor_perl/5.12.2/i486-linux- thread-multi
> -Dman1dir=3D/usr/share/man/man1 -Dman3dir=3D/usr/share/man/man3
> -Dsiteman1dir=3D/usr/share/man/man1 -Dsiteman3dir=3D/usr/share/man/man3
> -Dvendorman1dir=3D/usr/share/man/man1 -Dvendorman3dir=3D/usr/share/man/ma=
n3
> -Dman1ext=3D1 -Dman3ext=3D3pm -Dlibperl=3Dlibperl.so.5.12.2 -Dlocincpth=
=3D
> -Duselargefiles -Dd_semctl_semun -Dcf_by=3DGentoo -Dmyhostname=3Dlocalhos=
t
> -Dperladmin=3Droot@localhost -Dinstallusrbinperl=3Dn -Ud_csh -Uusenm
> -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=3Dnone
> -Dinc_version_list=3D5.12.1/i486-linux-thread-multi 5.12.1
> 5.12.0/i486-linux-thread-multi 5.12.0 '
> =A0 =A0hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
> =A0 =A0useithreads=3Ddefine, usemultiplicity=3Ddefine
> =A0 =A0useperlio=3Ddefine, d_sfio=3Dundef, uselargefiles=3Ddefine, usesoc=
ks=3Dundef
> =A0 =A0use64bitint=3Dundef, use64bitall=3Dundef, uselongdouble=3Dundef
> =A0 =A0usemymalloc=3Dn, bincompat5005=3Dundef
> =A0Compiler:
> =A0 =A0cc=3D'i486-pc-linux-gnu-gcc', ccflags =3D'-D_REENTRANT -D_GNU_SOUR=
CE
> -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=3D64',
> =A0 =A0optimize=3D'-march=3Di686 -msse -mmmx -O2 -pipe -fomit-frame-point=
er',
> =A0 =A0cppflags=3D'-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
> =A0 =A0ccversion=3D'', gccversion=3D'4.4.4', gccosandvers=3D''
> =A0 =A0intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, byteorder=
=3D1234
> =A0 =A0d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdbl=
size=3D12
> =A0 =A0ivtype=3D'long', ivsize=3D4, nvtype=3D'double', nvsize=3D8, Off_t=
=3D'off_t',
> lseeksize=3D8
> =A0 =A0alignbytes=3D4, prototype=3Ddefine
> =A0Linker and Libraries:
> =A0 =A0ld=3D'i486-pc-linux-gnu-gcc', ldflags =3D'-Wl,-O1 -Wl,--as-needed
> -L/usr/local/lib'
> =A0 =A0libpth=3D/usr/local/lib /lib /usr/lib
> =A0 =A0libs=3D-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
> -lgdbm_compat
> =A0 =A0perllibs=3D-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
> =A0 =A0libc=3D/lib/libc-2.11.2.so, so=3Dso, useshrplib=3Dtrue,
> libperl=3Dlibperl.so.5.12.2
> =A0 =A0gnulibc_version=3D'2.11.2'
> =A0Dynamic Linking:
> =A0 =A0dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D'=
-Wl,-E'
> =A0 =A0cccdlflags=3D'-fPIC', lddlflags=3D'-shared -march=3Di686 -msse -mm=
mx -O2
> -pipe -fomit-frame-pointer -L/usr/local/lib -Wl,-O1 -Wl,--as-needed'
>
>
> Characteristics of this binary (from libperl):
> =A0Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0PERL_IMPLICIT_CONTEXT PERL=
_MALLOC_WRAP USE_ITHREADS
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0USE_LARGE_FILES USE_PERLIO=
USE_PERL_ATOF
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0USE_REENTRANT_API
> =A0Locally applied patches:
> =A0 =A0 =A0 =A00001-gentoo_MakeMaker-RUNPATH.diff
> =A0 =A0 =A0 =A00002-gentoo_config_over.diff
> =A0 =A0 =A0 =A00003-gentoo_cpan_definstalldirs.diff
> =A0 =A0 =A0 =A00004-gentoo_cpanplus_definstalldirs.diff
> =A0 =A0 =A0 =A00005-gentoo_create-libperl-soname.diff
> =A0 =A0 =A0 =A00006-gentoo_MakeMaker-delete_packlist.diff
> =A0 =A0 =A0 =A00007-fixes_8d66b3f9_h2hp_fix.diff
> =A0 =A0 =A0 =A00008-fixes_f178b03b_h2ph_using_deprecated_goto.diff
> =A0 =A0 =A0 =A00009-gentoo_mod-paths.diff
> =A0 =A0 =A0 =A00010-gentoo_enc2xs.diff
> =A0 =A0 =A0 =A00011-gentoo_IO-Compress_AutoLoader_dropped_from_Compress- Z=
lib.diff
> =A0 =A0 =A0 =A00012-fixes_84601d63_CGI-3.50.diff
> =A0 =A0 =A0 =A00013-fixes_2a1594f6_CGI-3.51.diff
> =A0 =A0 =A0 =A00014-gentoo_drop-fstack-protector.diff
> =A0Built under linux
> =A0Compiled at Mar =A03 2011 22:10:42
> =A0%ENV:
> =A0 =A0PERL_LWP_USE_HTTP_10=3D"1"
> =A0@INC:
> =A0 =A0/etc/perl
> =A0 =A0/usr/lib/perl5/site_perl/5.12.2/i486-linux-thread-multi
> =A0 =A0/usr/lib/perl5/site_perl/5.12.2
> =A0 =A0/usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi
> =A0 =A0/usr/lib/perl5/vendor_perl/5.12.2
> =A0 =A0/usr/lib/perl5/5.12.2/i486-linux-thread-multi
> =A0 =A0/usr/lib/perl5/5.12.2
> =A0 =A0/usr/lib/perl5/site_perl
> =A0 =A0/usr/lib/perl5/vendor_perl
> =A0 =A0/usr/local/lib/site_perl
> =A0 =A0.
>
> *** Packages of interest status:
>
> Apache2 =A0 =A0 =A0 =A0 =A0 =A0: -
> Apache2::Request =A0 : -
> CGI =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: 3.51, 3.51
> ExtUtils::MakeMaker: 6.56
> LWP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0: 5.836
> mod_perl =A0 =A0 =A0 =A0 =A0 : -
> mod_perl2 =A0 =A0 =A0 =A0 =A0: 2.000004
>
>
> 3. This is the core dump trace: (if you get a core dump):
>
> #0 =A0file_dup (new_file=3D0xbfd296d4, old_file=3D0x0, p=3D0x80a70a8,
> which_dup=3D1) at file_io/unix/filedup.c:59
> #1 =A00xb5dec184 in modperl_hook_post_config_last (pconf=3D0x80a70a8,
> plog=3D0x80d7168, ptemp=3D0x80d9170, s=3D0x80acc58) at mod_perl.c:704
> #2 =A00x0807a572 in ap_run_post_config (pconf=3D0x80a70a8, plog=3D0x80d71=
68,
> ptemp=3D0x80d9170, s=3D0x80acc58) at config.c:91
> #3 =A00x08066d82 in main (argc=3D37, argv=3D0xbfd29864) at main.c:680
>
>
> This report was generated by /usr/bin/mp2bug on Sat Mar 19 16:03:48 2011
> GMT.
>
> -------------8<---------- End Bug Report --------------8<----------
>
>
>

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8,which_dup=1) at file_io/

am 19.03.2011 20:47:23 von prz

This is a multi-part message in MIME format.
--------------030203060004050409080806
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On 03/19/2011 06:11 PM, Fred Moyer wrote:
> Have you tried 2.0.5?
>

nope, was on gentoo 2008 which I tried to keep but looks like I must
upgrade so I check out 2011 distro now and see whether it persists

-- tony

> On Sat, Mar 19, 2011 at 9:15 AM, A. Przygienda wrote:
>> -------------8<---------- Start Bug Report ------------8<----------
>> 1. Problem Description:
>>
>> Crash gentoo apache2 start. core dump below, think tries to dup
>> a 0 file pointer
>>
>>
>> [DESCRIBE THE PROBLEM HERE]
>>
>> 2. Used Components and their Configuration:
>>
>> *** mod_perl version 2.000004
>>
>> *** using
>> /usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi/Ap ache2/BuildConfig.pm
>>
>> *** Makefile.PL options:
>> MP_APR_LIB => aprext
>> MP_APXS => /usr/sbin/apxs2
>> MP_COMPAT_1X => 1
>> MP_DEBUG => 1
>> MP_GENERATE_XS => 1
>> MP_LIBNAME => mod_perl
>> MP_TRACE => 1
>> MP_USE_DSO => 1
>>
>>
>> *** The httpd binary was not found
>>
>>
>> *** (apr|apu)-config linking info
>>
>> -L/usr/lib -laprutil-1 -ldb-4.7 -lgdbm -lexpat -L/usr/lib
>> -L/usr/lib -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl
>>
>>
>>
>> *** /usr/bin/perl -V
>> Summary of my perl5 (revision 5 version 12 subversion 2) configuration:
>>
>> Platform:
>> osname=linux, osvers=2.6.34-gentoo-r6z2-embedded-linux,
>> archname=i486-linux-thread-multi
>> uname='linux gentoo-p4-tinderbox 2.6.34-gentoo-r6z2-embedded-linux
>> #5 mon sep 13 15:07:25 cest 2010 i686 intel(r) pentium(r) dual cpu e2180
>> @ 2.00ghz genuineintel gnulinux '
>> config_args='-des -Duseshrplib -Darchname=i486-linux-thread
>> -Dcc=i486-pc-linux-gnu-gcc -Doptimize=-march=i686 -msse -mmmx -O2 -pipe
>> -fomit-frame-pointer -Dldflags=-Wl,-O1 -Wl,--as-needed -Dprefix=/usr
>> -Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin
>> -Dprivlib=/usr/lib/perl5/5.12.2
>> -Darchlib=/usr/lib/perl5/5.12.2/i486-linux-thread-multi
>> -Dsitelib=/usr/lib/perl5/site_perl/5.12.2
>> -Dsitearch=/usr/lib/perl5/site_perl/5.12.2/i486-linux-thread -multi
>> -Dvendorlib=/usr/lib/perl5/vendor_perl/5.12.2
>> -Dvendorarch=/usr/lib/perl5/vendor_perl/5.12.2/i486-linux-th read-multi
>> -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
>> -Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3
>> -Dvendorman1dir=/usr/share/man/man1 -Dvendorman3dir=/usr/share/man/man3
>> -Dman1ext=1 -Dman3ext=3pm -Dlibperl=libperl.so.5.12.2 -Dlocincpth=
>> -Duselargefiles -Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost
>> -Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm
>> -Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none
>> -Dinc_version_list=5.12.1/i486-linux-thread-multi 5.12.1
>> 5.12.0/i486-linux-thread-multi 5.12.0 '
>> hint=recommended, useposix=true, d_sigaction=define
>> useithreads=define, usemultiplicity=define
>> useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
>> use64bitint=undef, use64bitall=undef, uselongdouble=undef
>> usemymalloc=n, bincompat5005=undef
>> Compiler:
>> cc='i486-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
>> -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
>> optimize='-march=i686 -msse -mmmx -O2 -pipe -fomit-frame-pointer',
>> cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
>> ccversion='', gccversion='4.4.4', gccosandvers=''
>> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
>> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
>> lseeksize=8
>> alignbytes=4, prototype=define
>> Linker and Libraries:
>> ld='i486-pc-linux-gnu-gcc', ldflags ='-Wl,-O1 -Wl,--as-needed
>> -L/usr/local/lib'
>> libpth=/usr/local/lib /lib /usr/lib
>> libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
>> -lgdbm_compat
>> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
>> libc=/lib/libc-2.11.2.so, so=so, useshrplib=true,
>> libperl=libperl.so.5.12.2
>> gnulibc_version='2.11.2'
>> Dynamic Linking:
>> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
>> cccdlflags='-fPIC', lddlflags='-shared -march=i686 -msse -mmmx -O2
>> -pipe -fomit-frame-pointer -L/usr/local/lib -Wl,-O1 -Wl,--as-needed'
>>
>>
>> Characteristics of this binary (from libperl):
>> Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
>> PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_ITHREADS
>> USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
>> USE_REENTRANT_API
>> Locally applied patches:
>> 0001-gentoo_MakeMaker-RUNPATH.diff
>> 0002-gentoo_config_over.diff
>> 0003-gentoo_cpan_definstalldirs.diff
>> 0004-gentoo_cpanplus_definstalldirs.diff
>> 0005-gentoo_create-libperl-soname.diff
>> 0006-gentoo_MakeMaker-delete_packlist.diff
>> 0007-fixes_8d66b3f9_h2hp_fix.diff
>> 0008-fixes_f178b03b_h2ph_using_deprecated_goto.diff
>> 0009-gentoo_mod-paths.diff
>> 0010-gentoo_enc2xs.diff
>> 0011-gentoo_IO-Compress_AutoLoader_dropped_from_Compress-Zli b.diff
>> 0012-fixes_84601d63_CGI-3.50.diff
>> 0013-fixes_2a1594f6_CGI-3.51.diff
>> 0014-gentoo_drop-fstack-protector.diff
>> Built under linux
>> Compiled at Mar 3 2011 22:10:42
>> %ENV:
>> PERL_LWP_USE_HTTP_10="1"
>> @INC:
>> /etc/perl
>> /usr/lib/perl5/site_perl/5.12.2/i486-linux-thread-multi
>> /usr/lib/perl5/site_perl/5.12.2
>> /usr/lib/perl5/vendor_perl/5.12.2/i486-linux-thread-multi
>> /usr/lib/perl5/vendor_perl/5.12.2
>> /usr/lib/perl5/5.12.2/i486-linux-thread-multi
>> /usr/lib/perl5/5.12.2
>> /usr/lib/perl5/site_perl
>> /usr/lib/perl5/vendor_perl
>> /usr/local/lib/site_perl
>> .
>>
>> *** Packages of interest status:
>>
>> Apache2 : -
>> Apache2::Request : -
>> CGI : 3.51, 3.51
>> ExtUtils::MakeMaker: 6.56
>> LWP : 5.836
>> mod_perl : -
>> mod_perl2 : 2.000004
>>
>>
>> 3. This is the core dump trace: (if you get a core dump):
>>
>> #0 file_dup (new_file=0xbfd296d4, old_file=0x0, p=0x80a70a8,
>> which_dup=1) at file_io/unix/filedup.c:59
>> #1 0xb5dec184 in modperl_hook_post_config_last (pconf=0x80a70a8,
>> plog=0x80d7168, ptemp=0x80d9170, s=0x80acc58) at mod_perl.c:704
>> #2 0x0807a572 in ap_run_post_config (pconf=0x80a70a8, plog=0x80d7168,
>> ptemp=0x80d9170, s=0x80acc58) at config.c:91
>> #3 0x08066d82 in main (argc=37, argv=0xbfd29864) at main.c:680
>>
>>
>> This report was generated by /usr/bin/mp2bug on Sat Mar 19 16:03:48 2011
>> GMT.
>>
>> -------------8<---------- End Bug Report --------------8<----------
>>
>>
>>
>


--------------030203060004050409080806
Content-Type: text/x-vcard; charset=utf-8;
name="prz.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="prz.vcf"

begin:vcard
fn:A. Przygienda
n:Przygienda;A.
org:Zeta2 GmbH
adr:;;Via Tersaggio 20;Comano;;6949;Switzerland
email;internet:prz@zeta2.ch
title:Dr.
tel;work:+41919402767
tel;fax:+41919402768
tel;cell:+41792985900
x-mozilla-html:TRUE
url:www.zeta2.ch
version:2.1
end:vcard


--------------030203060004050409080806--

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0,p=0x80a70a8, which_dup=1) at file_io

am 05.05.2011 15:58:41 von prz

This is a multi-part message in MIME format.
--------------050703080301000308040302
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Same problem on 2.0.5 and gentoo 2010

That's how I run it

r -D SSL -D SSL_DEFAULT_VHOST -D DEFAULT_VHOST -D INFO -D DAV -D DAV_FS
-D CACHE -D MEM_CACHE -D PHP5 -D PERL_VHOST -D PYTHON -D STATUS -D PROXY
-D PROXY_HTML -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -E
/var/log/apache2/startuperror.log -k start


core_module (static)
mpm_itk_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
auth_basic_module (shared)
authn_alias_module (shared)
authn_anon_module (shared)
authn_dbm_module (shared)
authn_default_module (shared)
authn_file_module (shared)
authz_dbm_module (shared)
authz_default_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cache_module (shared)
cgi_module (shared)
cgid_module (shared)
dav_module (shared)
dav_fs_module (shared)
dav_lock_module (shared)
deflate_module (shared)
dir_module (shared)
disk_cache_module (shared)
env_module (shared)
expires_module (shared)
ext_filter_module (shared)
file_cache_module (shared)
filter_module (shared)
headers_module (shared)
include_module (shared)
info_module (shared)
log_config_module (shared)
logio_module (shared)
mem_cache_module (shared)
mime_module (shared)
mime_magic_module (shared)
negotiation_module (shared)
proxy_module (shared)
proxy_connect_module (shared)
proxy_http_module (shared)
rewrite_module (shared)
setenvif_module (shared)
speling_module (shared)
ssl_module (shared)
status_module (shared)
unique_id_module (shared)
usertrack_module (shared)
vhost_alias_module (shared)
proxy_html_module (shared)
php5_module (shared)
python_module (shared)
perl_module (shared)


--------------050703080301000308040302
Content-Type: text/x-vcard; charset=utf-8;
name="prz.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="prz.vcf"

begin:vcard
fn:A. Przygienda
n:Przygienda;A.
org:Zeta2 GmbH
adr:;;Via Tersaggio 20;Comano;;6949;Switzerland
email;internet:prz@zeta2.ch
title:Dr.
tel;work:+41919402767
tel;fax:+41919402768
tel;cell:+41792985900
x-mozilla-html:TRUE
url:www.zeta2.ch
version:2.1
end:vcard


--------------050703080301000308040302--

Re: Bug report: #0 file_dup (new_file=0xbfd296d4, old_file=0x0,p=0x80a70a8, which_dup=1) at file_io

am 05.05.2011 16:24:36 von prz

This is a multi-part message in MIME format.
--------------090402030807020007010405
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

After experimenting around, the reason is the global directive
I use (perfectly valid)

ErrorLog syslog:local6

that crashes

#ifdef MP_TRACE
/* httpd core open_logs handler re-opens s->error_log, which might
* change, even though it still points to the same physical file
* (.e.g on win32 the filehandle will be different. Therefore
* reset the tracing logfile setting here, since this is the
* earliest place, happening after the open_logs phase.
*
* Moreover, we need to dup the filehandle so that when the server
* shuts down, we will be able to log to error_log after Apache
* has closed it (which happens too early for our likening).
*/
{
apr_file_t *dup;
MP_RUN_CROAK(apr_file_dup(&dup, s->error_log, pconf),
"mod_perl core post_config");
modperl_trace_logfile_set(dup);
}
#endif


since s->error_log is NULL

not sure how to fix that one though

-- tony



On 05/05/2011 03:58 PM, A. Przygienda wrote:
> Same problem on 2.0.5 and gentoo 2010
>
> That's how I run it
>
> r -D SSL -D SSL_DEFAULT_VHOST -D DEFAULT_VHOST -D INFO -D DAV -D DAV_FS
> -D CACHE -D MEM_CACHE -D PHP5 -D PERL_VHOST -D PYTHON -D STATUS -D PROXY
> -D PROXY_HTML -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -E
> /var/log/apache2/startuperror.log -k start
>
>
> core_module (static)
> mpm_itk_module (static)
> http_module (static)
> so_module (static)
> actions_module (shared)
> alias_module (shared)
> auth_basic_module (shared)
> authn_alias_module (shared)
> authn_anon_module (shared)
> authn_dbm_module (shared)
> authn_default_module (shared)
> authn_file_module (shared)
> authz_dbm_module (shared)
> authz_default_module (shared)
> authz_groupfile_module (shared)
> authz_host_module (shared)
> authz_owner_module (shared)
> authz_user_module (shared)
> autoindex_module (shared)
> cache_module (shared)
> cgi_module (shared)
> cgid_module (shared)
> dav_module (shared)
> dav_fs_module (shared)
> dav_lock_module (shared)
> deflate_module (shared)
> dir_module (shared)
> disk_cache_module (shared)
> env_module (shared)
> expires_module (shared)
> ext_filter_module (shared)
> file_cache_module (shared)
> filter_module (shared)
> headers_module (shared)
> include_module (shared)
> info_module (shared)
> log_config_module (shared)
> logio_module (shared)
> mem_cache_module (shared)
> mime_module (shared)
> mime_magic_module (shared)
> negotiation_module (shared)
> proxy_module (shared)
> proxy_connect_module (shared)
> proxy_http_module (shared)
> rewrite_module (shared)
> setenvif_module (shared)
> speling_module (shared)
> ssl_module (shared)
> status_module (shared)
> unique_id_module (shared)
> usertrack_module (shared)
> vhost_alias_module (shared)
> proxy_html_module (shared)
> php5_module (shared)
> python_module (shared)
> perl_module (shared)
>


--------------090402030807020007010405
Content-Type: text/x-vcard; charset=utf-8;
name="prz.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="prz.vcf"

begin:vcard
fn:A. Przygienda
n:Przygienda;A.
org:Zeta2 GmbH
adr:;;Via Tersaggio 20;Comano;;6949;Switzerland
email;internet:prz@zeta2.ch
title:Dr.
tel;work:+41919402767
tel;fax:+41919402768
tel;cell:+41792985900
x-mozilla-html:TRUE
url:www.zeta2.ch
version:2.1
end:vcard


--------------090402030807020007010405--