Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253347 - x11-wm/compiz-fusion-0.7.8 - crashes with "double free or corruption"
Summary: x11-wm/compiz-fusion-0.7.8 - crashes with "double free or corruption"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 12:52 UTC by Marc Blumentritt
Modified: 2009-04-03 18:08 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 Marc Blumentritt 2009-01-01 12:52:58 UTC
Hi,

I use xfce and want to start compiz-fusion with emerald via the new compiz-manager. I get the following error:

marc@hive ~ $ compiz-manager
Checking for Xgl: not present. 
Detected PCI ID for VGA: 01:00.0 0300: 10de:0421 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present. 
Checking for non power of two support: present. 
Checking for Composite extension: present. 
Comparing resolution (1280x1024) to maximum 3D texture size (8192): Passed.
Checking for nVidia: present. 
Checking for FBConfig: present. 
Checking for Xgl: not present. 
Starting emerald


^C*** glibc detected *** /usr/bin/compiz: double free or corruption (!prev): 0x08136328 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7aba540]
/lib/libc.so.6(cfree+0x89)[0xb7abc259]
//usr//lib/opengl/nvidia/lib/libGL.so.1[0xb7cfa0e1]
======= Memory map: ========
08048000-0807a000 r-xp 00000000 fd:00 558380     /usr/bin/compiz
0807a000-0807b000 r--p 00031000 fd:00 558380     /usr/bin/compiz
0807b000-0807c000 rw-p 00032000 fd:00 558380     /usr/bin/compiz
0807c000-081f5000 rw-p 0807c000 00:00 0          [heap]
b5416000-b541e000 r-xp 00000000 08:03 82033      /lib/libnss_files-2.6.1.so
b541e000-b541f000 r--p 00007000 08:03 82033      /lib/libnss_files-2.6.1.so
b541f000-b5420000 rw-p 00008000 08:03 82033      /lib/libnss_files-2.6.1.so
b5420000-b5428000 r-xp 00000000 08:03 32768      /lib/libnss_nis-2.6.1.so
b5428000-b5429000 r--p 00007000 08:03 32768      /lib/libnss_nis-2.6.1.so
b5429000-b542a000 rw-p 00008000 08:03 32768      /lib/libnss_nis-2.6.1.so
b542a000-b543d000 r-xp 00000000 08:03 82026      /lib/libnsl-2.6.1.so
b543d000-b543e000 r--p 00012000 08:03 82026      /lib/libnsl-2.6.1.so
b543e000-b543f000 rw-p 00013000 08:03 82026      /lib/libnsl-2.6.1.so
b543f000-b5441000 rw-p b543f000 00:00 0 
b5441000-b5447000 r-xp 00000000 08:03 32876      /lib/libnss_compat-2.6.1.so
b5447000-b5448000 r--p 00005000 08:03 32876      /lib/libnss_compat-2.6.1.so
b5448000-b5449000 rw-p 00006000 08:03 32876      /lib/libnss_compat-2.6.1.so
b5449000-b545d000 r-xp 00000000 08:03 32919      /lib/libpthread-2.6.1.so
b545d000-b545e000 r--p 00013000 08:03 32919      /lib/libpthread-2.6.1.so
b545e000-b545f000 rw-p 00014000 08:03 32919      /lib/libpthread-2.6.1.so
b545f000-b5461000 rw-p b545f000 00:00 0 
b5461000-b5499000 r-xp 00000000 fd:00 100111     /usr/lib/libgobject-2.0.so.0.1600.5
b5499000-b549a000 r--p 00037000 fd:00 100111     /usr/lib/libgobject-2.0.so.0.1600.5
b549a000-b549b000 rw-p 00038000 fd:00 100111     /usr/lib/libgobject-2.0.so.0.1600.5
b549b000-b54a2000 r-xp 00000000 08:03 32921      /lib/librt-2.6.1.so
b54a2000-b54a3000 r--p 00006000 08:03 32921      /lib/librt-2.6.1.so
b54a3000-b54a4000 rw-p 00007000 08:03 32921      /lib/librt-2.6.1.so
b54a4000-b54eb000 r-xp 00000000 fd:00 99476      /usr/lib/libORBit-2.so.0.1.0
b54eb000-b54f3000 r--p 00047000 fd:00 99476      /usr/lib/libORBit-2.so.0.1.0
b54f3000-b54f5000 rw-p 0004f000 fd:00 99476      /usr/lib/libORBit-2.so.0.1.0
b54f5000-b55bf000 r-xp 00000000 fd:00 100123     /usr/lib/libglib-2.0.so.0.1600.5
b55bf000-b55c0000 r--p 000ca000 fd:00 100123     /usr/lib/libglib-2.0.so.0.1600.5
b55c0000-b55c1000 rw-p 000cb000 fd:00 100123     /usr/lib/libglib-2.0.so.0.1600.5
b55c1000-b55e8000 r-xp 00000000 fd:00 99940      /usr/lib/libgconf-2.so.4.1.5
b55e8000-b55e9000 r--p 00027000 fd:00 99940      /usr/lib/libgconf-2.so.4.1.5
b55e9000-b55eb000 rw-p 00028000 fd:00 99940      /usr/lib/libgconf-2.so.4.1.5
b5601000-b5603000 rw-p b5601000 00:00 0 
b5603000-b5606000 r-xp 00000000 fd:00 180807     /usr/lib/compiz/libgconf.so
b5606000-b5607000 r--p 00002000 fd:00 180807     /usr/lib/compiz/libgconf.so
b5607000-b5608000 rw-p 00003000 fd:00 180807     /usr/lib/compiz/libgconf.so
b6600000-b6621000 rw-p b6600000 00:00 0 
b6621000-b6700000 ---p b6621000 00:00 0 
b67ec000-b6800000 r-xp 00000000 fd:00 99311      /usr/lib/libcompizconfig.so.0.0.0
b6800000-b6801000 r--p 00013000 fd:00 99311      /usr/lib/libcompizconfig.so.0.0.0
b6801000-b6802000 rw-p 00014000 fd:00 99311      /usr/lib/libcompizconfig.so.0.0.0
b6802000-b6805000 r-xp 00000000 fd:00 100131     /usr/lib/libgthread-2.0.so.0.1600.5
b6805000-b6806000 r--p 00003000 fd:00 100131     /usr/lib/libgthread-2.0.so.0.1600.5
b6806000-b6807000 rw-p 00004000 fd:00 100131     /usr/lib/libgthread-2.0.so.0.1600.5
b6807000-b680a000 r-xp 00000000 fd:00 99872      /usr/lib/libgmodule-2.0.so.0.1600.5
b680a000-b680b000 r--p 00002000 fd:00 99872      /usr/lib/libgmodule-2.0.so.0.1600.5
b680b000-b680c000 rw-p 00003000 fd:00 99872      /usr/lib/libgmodule-2.0.so.0.1600.5
b6815000-b6818000 r-xp 00000000 fd:00 115070     /usr/lib/compizconfig/backends/libini.so
b6818000-b6819000 r--p 00002000 fd:00 115070     /usr/lib/compizconfig/backends/libini.so
b6819000-b681a000 rw-p 00003000 fd:00 115070     /usr/lib/compizconfig/backends/libini.so
b6821000-b6a21000 rw-s 2ef2c000 00:0d 13633      /dev/nvidia0
b6b25000-b6b26000 rw-s fdc06000 00:0d 13633      /dev/nvidia0
b6c5d000-b6c66000 r-xp 00000000 fd:00 99282      /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6c66000-b6c67000 r--p 00008000 fd:00 99282      /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6c67000-b6c68000 rw-p 00009000 fd:00 99282      /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6c80000-b6cb6000 rw-p b6c80000 00:00 0 
b6cb6000-b6cd8000 rw-s 00000000 00:07 65536      /SYSV00000000 (deleted)
b6cd8000-b6cda000 rw-p b6cd8000 00:00 0 
b6cda000-b6cdb000 r-xp 00000000 fd:00 264974     /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.177.82
b6cdb000-b6cdc000 rw-p 00000000 fd:00 264974     /usr/lib/opengl/nvidia/tls/libnvidia-tls.so.177.82
b6cdc000-b78a4000 r-xp 00000000 fd:00 230530     /usr/lib/opengl/nvidia/lib/libGLcore.so.177.82
b78a4000-b7a48000 rwxp 00bc8000 fd:00 230530     /usr/lib/opengl/nvidia/lib/libGLcore.so.177.82
b7a48000-b7a53000 rwxp b7a48000 00:00 0 
b7a53000-b7a54000 rw-p b7a53000 00:00 0 
b7a54000-b7b81000 r-xp 00000000 08:03 32753      /lib/libc-2.6.1.so
b7b81000-b7b83000 r--p 0012d000 08:03 32753      /lib/libc-2.6.1.so
b7b83000-b7b84000 rw-p 0012f000 08:03 32753      /lib/libc-2.6.1.so
b7b84000-b7b87000 rw-p b7b84000 00:00 0 
b7b87000-b7bab000 r-xp 00000000 08:03 32907      /lib/libm-2.6.1.so
b7bab000-b7bac000 r--p 00023000 08:03 32907      /lib/libm-2.6.1.so
b7bac000-b7bad000 rw-p 00024000 08:03 32907      /lib/libm-2.6.1.so
b7bad000-b7baf000 r-xp 00000000 08:03 82008      /lib/libdl-2.6.1.so
b7baf000-b7bb0000 r--p 00001000 08:03 82008      /lib/libdl-2.6.1.so
b7bb0000-b7bb1000 rw-p 00002000 08:03 82008      /lib/libdl-2.6.1.so
b7bb1000-b7bbe000 r-xp 00000000 fd:00 101357     /usr/lib/libXext.so.6.4.0
b7bbe000-b7bbf000 r--p 0000c000 fd:00 101357     /usr/lib/libXext.so.6.4.0
b7bbf000-b7bc0000 rw-p 0000d000 fd:00 101357     /usr/lib/libXext.so.6.4.0
b7bc0000-b7ca2000 r-xp 00000000 fd:00 98388      /usr/lib/libX11.so.6.2.0
b7ca2000-b7ca3000 r--p 000e1000 fd:00 98388      /usr/lib/libX11.so.6.2.0
b7ca3000-b7ca6000 rw-p 000e2000 fd:00 98388      /usr/lib/libX11.so.6.2.0
b7ca6000-b7ca7000 rw-p b7ca6000 00:00 0 
b7ca7000-b7d2e000 r-xp 00000000 fd:00 230528     /usr/lib/opengl/nvidia/lib/libGL.so.177.82
b7d2e000-b7d48000 rwxp 00087000 fd:00 230528     /usr/lib/opengl/nvidia/lib/libGL.so.177.82
b7d48000-b7d4a000 rwxp b7d48000 00:00 0 
b7d4a000-b7d4e000 r-xp 00000000 fd:00 101943     /usr/lib/libXdmcp.so.6.0.0
b7d4e000-b7d4f000 r--p 00003000 fd:00 101943     /usr/lib/libXdmcp.so.6.0.0
b7d4f000-b7d50000 rw-p 00004000 fd:00 101943     /usr/lib/libXdmcp.so.6.0.0
b7d50000-b7d52000 r-xp 00000000 fd:00 101314     /usr/lib/libXau.so.6.0.0
b7d52000-b7d53000 r--p 00001000 fd:00 101314     /usr/lib/libXau.so.6.0.0
b7d53000-b7d54000 rw-p 00002000 fd:00 101314     /usr/lib/libXau.so.6.0.0
b7d54000-b7d6c000 r-xp 00000000 fd:00 100010     /usr/lib/libxcb.so.1.0.0
b7d6c000-b7d6d000 r--p 00017000 fd:00 100010     /usr/lib/libxcb.so.1.0.0
b7d6d000-b7d6e000 rw-p 00018000 fd:00 100010     /usr/lib/libxcb.so.1.0.0
b7d6e000-b7d6f000 r-xp 00000000 fd:00 100009     /usr/lib/libxcb-xlib.so.0.0.0
b7d6f000-b7d70000 r--p 00000000 fd:00 100009     /usr/lib/libxcb-xlib.so.0.0.0
b7d70000-b7d71000 rw-p 00001000 fd:00 100009     /usr/lib/libxcb-xlib.so.0.0.0
b7d71000-b7d85000 r-xp 00000000 fd:00 102152     /usr/lib/libICE.so.6.3.0
b7d85000-b7d86000 r--p 00013000 fd:00 102152     /usr/lib/libICE.so.6.3.0
b7d86000-b7d87000 rw-p 00014000 fd:00 102152     /usr/lib/libICE.so.6.3.0
b7d87000-b7d8a000 rw-p b7d87000 00:00 0 
b7d8a000-b7d91000 r-xp 00000000 fd:00 101313     /usr/lib/libSM.so.6.0.0
b7d91000-b7d92000 r--p 00006000 fd:00 101313     /usr/lib/libSM.so.6.0.0
b7d92000-b7d93000 rw-p 00007000 fd:00 101313     /usr/lib/libSM.so.6.0.0
b7d93000-b7d9a000 r-xp 00000000 fd:00 99910      /usr/lib/libstartup-notification-1.so.0.0.0
b7d9a000-b7d9b000 r--p 00006000 fd:00 99910      /usr/lib/libstartup-notification-1.so.0.0.0
b7d9b000-b7d9c000 rw-p 00007000 fd:00 99910      /usr/lib/libstartup-notification-1.so.0.0.0
b7d9c000-b7dad000 r-xp 00000000 08:03 8/usr/bin/compiz-manager: line 383: 30123 Abgebrochen             ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS
^C
[5]+  Done                    compiz-manager

Reproducible: Always

Steps to Reproduce:
1. Install xfce and compiz-fusion-0.7.8 with emerald
2. Start compiz-fusion via compiz-manager

Actual Results:  
Crash (see above)

Expected Results:  
Should work

I have this in my xorg.conf in the screen section:
Option         "AddARGBGLXVisuals" "True"

and enabled the composite extension.

I rebuild just yesterday my complete system and world.

hive ~ # emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.0
Timestamp of tree: Wed, 31 Dec 2008 11:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache digest distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
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="/var/portage"
PORTDIR_OVERLAY="/var/portage/local/layman/sunrise /var/portage/local/layman/ephemeral /var/portage/local/layman/openchrome /var/portage/local/my_ebuilds"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa arts bash-completion beagle berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dga dri dts dvd dvdr dvdread eds emboss emerald encode esd evo exif fam fbcondecor ffmpeg firefox fortran gdbm gif gimp glitz gnome gphoto2 gpm gstreamer gtk hal hvm iconv inkjar ipv6 java javascript jpeg kde libnotify lm_sensors logitech-mouse mad matroska midi mikmod mmx mmxext mono mozilla mp2 mp3 mpeg mudflap musepack ncurses nls nptl nptlonly nvidia ogg openal opengl openmp pam pcre pdf perl plotutils png postscript ppds pppd python qemu qt3support qt4 quicktime readline reflection scanner sdl session speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora thunderbird tiff tk truetype unicode usb userlocales v4l v4l2 vim-pager vim-with-x vorbis win32codecs wmf x86 xanim xcb xcomposite xface xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" CAMERAS="kodak" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marc Blumentritt 2009-01-15 13:45:32 UTC
Hi,

I tested compiz-fusion-0.7.8 with kde and gnome. With kde it is working, while with gnome I get this error:

marc@hive ~ $ compiz-manager
Checking for Xgl: not present. 
Detected PCI ID for VGA: 01:00.0 0300: 10de:0421 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present. 
Checking for non power of two support: present. 
Checking for Composite extension: present. 
Comparing resolution (1280x1024) to maximum 3D texture size (8192): Passed.
Checking for nVidia: present. 
Checking for FBConfig: present. 
Checking for Xgl: not present. 
Starting emerald
^C/usr/bin/compiz-manager: line 383: 17310 Speicherzugriffsfehler  ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS


Regards,
Marc
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-03 11:30:33 UTC
I've just commited compiz-0.8.2 to the tree. Does this also affect 0.8.2?
Comment 3 Marc Blumentritt 2009-04-03 17:48:07 UTC
(In reply to comment #2)
> I've just commited compiz-0.8.2 to the tree. Does this also affect 0.8.2?
> 

I'm sorry, but I do not use compiz-fusion anymore. Became one of those kde-4.2.1 freaks ;)

Marc
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2009-04-03 18:08:04 UTC
In that case I'm closing this bug.
If anyone can duplicate this, please reopen the bug.