Bug #30799 Segfault after login
Description:
I've installed the software, configured, etc but when logging in, it gives me a blank page to download (view.php) and further inspecting the issue I found out that httpd child is segfaulting:
Sep 4 17:47:47 scoop kernel: httpd2-prefork[16943]: segfault at 00007fffaf9c6ff8 rip 00002aabfd55c78b rsp 00007fffaf9c7048 error 6
I meet (hopefully) all software requirements, here is some info:
# php5 -i|grep configure
Configure Command => '../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib64' '--includedir=/usr/include' '--sysconfdir=/etc/php5/cli' '--with-config-file-path=/etc/php5/cli' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib64/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--enable-sigchild' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--enable-zend-multibyte' '--disable-rpath' '--enable-cli' '--with-pear=/usr/share/php5/PEAR' '--enable-bcmath=shared' '--enable-calendar=shared' '--enable-ctype=shared' '--enable-dbase=shared' '--enable-dom=shared' '--enable-exif=shared' '--enable-filepro=shared' '--enable-ftp=shared' '--enable-mbstring=shared' '--enable-mbregex' '--enable-pcntl=shared' '--enable-posix=shared' '--enable-shmop=shared' '--enable-ucd-snmp-hack' '--enable-soap=shared' '--enable-sockets=shared' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-tokenizer=shared' '--enable-wddx=shared' '--with-zlib=shared' '--with-bz2=shared' '--with-curl=shared' '--with-gd=shared' '--enable-gd-jis-conv' '--enable-gd-native-ttf' '--with-xpm-dir=/usr/X11R6' '--with-freetype-dir=/usr' '--with-ttf' '--with-png-dir=/usr' '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr' '--with-gettext=shared' '--with-gmp=shared' '--with-iconv=shared' '--with-imap=shared' '--with-kerberos' '--with-imap-ssl' '--with-ldap=shared' '--with-ldap-sasl=/usr' '--with-mcrypt=shared' '--with-mhash=shared' '--with-mysql=shared,/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=shared' '--with-ncurses=shared' '--with-unixODBC=shared,/usr' '--with-openssl=shared' '--with-pgsql=shared' '--with-pspell=shared' '--with-snmp=shared' '--with-xmlrpc=shared' '--enable-xmlreader=shared' '--enable-xmlwriter=shared' '--with-xsl=shared' '--with-tidy=shared,/usr' '--enable-dba=shared' '--with-db4=/usr' '--without-gdbm' '--with-cdb' '--with-inifile' '--with-flatfile' '--enable-pdo=shared' '--with-pdo_sqlite=shared' '--with-pdo-mysql=shared,/usr' '--with-pdo-pgsql=shared,/usr' '--with-sqlite=shared' '--enable-sqlite-utf8' '--disable-cgi'
# mysql -V
mysql Ver 14.12 Distrib 5.0.18, for suse-linux (x86_64) using readline 5.1
# php5 -v
PHP 5.1.2 (cli) (built: May 2 2006 10:19:57)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
# uname -ar
Linux scoop 2.6.16.13-4-smp #1 SMP Wed May 3 04:53:23 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
First I thought the issue was with apache and some mime types (view.php being downloaded) but after that segfault it's clear that's not the case. I wanted to give it a try using gdb but my knowledge with it is limited and I'm not aware how to trace that single child process that segfaults. I'm guessing the issue is somewhere within system or how Eventum calls stuff after login is processed.
Running files manually from CLI worked fine, however I kept getting login page so couldn't actually test why view.php fails. No other errors reported except that segfault. (E_ALL enabled)
If I change URL to http://URL/eventum/view.php after I get that page to download, I can view stuff:
Error: The issue # could not be found.
Go Back
but as soon as I try and view a specific issue #, I get segfault and page to download.
How to repeat:
Probably matching exact PHP version on a x86_64 would be enough to replicate the issue.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.