Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 365121 - x11-wm/compiz-0.8.6 w/ sys-apps/dbus-1.4.8: arguments to dbus_message_iter_append_basic() were incorrect, assertion "*bool_p == 0 || *bool_p == 1" failed
Summary: x11-wm/compiz-0.8.6 w/ sys-apps/dbus-1.4.8: arguments to dbus_message_iter_ap...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Desktop-Effects herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-27 18:17 UTC by thunderrd
Modified: 2011-11-12 20:11 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 thunderrd 2011-04-27 18:17:27 UTC
Compiz will not start after update of dbus and rebuilding against the new version.  If dbus plugin is switched off in compiz-config-settings-manager, it starts properly.  If Compiz is built against dbus-1.4.8 with dbus use flag disabled, startup is also OK.  Apparently, the dbus use flag is enabled by default.  No problem exists with sys-apps/dbus-1.4.6

Reproducible: Always

Steps to Reproduce:
1. emerge sys-apps/dbus 
2. restart dbus
3. emerge compiz
4. attempt to start compiz
Actual Results:  
Compiz fails to start.  GUI is present, but no Compiz effects

Expected Results:  
Should start as before with dbus-1.4.6

Q6600 ~ # emerge --info
Portage 2.2.0_alpha24_p25 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.38-ck x86_64)
=================================================================
System uname: Linux-2.6.38-ck-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 27 Apr 2011 17:15:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
Repositories: gentoo BZ-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.tw.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amd64codecs berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt css cups cxx dbus device-mapper directfb dri dts dvd dvdr emboss emerald encode exif fam fbcondecor ffmpeg firefox flac fortran gdbm gdu gif gnutls gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify lm_sensors lock mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline samba sdl session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd threads thunar tiff truetype udev unicode usb uuid vorbis x264 xcb xcomposite xfce xml xorg xulrunner xv xvid 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 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" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 thunderrd 2011-04-27 18:20:33 UTC
Q6600 ~ # emerge --info
Portage 2.2.0_alpha24_p25 (default/linux/amd64/10.0/desktop, gcc-4.5.2, libc-0-r0, 2.6.38-ck x86_64)
=================================================================
System uname: Linux-2.6.38-ck-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 27 Apr 2011 17:15:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.38
virtual/os-headers:  0
Repositories: gentoo BZ-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.aditsu.net:8000/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.tw.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amd64codecs berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt css cups cxx dbus device-mapper directfb dri dts dvd dvdr emboss emerald encode exif fam fbcondecor ffmpeg firefox flac fortran gdbm gdu gif gnutls gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify lm_sensors lock mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support readline samba sdl session spell sse sse2 ssl startup-notification svg symlink sysfs tcpd threads thunar tiff truetype udev unicode usb uuid vorbis x264 xcb xcomposite xfce xml xorg xulrunner xv xvid 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 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" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-04-27 18:24:19 UTC
Try to find some debug/warning/error output, like from tty1 or ~/.xsession-errors, other than "It doesn't work." please.
Comment 3 thunderrd 2011-04-27 18:49:09 UTC
I neglected to say this is using the stable Compiz-0.8.6 in portage, and in addition to Compiz not starting, I lose use of the keyboard in terminal windows, so pasting things becomes a problem.

However, I do have this from tty1:

process 2040: arguments to dbus_message_iter_append_basic() were incorrect, assertion "*bool_p == 0 || *bool_p == 1" failed in file /var/tmp/portage/sys-apps/dbus-1.4.8/work/dbus-1.4.8/dbus_message.c line 2541
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-04-28 06:31:08 UTC
(In reply to comment #3)
> I neglected to say this is using the stable Compiz-0.8.6 in portage, and in
> addition to Compiz not starting, I lose use of the keyboard in terminal
> windows, so pasting things becomes a problem.
> 
> However, I do have this from tty1:
> 
> process 2040: arguments to dbus_message_iter_append_basic() were incorrect,
> assertion "*bool_p == 0 || *bool_p == 1" failed in file
> /var/tmp/portage/sys-apps/dbus-1.4.8/work/dbus-1.4.8/dbus_message.c line 2541

These type of errors are usually caused by the application itself, not dbus. Do you have possibility of trying newer compiz?
Comment 5 thunderrd 2011-04-28 11:48:11 UTC
I wouldn't mind trying a newer version, but latest in portage is 0.8.6, so I have been waiting for a newer version in the tree.  There are development versions(0.9.x) in the DE overlay, but I'm not sure if I want to go there until they mature a bit.

Incidentally, I attempted to troubleshoot this with the help of one of the Compiz devs on #compiz-dev, and after much was done with no success, he requested that I file a Gentoo bug on the issue.  Apparently Ubuntu Natty ships with dbus-1.4.6 ATM, so this particular problem will show up in time if it is a real problem.  

My experience in this case exhibits absolutely no problems with dbus-1.4.6, and this is a 2-year old installation. How many times has dbus been updated in that time, I wonder?

This is the first time I'm filing a bug, so I apologize if it's not as "professional" as my future bugs will be  :)  Thanks, ssuominen.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2011-04-28 13:47:02 UTC
I'll wait for compiz maintainers to push something more recent in tree too before even trying to debug this... It's rather pointless to test deprecated version.
Comment 7 mephinet 2011-06-22 08:00:43 UTC
Reproducible on Gentoo Base System release 2.0.2 on x86_64: After upgrading to sys-apps/dbus-1.4.12, Xorg becomes completely unusable as compiz fails to start with the assertion mentioned above.

To get back to a working setup, log in on the console, and remove dbus from the active plugins list in ~/.config/compiz/compizconfig/Default.ini, then restart xdm.
Comment 8 Randy Barlow 2011-07-04 16:29:45 UTC
I also experienced this problem after upgrading to dbus 1.4.12, and I can confirm that disabling the compiz dbus plugin allows compiz to run.
Comment 9 David J Cozatt 2011-07-10 10:18:08 UTC
Using compiz-fusion-0.8.8 which is the stable version I do not have this issue

[ebuild   R    ] x11-wm/compiz-0.8.8  USE="cairo dbus fuse gnome gtk svg -gconf -kde" 0 kB [?=>1]

[ebuild   R    ] sys-apps/dbus-1.4.12  USE="X doc test -debug (-selinux) -static-libs" 0 kB
Comment 10 Bernd Waibel 2011-07-21 04:48:33 UTC
I can confirm this bug after upgrading to dbus 1.4.12. Deactivating the dbus plugin from within ccsm worked for me.
Comment 11 Bernd Waibel 2011-07-21 04:50:14 UTC
(In reply to comment #9)
> Using compiz-fusion-0.8.8 which is the stable version I do not have this issue

Are you using amd64? For me compiz-fusion-0.8.6 is the latest stable release.
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2011-11-11 22:56:48 UTC
0.8.6 won't be fixed anymore and all work should be put into bug 363321

removed USE dbus from 0.8.6
Comment 13 Samuel Bauer 2011-11-12 20:11:55 UTC
Just recompiled compiz using the old ebuild (dbus enabled)
compiz works fine (with dbus plugin enabled)

Why removing the use flag when user having this problem can just disable the dbus plugin ?

better is waiting for the newer version.