Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266303 - app-office/gnucash drop-down menus from accounts crashes with x11-base/xorg-server-1.5.3
Summary: app-office/gnucash drop-down menus from accounts crashes with x11-base/xorg-s...
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-15 20:22 UTC by Octavian
Modified: 2009-05-18 19:43 UTC (History)
1 user (show)

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


Attachments
Xorg showing the crash (Xorg.0.log.old,51.49 KB, text/plain)
2009-04-15 20:23 UTC, Octavian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octavian 2009-04-15 20:22:09 UTC
If I open gnucash in kde it crashed the X server as soon as everything is loaded.
If I open it in gnome it opens OK but as soon as I want to edit a split transaction it crashes. The Xorg.0.log file shows:

(**) Option "xkb_layout" "us"

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x38) [0x812d838]

Fatal server error:
Caught signal 11.  Server aborting

(II) MLK 2.4GHz 2way RF USB Combo (KBD + LD MSE) Receivers: Close
(II) UnloadModule: "evdev"
(II) MLK 2.4GHz 2way RF USB Combo (KBD + LD MSE) Receivers: Close
(II) UnloadModule: "evdev"
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) CHROME(0): VIALeaveVT
(II) CHROME(0): [drm] Cleaning up DMA ring-buffer.
(II) CHROME(0): ViaCursorStore
(II) CHROME(0): VIARestore
(II) CHROME(0): VT162xRestore
(II) CHROME(0): ViaDisablePrimaryFIFO


Reproducible: Always

Steps to Reproduce:
1. start gnucash in KDE
2. crash after all windows appear
3.

Actual Results:  
gnucash crash

Expected Results:  
gnucash staying open and being able to edit transactions.

Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-VIA_Esther_processor_1200MHz-with-glibc2.0
Timestamp of tree: Sun, 12 Apr 2009 19:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -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 /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/udev/rules.d"
CXXFLAGS="-march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.se/"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl de fr hu ro en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/sunrise /usr/portage/local/layman/arcon /usr/portage/local/layman/linsentio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa apache2 apm arts asf automount avi beagle berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups curl dbus deprecated dga dia directfb dlloader dri dts dvb dvd dvdnav dvdr dvdread eds effects emboss encode esd evo fam fbcondecor fbsplash ffmpeg fftw firefox flac foomaticdb fortran gd gdbm gif gimpprint gnokii gnome gpm gs gstreamer gtk gtkhtml h264 hal ical iconv ieee1394 imagemagick inkjar ipv6 irda isdnlog ivtv java jpeg jpeg2k kde kipi kqemu ldap libg++ libnotify libwww lirc live lm_sensors logrotate mad midi mikmod mjpeg mmx mmxext mng mono mp3 mp4 mpeg mplayer mudflap mysql ncurses network new-login nfs nls nptl nptlonly nsplugin ogg opengl openmp openntpd oss pam pcre pdf pdflib perl plotutils plugin pmu png posix postscript ppds pppd python qt3 qt3support qt4 quicktime readline reflection regex rt2500usb rtc samba scanner sdl server session sms sndfile sound spell spl sse sse2 ssl startup-notification subtitles svg symlink sysfs tcpd threads tiff tk transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd visualization vorbis webkit win32codecs x264 x86 xcomposite xext xine xinerama xml xorg xprint xscreensaver xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl de fr hu ro en_GB" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="via"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Octavian 2009-04-15 20:23:21 UTC
Created attachment 188494 [details]
Xorg showing the crash
Comment 2 Octavian 2009-04-15 20:43:08 UTC
Using 
Option     "NoAccel"                   "true"

in xorg.conf avoids the crash... 





hardware:

01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 Pro/P4M800 CE/VN800 [S3 UniChrome Pro] (rev 01)

software: 
- xf86-video-openchrome-0.2.903
- xorg-server-1.5.3-r5
- mesa-7.3-r1
- libdrm-2.4.5
- ...2.6.27-gentoo-r10 ... i686 VIA Esther processor 1200MHz CentaurHauls GNU/Linux



Comment 3 Josh Sled 2009-04-16 00:35:44 UTC
This isn't true as broadly as the summary puts it; I do not see the crash with a gnome-light-2.24/xorg-server-1.5(evdev) desktop:

jsled@phoenix [~]$ eix -Icr '^(xorg-server|nvidia-drivers|mesa|gnucash)$'
[I] app-office/gnucash (2.2.9@02/26/2009): A personal finance manager.
[I] media-libs/mesa (7.3-r1@04/12/2009): OpenGL-like graphic library for Linux
[I] x11-base/xorg-server (1.5.3-r5@04/12/2009): X.Org X servers
[I] x11-drivers/nvidia-drivers (180.44@04/12/2009): NVIDIA X11 driver and GLX libraries
jsled@phoenix [~]$ grep "NoAccel" /etc/X11/xorg.conf
jsled@phoenix [~]$ 
Comment 4 Octavian 2009-04-16 20:12:49 UTC
The problem might be with xf86-video-openchrome-0.2.903
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-04-18 09:55:09 UTC
I've had a really bad history of via drivers (open or closed source) crashing X server for no apparent reason or when doing specific things.

You should try to enhance your backtrace following http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 6 Octavian 2009-04-25 12:09:53 UTC
Agree but now it is worse. I have more than one crash per day, so I cannot use my PC reliable anymore. A lot of applications (gnucash, acroread, gimp) are just crashing the X server. The bad part is that latest openchrome driver is even worse, I still need to submit a bug. X does start but within 1-2 sec it crashes. When I will have time I will investigate newer Xorg & CO versions.

Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-04-25 14:52:26 UTC
(In reply to comment #6)
> Agree but now it is worse. I have more than one crash per day, so I cannot use
> my PC reliable anymore.

I thought `Option "NoAccel" "true"' worked around the instability issue nicely.
There's no need to experience more than one crash a day if all that it facilitates is a slight performance gain in 3D imaging.

> A lot of applications (gnucash, acroread, gimp) are
> just crashing the X server. The bad part is that latest openchrome driver is
> even worse, I still need to submit a bug. X does start but within 1-2 sec it
> crashes. When I will have time I will investigate newer Xorg & CO versions.

Apparently, using certain acceleration functions on a Unichrome Pro leads to stability issues whereas for instance a CLE266 runs very stable. There hasn't been much progress on the openchrome driver lately, and there is no outlook on a version release which will fix the stability issues in the unichrome driver specifically.

In the mean time, it would help if you attached Xorg logs, relevant dmesg output, whether your desktop uses compositing effects (since you get crashes when opening menus) and so on.

It may be interesting to investigate whether switching from EXA to XAA wil help:

Option      "AccelMethod"       "XAA"
Comment 8 Octavian 2009-05-18 19:43:36 UTC
Option NoAccel "true" made the X very .... slow. Furthermore, mythfrontend crashed before/when the GUI started.


A more than acceptable workaround is to use:
Option     "ExaNoComposite"             "true"

Everything works now as expected.

Changed the resolution to later