Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209477

Summary: x11-misc/lavaps-2.7-r1 crashes with failed assertion
Product: Gentoo Linux Reporter: David Barnett <daviebdawg>
Component: Current packagesAssignee: Desktop Misc. Team <desktop-misc>
Status: RESOLVED WONTFIX    
Severity: normal CC: coldwind, daviebdawg
Priority: High    
Version: 2007.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Barnett 2008-02-09 23:42:35 UTC
lavaps crashes with the following failed assertion:
lavaps: process_view.cc:207: void process_view::update(): Assertion `change > 0' failed.
Aborted

I've been running the same version for years and I've never seen problems until recently. Now it crashes every 10 mins or so. The two things that changed around the same time are upgrading to kernel 2.6.23 and updating gtk+ to 2.12.5-r1.

Reproducible: Always




Portage 2.1.3.19 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Opteron(tm) Processor 142
Timestamp of tree: Sat, 09 Feb 2008 13:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
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.4_p6, 1.5, 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-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://130.59.10.34/ftp/mirror/gentoo/ ftp://130.59.10.35/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en ja"
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/sunrise /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa ao apache2 avi bash-completion berkdb bitmap-fonts cairo cdr cjk cli cracklib crypt cups dbus divx4linux dri dvd dvdr eds emboss encode fam fbcon firefox flac fortran gcj gd gdbm gif glut gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack javascript jpeg ldap libcaca mad midi mikmod mmx mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png posix ppds pppd python qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg svga tcpd tetex theora truetype truetype-fonts type1-fonts unicode vorbis win32codecs wmf x86 xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="en ja" USERLAND="GNU" VIDEO_CARDS="fglrx radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 David Barnett 2008-02-10 00:27:45 UTC
I don't think gtk has anything to do with this one. The relevant section has a comment "// hack around integer overflow", and seems to be manipulating time values.
Comment 2 Lionel Bouton 2008-02-23 20:42:27 UTC
(In reply to comment #1)
> I don't think gtk has anything to do with this one. The relevant section has a
> comment "// hack around integer overflow", and seems to be manipulating time
> values.
> 

I agree, it happens on my build (hacked to compile as explained in bug #211193) which is built with USE="-gtk".

I suppose lavaps is intimate with internal kernel structures, maybe we should ping upstream?
Comment 3 David Barnett 2008-02-23 21:22:56 UTC
It looks like upstream is a guy named John Heidemann. Should we email him directly?
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-08 19:55:51 UTC
I haven't looked it deeply, but try with x11-misc/lavaps-2.7-r2 which includes some fixes.
Comment 5 David Barnett 2008-03-09 04:10:28 UTC
I can't be sure because the crashes are intermittent, but 2.7-r2 seems to have taken care of my problem. I'll post back in the next few days if I get more crashes, but otherwise consider it taken care of.
Comment 6 David Barnett 2008-03-09 15:50:33 UTC
Oops, I had another crash with the same symptoms.

I noticed this time it happened at the same time as my music player (media-sound/exaile) switching songs, which causes a popup notification, but I'm probably just grasping at straws...
Comment 7 David Barnett 2008-05-31 23:35:53 UTC
After some observation time I can confirm that when it crashes, it almost always coincides with an OSD popup from media-sound/exaile switching songs. Once I noticed it happened the same time as something like sending an email, which might have popped up a little status window too.

Anyway, it seems to have a lot to do with what else the computer's doing at the time. Just thought I'd pass that along in case someone else has the same problem and is looking into it.
Comment 8 David Barnett 2008-06-02 02:35:09 UTC
Another little piece of the puzzle: the changes are small negative numbers (-19, -24, -27, -24...). This doesn't look like a case of integer overflow.
Comment 9 David Barnett 2008-06-07 18:26:24 UTC
For anyone interested, I found out for sure that it's not only triggered by displaying new popup windows. Emerge seemed to kill lavaps when finishing the installation of one package and moving on to another.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-06-06 08:46:53 UTC
lavaps was removed from portage wrt bug 227743, so closing this too