Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277628 - dev-libs/apr-1.3.6 cause segfaults when it was built with newer kernel headers than currently used kernel
Summary: dev-libs/apr-1.3.6 cause segfaults when it was built with newer kernel header...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Apache Team - Bugzilla Reports
URL: https://issues.apache.org/bugzilla/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-13 10:12 UTC by Ruslan U. Zakirov
Modified: 2009-07-24 22:10 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan U. Zakirov 2009-07-13 10:12:03 UTC
apr-1.3.6 cause seg fault when a child starts. Seg fault happens in apr_pollset_add. I don't have full backtrace cuz downgraded quickly. Did a little bit research on the subject and looks like it may be related to epoll limit, but I'm on linux 2.6.26 and it shouldn't be affected.

Feel free to request more info if needed.

Reproducible: Always

Steps to Reproduce:
1. configure apache for perfork
2. start in -X mode


Actual Results:  
segfault

Expected Results:  
functional one process server
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-13 16:02:05 UTC
Post the output of `emerge --info` and reopen this bug.
Comment 2 Ruslan U. Zakirov 2009-07-13 18:30:41 UTC
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.26-gentoo-r1-c27 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-c27-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Jul 2009 08:00:01 +0000
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8
dev-lang/python:     2.5.4-r2, 2.6.2-r1dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11sys-devel/binutils:  2.19.1-r1sys-devel/gcc-config: 1.4.1sys-devel/libtool:   2.2.6avirtual/os-headers:  2.6.30ACCEPT_KEYWORDS="amd64 ~amd64"CBUILD="x86_64-pc-linux-gnu"CFLAGS="-march=k8 -pipe -O2"CHOST="x86_64-pc-linux-gnu"CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/lib/X11/locale/en_US.UTF-8 /usr/share/config"CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/ge
ntoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild 
/etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/mnt/storage/var/distfiles"
FEATURES="distlocks fixpackages nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.gentoo.gr.jp"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j1"
PKGDIR="/mnt/storage/var/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/storage/var/tmp"
PORTDIR="/mnt/storage/var/portage"
PORTDIR_OVERLAY="/mnt/storage/var/layman/perl-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope dbus dga dio djvu doc dri dvd dvdr dvdread emboss encode evo exif expat fam fastcgi ffmpeg firefox flac ftp gd gdbm gif gimp gnutls gtk hal http icecast iconv icq id3 imap innodb isdnlog jpeg jpeg2k kde lcms ldap libwww lm_sensors maildir midi mikmod mime mmap mmx mozdevelop mozilla moznocompose moznoirc mozsvg mp3 mpeg mudflap multilib musepack mysql ncurses nls nntp nojoystick nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png posix postgres ppds pppd qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs syslog tcpd tiff truetype udev unicode urandom usb userlocales vim-syntax vorbis wavpack xattr xml xml2 xorg xscreensaver xsl xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias   auth_basic auth_digest authn_default authz_default authz_host authz_user        cache charset_lite deflate         deflate dir env expires file_cache filter headers info log_config       mime mime_magic rewrite setenvif status userdir unique_id usertrack version" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Dirk Best 2009-07-20 07:28:13 UTC
I have the same problem, my emerge --info:

Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.20-xen-r6 x86_64)
=================================================================
System uname: Linux-2.6.20-xen-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 20 Jul 2009 07:00:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.mirror.pw.edu.pl/"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups curl dri expat fortran gdbm gnutls gpm iconv idn imagemagick ipv6 isdnlog jpeg jpeg2k lzma lzo midi mmx mudflap multilib mysql ncurses nls nptl nptlonly offensive openmp pam pcre perl png pppd python readline reflection rle session socks5 spl sqlite sse sse2 ssl subversion svg sysfs tcpd threads tordns truetype unicode vhosts xml xmlrpc xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Downgrading to 1.3.5 fixes it.
Comment 4 Markus Ullmann (RETIRED) gentoo-dev 2009-07-21 16:25:00 UTC
Another reproduced here, setup is same with comment #3

Also on forums:
http://forums.gentoo.org/viewtopic.php?t=779798

I'd say better mask for now, we'll trash more boxes otherwise....
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-21 17:07:08 UTC
dev-libs/apr-1.3.7 will be released most likely in this week and it should fix this bug.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-07-24 22:10:20 UTC
Fixed in dev-libs/apr-1.3.7.