*BSD News Article 98006


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newshub2.home.com!newshub1.home.com!news.home.com!nick.arc.nasa.gov!cnn.nas.nasa.gov!not-for-mail
From: Hugh LaMaster <lamaster@nas.nasa.gov>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Xperfmon++ problem
Date: Wed, 18 Jun 1997 19:04:26 -0700
Organization: NASA Ames Research Center
Lines: 62
Message-ID: <33A893AA.102F@nas.nasa.gov>
References: <no3pm5.g24.ln@dolphin.neosoft.com> <33936663.3B18@nospam.com>
	  <5nbspg$2h6@uriah.heep.sax.de> <339F03C6.4DAA@nas.nasa.gov> <5nv5na$201@uriah.heep.sax.de>
NNTP-Posting-Host: win144.nas.nasa.gov
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; U; IRIX 6.2 IP22)
To: Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:43129

Here is a gdb run with the problem as shown.  xperfmon++ always
dies reliably for me.

----

[42] gdb /usr/X11R6/bin/xperfmon++

GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols
found)...
(gdb)break main
Breakpoint 1 at 0x644c
(gdb) run
Starting program: /usr/X11R6/bin/xperfmon++ 
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Breakpoint 1, 0x644c in main ()
(gdb) break exit
Breakpoint 2 at 0x8191c12
(gdb) clear main
Deleted breakpoint 1 

(gdb) cont
Continuing.
Warning: Cannot allocate colormap entry for "pale green"
Error: Cannot perform malloc

Breakpoint 2, 0x8191c12 in exit ()
(gdb) where
#0  0x8191c12 in exit ()
#1  0x806520a in _XtDefaultError ()
#2  0x806528c in XtError ()
#3  0x8064e73 in _XtDefaultErrorMsg ()
#4  0x8065022 in XtErrorMsg ()
#5  0x805a1e1 in _XtAllocError ()
#6  0x805a248 in XtMalloc ()
#7  0x805a281 in XtRealloc ()
#8  0x3334 in SetPoints ()
#9  0x2bf8 in repaint_window ()
#10 0x2888 in draw_graph ()
#11 0x8070b7c in DoOtherSources ()
#12 0x8070d94 in XtAppNextEvent ()
#13 0x8067503 in XtAppMainLoop ()
#14 0x6aae in main ()
(gdb)

----

Note: it fails the same way with/without the colormap
problem (I happened to be running truecolor when I tested)
although I don't know if the colormap handling is somehow
related.

-- 
  Hugh LaMaster, M/S 258-5,     ASCII Email: 
hlamaster@mail.arc.nasa.gov
  NASA Ames Research Center     Or:           lamaster@nas.nasa.gov
  Moffett Field, CA 94035-1000  No Junkmail:  USC 18 section 2701
  Phone:  415/604-1056          Disclaimer:   Unofficial, personal
*opinion*.