[Bug 504856] New: loading Apache2::=?UTF-8?Q?Request=20crashes=20with=20=C2=BBundefined=20symbol?=:=?UTF-8?Q?=20apreq=5Fhook=5Fdisable=5Fuploads=C2=AB?=
http://bugzilla.novell.com/show_bug.cgi?id=504856 Summary: loading Apache2::Request crashes with »undefined symbol: apreq_hook_disable_uploads« Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: lars.dieckow@googlemail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.10) Gecko/2009042700 SUSE/3.0.10-2.1 Firefox/3.0.10 1. add the repo http://download.opensuse.org/repositories/Apache:/Modules/openSUSE_11.1 (note: perl-Apache2-Request is only available from here) 2. install the package perl-Apache2-Request and its direct dependency apache2-mod_perl (note: apache2-mod_perl is not automatically selected) 3. In a terminal, execute the command: /usr/bin/perl -e'use Apache2::Request; my $r = Apache2::Request->new' Perl crashes with the following error message. Can't load '/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/APR/Request/Request.so' for module APR::Request: /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/auto/APR/Request/Request.so: undefined symbol: apreq_hook_disable_uploads at /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/DynaLoader.pm line 203. at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/APR/Request/Param.pm line 27 Compilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/APR/Request/Param.pm line 27. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/APR/Request/Param.pm line 27. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Apache2/Requestpm line 2. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/Apache2/Requestpm line 2. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. Reproducible: Always Expected Results: No crash caused by undefined symbols. :) The following software stack is installed (note: as of now, the most current version of everything): (update) perl-5.10.0-62.17.1 (oss) apache2-2.2.10-2.5 (oss) apache2-mod_perl-2.0.4-40.12 (oss) apache2-utils-2.2.10-2.5 (oss) apache2-worker-2.2.10-2.5 (oss) libapr1-1.3.3-12.1 (oss) libapr-util1-1.3.4-13.1 (Apache:Modules) perl-Apache2-Request-2.12-5.1 Crash also occurs with (Apache:Modules) apache2-mod_perl-2.3.99-1.1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504856 http://bugzilla.novell.com/show_bug.cgi?id=504856#c1 Konstantin Neshin <b.m.kast@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b.m.kast@gmail.com --- Comment #1 from Konstantin Neshin <b.m.kast@gmail.com> 2010-06-25 09:32:58 UTC --- Probably related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573062. The patch can be ported with minimal effort to openSUSE. I'll attach the ported version to the next message. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=504856 http://bugzilla.novell.com/show_bug.cgi?id=504856#c2 --- Comment #2 from Konstantin Neshin <b.m.kast@gmail.com> 2010-06-25 09:37:47 UTC --- Created an attachment (id=371744) --> (http://bugzilla.novell.com/attachment.cgi?id=371744) A patch ported from Debian bugzilla http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573062 The patch is almost identical to the one described on the page linked above. I've changed just two lines from 'cd perl; $(MAKE) install' to 'cd perl; $(MAKE) install_vendor' in order to make it work for OBS RPM. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=504856 https://bugzilla.novell.com/show_bug.cgi?id=504856#c3 Roman Drahtmueller <draht@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |draht@novell.com AssignedTo|bnc-team-apache@forge.provo |anicka@novell.com |.novell.com | --- Comment #3 from Roman Drahtmueller <draht@novell.com> 2010-11-11 15:51:31 UTC --- This is package apache2-mod_perl . If an update is planned, it can happen independently from any apache2 update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=504856 https://bugzilla.novell.com/show_bug.cgi?id=504856#c4 --- Comment #4 from Roman Drahtmueller <draht@novell.com> 2010-11-11 15:53:10 UTC --- ..and, by-the-way, the patch looks good: http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/Makefile.am?r1=733406&r2=733405&pathrev=733406 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=504856 https://bugzilla.novell.com/show_bug.cgi?id=504856#c Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=504856 https://bugzilla.novell.com/show_bug.cgi?id=504856#c5 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #5 from Anna Bernathova <anicka@novell.com> 2010-11-15 17:39:41 UTC --- Roman, there is no need to do the update. The problem is just in the package apache2-mod_apreq2 from Apache:Modules, it never appeared in a openSUSE distribution - upstream says that Apache::Request is not production ready and they probably know why. Anyway, the bug seems to be fixed in Apache:Modules - I think there is actually nothing more to do there. Feel free to reopen if I am wrong. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=504856 https://bugzilla.novell.com/show_bug.cgi?id=504856#c6 Lars Dɪᴇᴄᴋᴏᴡ <daxim@cpan.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|Apache |Apache Resolution|INVALID | AssignedTo|anicka@novell.com |bnc-team-apache@forge.provo | |.novell.com Product|openSUSE 11.1 |openSUSE 11.4 OS/Version|openSUSE 11.1 |SuSE Other --- Comment #6 from Lars Dɪᴇᴄᴋᴏᴡ <daxim@cpan.org> 2011-03-21 12:16:24 UTC --- The bug was not fixed upstream, Comment 5 is wrong. The patch from Comment 2 was not included in the source RPM, cf. <http://download.opensuse.org/repositories/Apache:/Modules/openSUSE_11.4/src/libapreq2-3-2.13-4.3.src.rpm>. I created my own package based on that source, added the patch, added »export NO_BRP_CHECK_RPATH=true« to the spec file to ignore the rpath errors (I have no idea how to properly fix this problem.) It is available from OBS in the home:ldieckow repo. After installing the resulting 3 non-devel RPMs, /usr/bin/perl -e'use Apache2::Request; my $r = Apache2::Request->new' does not crash with »undefined symbol: apreq_hook_disable_uploads« anymore. Instead it crashes now with: /usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/auto/APR/Request/Apache2/Apache2.so: undefined symbol: modperl_xs_sv2request_rec -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com