bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ddd/gdb segment fault


From: Allen King
Subject: ddd/gdb segment fault
Date: Fri, 06 Apr 2001 10:08:35 -0400

I've been having a few problems with ddd hanging.  The one that seems
the simplest to describe is the following:

==================== The failure:
[me@gibson catcusim]$ ddd
ddd: Symbol `_XmStrings' has different size in shared object, consider
re-linking
Warning: This DDD requires a Motif 2.0 library (using Motif 2.1)
Continue at own risk.
Warning: Cannot allocate colormap entry for "grey"
Warning: Cannot allocate colormap entry for default background.
Warning: Cannot allocate colormap entry for "red4"
(Annoyed?  Try 'Edit->Preferences->General->Suppress X Warnings'!)
Warning: Cannot allocate colormap entry for "grey96"
Warning: Cannot allocate colormap entry for "blue4"
Warning: Cannot allocate colormap entry for "grey50"

========== IN DDD'S Command Window:
GNU DDD 3.3 (i586-pc-linux-gnu), by Dorothea L?tkehaus and Andreas
Zeller.
Copyright ? 1995-1999 Technische Universit?t Braunschweig, Germany.
Copyright ? 1999-2001 Universit?t Passau, Germany.
(gdb) p/d 10
$1 = 10
(gdb) set radix 16

Segmentation fault

========== Two dialog boxes pop up:
1: GDB terminated abnormally (Segmentation fault)
2: GDB is busy!

==================== The command seems to work fine in native gdb:
[me@gibson catcusim]$ gdb
GNU gdb 5.0
Copyright 2000 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-redhat-linux".
(gdb) p/d 10
$1 = 10
(gdb) set radix 16
Input and output radices now set to decimal 16, hex 10, octal 20.
(gdb) p/d 10
$1 = 16
(gdb)


==================== System:
RedHat 7.0 (Linux version 2.2.16-22) i586@200MHz, 192M
Installed lesstif-0.92.26 sources and compiled.


No debug file was specified to keep things simple.  (I got similar
results when I specified a file to debug.)  I also removed the
.gdbinit file, again with no change.

I couldn't find a Motif 2.0 Library, and am using Motif 2.1 via
openmotif-2.1.30-6. Is this a likely problem?

Today I updated from ddd-3.2 (bin distribution). this bug remained the
same.

I'd be more than happy to run experiments for you.


Thanks for you help,

    Allen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]