Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202965 - x11-terms/rxvt-unicode-8.4 and -8.8 both segfault if compiled with media-libs/libafterimage precomiled/-support on hardened
Summary: x11-terms/rxvt-unicode-8.4 and -8.8 both segfault if compiled with media-libs...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-21 21:52 UTC by Thomas Sachau
Modified: 2008-02-23 00:36 UTC (History)
0 users

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 Thomas Sachau gentoo-dev 2007-12-21 21:52:11 UTC
enter: urxvt
result from kern.log: urxvt[22788]: segfault at 000000009e83f300 rip 0000309c94d1bc40 rsp 00007760c96f2278 error 6
Dec 21 22:39:22 CdF grsec: signal 11 sent to /usr/bin/urxvt[urxvt:22788] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/enlightenment[enlightenment:10129] uid/euid:1000/1000 gid/egid:1000/1000
Dec 21 22:39:22 CdF grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/urxvt[urxvt:22788] uid/euid:1000/1000 gid/egid:1000/1000, parent /usr/bin/enlightenment[enlightenment:10129] uid/euid:1000/1000 gid/egid:1000/1000

expected result: new open term

if i remove libafterimage from rxvt-unicode deps and compile it without libafterimage-support, it does start and work again.

This is with ~amd64-keyword and hardened system.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-21 21:55:47 UTC
Stick a backtrace here and post emerge --info please.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 2 Thomas Sachau gentoo-dev 2007-12-21 22:17:37 UTC
backtrace  will follow when done, emerge --info:

Portage 2.1.4_rc10 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.7-r1, 2.6.23-hardened-r3 x86_64)
=================================================================
System uname: 2.6.23-hardened-r3 x86_64 AMD Turion(tm) 64 Mobile Technology ML-34
Timestamp of tree: Fri, 21 Dec 2007 01:47:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch usersandbox"
GENTOO_MIRRORS="http://192.168.178.22 ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://192.168.178.22/gentoo-portage"
USE="X alsa amd64 berkdb bzip2 cracklib crypt hardened justify midi nls nptl nptlonly opengl pam pic readline sse sse2 ssl unicode urandom xorg zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Thomas Sachau gentoo-dev 2007-12-22 17:38:18 UTC
seems like i am not able to give a backtrace, compiled libafterimage and rxvt-unicode with following added: CFLAG "-ggdb", FEATURES "stripdebug" LDFLAGS "-nopie", but only get the following:

GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/urxvt 
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7af163fd0000

Program exited with code 0352.
(gdb) bt
No stack.
(gdb) 
Comment 4 solar (RETIRED) gentoo-dev 2007-12-22 18:57:08 UTC
I see nothing in the bug that is unique to hardened. 
Reassigning to the maintainer.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-02-23 00:36:32 UTC
Not really enough info to debug anything here.