Subject: pkg/9918: ggv blows stack, dumps core
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rafal@mediaone.net>
List: netbsd-bugs
Date: 04/17/2000 20:06:19
>Number:         9918
>Category:       pkg
>Synopsis:       ggv blows stack, dumps core
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 17 20:07:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        pkgsrc as of this past weekend, userland a bit older
>Organization:
Hardly any
>Environment:
System: NetBSD cyclops 1.4X NetBSD 1.4X (CYCLOPS) #1: Tue Apr 4 04:09:09 PDT 2000 root@cyclops:/extra/src/sys/arch/i386/compile/CYCLOPS i386


>Description:
	ggv as built from pkgsrc seems to blow the stack after displaying the 
	first page of the postscript file in question.

	Here's what gdb has to say:

GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
Core was generated by `ggv'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Reading symbols from /usr/X11R6/lib/libgnomeui.so.42...
(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libart_lgpl.so.3...
(no debugging symbols found)...done.
Reading symbols from /usr/X11R6/lib/libgdk_imlib.so.10...
(no debugging symbols found)...done.
Reading symbols from /usr/pkg/lib/libtiff.so.3...done.
Reading symbols from /usr/pkg/lib/libjpeg.so.62...done.
Reading symbols from /usr/pkg/lib/libungif.so.5...done.
Reading symbols from /usr/pkg/lib/libpng.so.1...done.
Reading symbols from /usr/lib/libz.so.0...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /usr/X11R6/lib/libgtk.so.12...done.
Reading symbols from /usr/X11R6/lib/libgdk.so.12...done.
Reading symbols from /usr/pkg/lib/libgmodule.so.13...done.
Reading symbols from /usr/X11R6/lib/libXi.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Reading symbols from /usr/X11R6/lib/libgnome.so.35...done.
Reading symbols from /usr/X11R6/lib/libgnomesupport.so.0...done.
Reading symbols from /usr/pkg/lib/libesd.so.2...done.
Reading symbols from /usr/lib/libossaudio.so.0...done.
Reading symbols from /usr/pkg/lib/libaudiofile.so.0...done.
Reading symbols from /usr/lib/libm387.so.0...done.
Reading symbols from /usr/lib/libm.so.0...done.
Reading symbols from /usr/pkg/lib/libglib.so.13...done.
Reading symbols from /usr/lib/libc.so.12...done.
Reading symbols from /usr/X11R6/lib/gtk/themes/engines/libnotif.so...done.
#0  0x483a04fd in _XEventsQueued ()
(gdb) where
#0  0x483a04fd in _XEventsQueued ()
#1  0x483963f6 in XPending ()
#2  0x4834428c in gdk_event_prepare ()
#3  0x4847129d in g_main_iterate ()
#4  0x484715fb in g_main_iteration ()
#5  0x805454f in dladdr ()
#6  0x483430b9 in gdk_io_invoke ()
#7  0x4846fa86 in g_io_unix_dispatch ()
#8  0x48470f97 in g_main_dispatch ()
#9  0x48471557 in g_main_iterate ()
#10 0x484715fb in g_main_iteration ()
#11 0x805454f in dladdr ()
#12 0x483430b9 in gdk_io_invoke ()
#13 0x4846fa86 in g_io_unix_dispatch ()
#14 0x48470f97 in g_main_dispatch ()
#15 0x48471557 in g_main_iterate ()
#16 0x484715fb in g_main_iteration ()
#17 0x805454f in dladdr ()
#18 0x483430b9 in gdk_io_invoke ()
#19 0x4846fa86 in g_io_unix_dispatch ()
#20 0x48470f97 in g_main_dispatch ()
#21 0x48471557 in g_main_iterate ()
#22 0x484715fb in g_main_iteration ()
[...repeat ad nauseum... It's amazing how far down the stack you can get
 before you blow it out...]

Here are the packages installed on system:

pkglibtool-1.2p2    Generic shared library support script for NetBSD packages
rsaref-2.0p3        Encryption/authentication library, RSA/MDX/DES
ssh-1.2.27          Secure shell client and server (remote login program)
cvs-1.10.8          Concurrent Versions System; beta version
tcsh-6.09.00        Extended C-shell with many useful features
aperture-2.0        XFree86 Framebuffer "aperture" driver for NetBSD/i386
gmake-3.78.1        GNU version of 'make' utility
libghttp-1.0.4      GNOME http client library
pth-1.3.3           GNU Portable Thread library
glib-1.2.7          Some useful routines for C programming
gindent-2.2.5       GNU version of pretty-printer for C source code
gettext-0.10.35     tools for providing messages in different languages
ORBit-0.5.0         high-performance CORBA ORB with support for the C language
libaudiofile-0.1.9  Sound library for SGI audio file
esound-0.2.17       the Enlightened sound daemon
perl-5.00404        Practical Extraction and Report Language
rpm-2.5.4           The Red Hat Package Manager
suse_base-6.3       Linux compatibility package
suse_compat-6.3     Linux compatibility package with old shared libraries
suse_libc5-6.3      Linux compatibility package for libc5 binaries
gtk+-1.2.7          Gimp toolkit. Libraries for building X11 user interfaces
suse_x11-6.3        Linux compatibility package for X11 binaries
suse_xforms-6.3     Linux compatibility package for xforms binaries
suse_linux-6.3      Linux compatibility package collection
navigator-4.7       Netscape navigator standalone browser - Digital UNIX/Linux/SunOS binary
libungif-4.1.0      Tools and library routines for working with GIF images
jpeg-6b             IJG's jpeg compression utilities
tiff-3.5.4          library and tools for reading and writing TIFF data files
png-1.0.6           Library for manipulating PNG images
netpbm-19940301     toolkit for conversion of images between different formats
imlib-1.9.8         image manipulation library for X11
xpm-3.4k            The X Pixmap library
gnome-libs-1.0.56   Libaries for the GNU Network Object Model Environment
guile-1.3.4         GNU's Ubiquitous Intelligent Language for Extension
libgtop-1.0.6       library to retrieve system information, used in GNOME
gnome-core-1.0.55.1 Base component of GNU Network Object Management Environment
Mesa-3.0            Graphics library similar to SGI's OpenGL
Xaw3d-1.5           3-D widgets based on the Athena Widget set
libslang-1.4.0      Routines for rapid alpha-numeric terminal applications development
lynx-2.8.2          Alphanumeric display oriented World-Wide Web Client
lesstif-0.89.9      API compatible clone of the OSF/Motif toolkit
xscreensaver-3.23   Screen saver and locker for the X window system
m4-1.4              GNU version of Unix m4 macro-processor
control-center-1.0.51 GNOME control-center development library
ee-0.3.11           Image viewer based on imlib by the Rasterman.  Gtk clone of xv
gdm-2.0b4           Gnome Display Manager - a re-implementation of the xdm program
glade-0.5.3         User interface builder for GTK+
gmc-4.5.42          Gnome version of Midnight Commander, a free Norton Commander Clone
gnome-audio-1.0.0   Set of audio files for GNOME
gnome-chess-0.2.4   GNOME's graphical interface for playing chess
xbill-2.0           stop the dreaded Windows virus from infecting computers
gnome-games-1.0.51  GNOME games collection
gnome-media-1.0.51  Set of audio/multimedia applications for GNOME
bison-1.28          GNU yacc(1) replacement
gnome-pim-1.0.55    Personal Information Manager for GNOME
gtkglarea-1.2.1     OpenGL/Mesa widget for GTK+ GUI toolkit
libxml-1.8.5        XML parser, mainly used by the GNOME project
libglade-0.11       Runtime interpreter for GLADE gui files
python-1.5.2        Interpreted, interactive, object-oriented programming language
gnome-python-1.0.51 Python Bindings for the GNU Network Object Model Environment
gnome-users-guide-1.0.72 User documentation for GNOME
ncurses-5.0         CRT screen handling and optimization package
gnome-utils-1.0.51  Set of useful GNOME utilities and applications
unzip-5.40          List, test and extract compressed files in a ZIP archive
ghostscript-5.50    Aladdin Postscript interpreter
gnome-print-0.12    Prototype implementation of the Gnome Printing Architecture
gnumeric-0.48       Powerful and easy to use spreadsheet program from the GNOME project
gtk---1.0.3         C++ wrapper for the gimp toolkit (gtk++)
gtk-engines-0.8     Theme engines for GTK+
xchat-1.4.1         X11 (X Window System) IRC client, using the GTK+ toolkit
fnlib-0.5           color font rendering library for X11R6
freetype-1.2        TrueType font rendering engine and library API
enlightenment-0.16.2 Window manager for X
econf-0.15          configuration tool for easily setting up Enlightenment
ethemes-0.1         Themes for the window manager Enlightenment
acroread-4.05       View, distribute and print PDF documents
autoconf-2.13       Automatically configure source code on many Un*x platforms
ghostscript-x11-5.50 Aladdin Postscript interpreter with X11 drivers
ggv-0.50            GNOME frontend for GhostScript

>How-To-Repeat:
	ggv /tmp/file.ps

>Fix:
	Unknown.

>Release-Note:
>Audit-Trail:
>Unformatted: