Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 520394 - Apache segfaults when uploading certain files through php
Summary: Apache segfaults when uploading certain files through php
Status: RESOLVED DUPLICATE of bug 520268
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-21 10:38 UTC by Robert S
Modified: 2014-08-21 11:37 UTC (History)
0 users

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


Attachments
error in /var/log/apache2/error_log (apache_error.txt,44.14 KB, text/plain)
2014-08-21 10:38 UTC, Robert S
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert S 2014-08-21 10:38:42 UTC
Created attachment 383262 [details]
error in /var/log/apache2/error_log

I discovered this bug when I was trying to upload a file into roundcube, when composing a message.  Certain types of file (not word documents?!) generate this error.  I've attached the log.

# emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-AMD_FX-tm-4100_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     7651428 total,   1784976 free
KiB Swap:    2025196 total,   2024612 free
Timestamp of tree: Wed, 20 Aug 2014 18:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gbin niftyrepo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/lvm/extra/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gbin /var/lib/layman/niftyrepo /usr/local/portage"
USE="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv mmx modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

 # equery uses apache
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for www-servers/apache-2.2.27-r4:
 U I
 + + apache2_modules_actions         : Provides for executing CGI scripts based on media type or request method
 + + apache2_modules_alias           : Provides for mapping different parts of the host filesystem in the document tree and for URL redirection
 - - apache2_modules_asis            : Sends files that contain their own HTTP headers
 + + apache2_modules_auth_basic      : Basic authentication
 - - apache2_modules_auth_digest     : User authentication using MD5 Digest Authentication
 + + apache2_modules_authn_alias     : Provides the ability to create extended authentication providers based on actual providers
 + + apache2_modules_authn_anon      : Allows "anonymous" user access to authenticated areas
 - - apache2_modules_authn_dbd       : User authentication using an SQL database
 + + apache2_modules_authn_dbm       : User authentication using DBM files
 + + apache2_modules_authn_default   : Authentication fallback module
 + + apache2_modules_authn_file      : User authentication using text files
 + + apache2_modules_authz_dbm       : Group authorization using DBM files
 + + apache2_modules_authz_default   : Authorization fallback module
 + + apache2_modules_authz_groupfile : Group authorization using plaintext files
 + + apache2_modules_authz_host      : Group authorizations based on host (name or IP address)
 + + apache2_modules_authz_owner     : Authorization based on file ownership
 + + apache2_modules_authz_user      : User Authorization
 + + apache2_modules_autoindex       : Generates directory indexes, automatically, similar to the Unix ls command
 + + apache2_modules_cache           : Content cache keyed to URIs
 - - apache2_modules_cern_meta       : CERN httpd metafile semantics
 + + apache2_modules_cgi             : Enable CGI module (used by non-multithreaded MPMs, for eg. prefork)
 + + apache2_modules_cgid            : Enable CGI module (used by multithreaded MPMs, for eg. worker)
 - - apache2_modules_charset_lite    : Specify character set translation or recoding
 + + apache2_modules_dav             : Distributed Authoring and Versioning (WebDAV) functionality
 + + apache2_modules_dav_fs          : filesystem provider for mod_dav
 + + apache2_modules_dav_lock        : generic locking module for mod_dav
 - - apache2_modules_dbd             : Manages SQL database connections
 + + apache2_modules_deflate         : Compress content before it is delivered to the client
 + + apache2_modules_dir             : Provides for "trailing slash" redirects and serving directory index files
 + + apache2_modules_disk_cache      : Content cache storage manager keyed to URIs
 - - apache2_modules_dumpio          : Dumps all I/O to error log as desired
 + + apache2_modules_env             : Modifies the environment which is passed to CGI scripts and SSI pages
 + + apache2_modules_expires         : Generation of Expires and Cache-Control HTTP headers according to user-specified criteria
 + + apache2_modules_ext_filter      : Pass the response body through an external program before delivery to the client
 + + apache2_modules_file_cache      : Caches a static list of files in memory
 + + apache2_modules_filter          : Context-sensitive smart filter configuration module
 + + apache2_modules_headers         : Customization of HTTP request and response headers
 - - apache2_modules_ident           : RFC 1413 ident lookups
 - - apache2_modules_imagemap        : Server-side imagemap processing
 + + apache2_modules_include         : Server-parsed html documents (Server Side Includes)
 + + apache2_modules_info            : Provides a comprehensive overview of the server configuration
 + + apache2_modules_log_config      : Logging of the requests made to the server
 - - apache2_modules_log_forensic    : Forensic Logging of the requests made to the server
 + + apache2_modules_logio           : Logging of input and output bytes per request
 + + apache2_modules_mem_cache       : Content cache keyed to URIs
 + + apache2_modules_mime            : Associates the requested filename's extensions with the file's behavior (handlers and filters) and content (mime-type,
                                       language, character set and encoding)
 + + apache2_modules_mime_magic      : Determines the MIME type of a file by looking at a few bytes of its contents
 + + apache2_modules_negotiation     : Provides for content negotiation
 + + apache2_modules_proxy           : HTTP/1.1 proxy/gateway server
 - - apache2_modules_proxy_ajp       : AJP support module for mod_proxy
 - - apache2_modules_proxy_balancer  : mod_proxy extension for load balancing
 - - apache2_modules_proxy_connect   : mod_proxy extension for CONNECT request handling
 - - apache2_modules_proxy_ftp       : FTP support module for mod_proxy
 + + apache2_modules_proxy_http      : HTTP support module for mod_proxy
 - - apache2_modules_proxy_scgi      : SCGI gateway module for mod_proxy
 - - apache2_modules_reqtimeout      : Set timeout and minimum data rate for receiving requests
 + + apache2_modules_rewrite         : Provides a rule-based rewriting engine to rewrite requested URLs on the fly
 + + apache2_modules_setenvif        : Allows the setting of environment variables based on characteristics of the request
 + + apache2_modules_speling         : Attempts to correct mistaken URLs that users might have entered by ignoring capitalization and by allowing up to one
                                       misspelling
 + + apache2_modules_status          : Provides information on server activity and performance
 - - apache2_modules_substitute      : Perform search and replace operations on response bodies
 + + apache2_modules_unique_id       : Provides an environment variable with a unique identifier for each request
 + + apache2_modules_userdir         : User-specific directories
 + + apache2_modules_usertrack       : Clickstream logging of user activity on a site
 - - apache2_modules_version         : Version dependent configuration
 + + apache2_modules_vhost_alias     : Provides for dynamically configured mass virtual hosting
 - - apache2_mpms_event              : An experimental variant of the standard worker MPM
 - - apache2_mpms_itk                : Allows to run each virtual host under a separate uid and gid
 - - apache2_mpms_peruser            : Peruser is a working implementation of the perchild MPM allowing to run each apache child process as its own user and group,
                                       each handling its own set of virtual hosts
 - - apache2_mpms_prefork            : Implements a non-threaded, pre-forking web server
 - - apache2_mpms_worker             : Multi-Processing Module implementing a hybrid multi-threaded multi-process web server
 - - debug                           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                                       http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc                             : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - ldap                            : Add LDAP support (Lightweight Directory Access Protocol)
 + + ssl                             : Add support for Secure Socket Layer connections
 - - static                          : Link in apache2 modules statically rather then plugins
 - - suexec                          : Install suexec with apache
 - - threads                         : Add threads support for various packages. Usually pthreads
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-21 11:37:57 UTC

*** This bug has been marked as a duplicate of bug 520268 ***