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

Bug 108564

Summary: gtkwave segfaults on analog wave display
Product: Gentoo Linux Reporter: Dan McDonald <slashdevslashtty>
Component: Current packagesAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: RESOLVED UPSTREAM    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Stack trace
a basic VCD file

Description Dan McDonald 2005-10-08 21:46:55 UTC
gtkwave does a segmentation fault when I try to look at a signal as analog
(Edit->Display Format->Analog). 

Reproducible: Always
Steps to Reproduce:
1. Open a VCD in gtkwave (I've only tried VCD's generated by vvp/iverlog)
2. Menu: Trace->Show All Traces
3. Select a signal on the left pane (single click until it changes bg color)
4. Menu: Edit->Display Format->Analog

Actual Results:  
Segmentation Fault

Expected Results:  
Display a pretty analog graph.

I emerged it with FEATURES="nostrip" and checked the stack. See the attachment.

emerge info says:
Portage 2.0.53_rc4 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP  3000+
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/sound /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/overlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apache2 apm arts avi
bash-completion berkdb bidi bitmap-fonts bzip2 cairo cdr crypt cups curl dba
divx4linux dvd dvdr dvdread eds emboss encode faad fam ffmpeg flac foomaticdb
fortran gd gdbm gif gimp gmp gnome gphoto2 gpm gstreamer gtk gtk2 guile i8x0
imagemagick imlib ipv6 jabber jack java joystick jpeg junit kde libg++ libwww
lirc mad matroska mikmod mmx mmxext mng motif mozilla mp3 mpeg mysql ncurses
nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pam pdflib perl png
postgres python qt quicktime readline real samba scanner sdl spell sse ssl
stream svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb
v4l vorbis wxwindows xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

I'll attach a really basic VCD to test with.
I'll also do a check out from cvs to see if it still segfaults. Development
seems to have stagnated on this project, however.
Comment 1 Dan McDonald 2005-10-08 21:48:27 UTC
Created attachment 70196 [details]
Stack trace
Comment 2 Dan McDonald 2005-10-08 21:49:22 UTC
Created attachment 70197 [details]
a basic VCD file
Comment 3 Dan McDonald 2005-10-08 22:12:42 UTC
I can't seem to find any CVS. The last update to the program was more than a
year ago, which was a year since the update before it.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2005-11-04 13:29:42 UTC
This needs to go upstream (not sure if upstream will do anything, though) as
it's a bug in the actual application rather than Gentoo packaging. If you are
able to produce a patch of some sort then please reopen this bug and I would be
very happy to include it. Thanks!