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

ddd y xxgdb se mueren



Hola:

Tengo un problema con los depuradores ddd y xxgdb 
(no me funcionan :-( )

He creado un programa minimo, compilo con "gcc -g hola.C"
y obtengo a.out, ( funciona, ejecuto gdb y me permite
 ejecutarlo, fijar "breakpoints" etc.)

ejecuto ddd sin parametros y arranca correctamente.
-> open Program -> aparece el dialogo -> me muevo por los directorios
pero en donde deberian aparecer los archivos no aparece nada.
-> open en dialogo sin escribir nada y aparece mensaje de error 
"Internal error (Segmentation fault ).

ejecuto ddd con parametro a.out -> arranca y aparece el codigo de hola.C
en la ventana y poco despues no si si tras mover el raton o no se muere
dando un mensaje de "Cannot perform malloc". 
¿ Que puede estar pasando ?

Pruebo con xxgdb sin parametros e intento abrir el programa con file
-> Segmentation violation :-(
Lo intento con xxgdb a.out y se muere unos segundos despues con el
mismo mensaje.

He desactivado el gpm por si pudiera interferir con las X pero nada.
Tengo instalada la distribucion debian 1.3.1 r6 (de la revista
Linux Actual publicada en España). Tanto Linux como las
X arrancan sin problemas ni errores.  
Tengo 64 Mb de memoria y ejecuto sin problemas todo tipo de aplicaciones
X: xemacs, xboard, Netscape, xcoral, etc... 
Trabajo con "fvwm2" (prodria tener algo que ver).

En el manual de ddd busco bugs y sugiere probar 
"ddd --check-configuration"
para ver si estan correctamente instaladas las X -> el resultado es

  Checking for X11 library directory... (not found)
  Checking for XKeysymDB... /usr/X11R6/lib/X11/XKeysymDB
  Checking for nls directory... /usr/X11R6/lib/X11/nls
  No configuration problems found.


¿ No es estraño que fallen los dos programas ?
 ¿ Le ha pasado esto a alguno de vosotros ?

Se agradecera cualquier ayuda, sugerencia, donativo :-)

Gracias anticipadas.
Saludos cordiales:

Fernando
(c) {:-{D>
fsainz@ts.es
Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


(You can suppress these warnings by setting the 'Suppress X Warnings' option
in the DDD `General Preferences` panel.)
Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


Warning: 
    Name: gdb_w
    Class: XmText
    FontTextWidth: no source


ide_setup: hdd=cdrom
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fd090
pcibios_init : BIOS32 Service Directory entry at 0xfd0a0
pcibios_init : PCI BIOS revision 2.10 entry at 0xfd0c1
Probing PCI hardware.
Calibrating delay loop.. ok - 59.80 BogoMIPS
Memory: 63376k/65536k available (608k kernel code, 384k reserved, 1168k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: ICMP, UDP, TCP
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.29 (root@cazador) (gcc version 2.7.2.1) #6 Sat Mar 28 20:51:05 CET 1998
Serial driver version 4.13 with no serial options enabled
tty00 at 0x03f8 (irq = 4) is a 16550A
tty01 at 0x02f8 (irq = 3) is a 16550A
hda: SAMSUNG WINNER-3 WN32543A(2.5GB), 2423MB w/109kB Cache, LBA, CHS=615/128/63
hdb: non-IDE drive, CHS=523/128/63
hdb: INVALID GEOMETRY: 128 PHYSICAL HEADS?
hdc: SAMSUNG WN321620A (2.16 GB), 2060MB w/109kB Cache, LBA, CHS=4186/16/63
hdd: 685A, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
Started kswapd v 1.4.2.2 
FDC 0 is a National Semiconductor PC87306
Partition check:
 hda: hda1 hda2
 hdc: hdc1 hdc2 hdc3 hdc4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 87188k swap-space
JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
PS/2 auxiliary pointing device detected -- driver installed.
lp1 at 0x0378, (polling)
CSLIP: code copyright 1989 Regents of the University of California
PPP: version 2.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
hdd: media changed
hdd: media changed
VFS: Disk change detected on device 16:40
Max size:255787   Log zone size:2048
First datazone:24   Root inode number 49152
ISO9660 Extensions: RRIP_1991A

XFree86 Version 3.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: Jun  2 1997
	If the server is older than 6-12 months, or if your card is newer
	than the above date, look for a newer version before reporting
	problems.  (see http://www.XFree86.Org/FAQ)
Operating System: Linux 2.0.21 i486 [ELF] 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
      newmmio, mmio_928, s3_generic
(using VT number 7)

XF86Config: /etc/X11/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "es"
(**) Mouse: type: PS/2, device: /dev/mouse, baudrate: 1200,
       3 button emulation (timeout: 50ms)
(**) S3: Graphics device ID: "Primary Card"
(**) S3: Monitor ID: "Primary Monitor"
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/75dpi,/usr/X11R6/lib/X11/fonts/100dpi"
(--) S3: PCI: Trio32/64 rev 54, Linear FB @ 0xf8000000
(--) S3: chipset:   Trio64V+ rev. 54
(--) S3: chipset driver: newmmio
(--) S3: card type: PCI
(--) S3: videoram:  2048k
(--) S3: Ramdac type: s3_trio64
(--) S3: Ramdac speed: 135 MHz
(--) S3: Using Trio32/64 programmable clock (MCLK 45.102 MHz)
(--) S3: Maximum allowed dot-clock: 135.000 MHz
(**) S3: Mode "1024x768": mode clock =  44.900
(**) S3: Mode "800x600": mode clock =  36.000
(**) S3: Mode "640x480": mode clock =  25.180
(**) S3: Mode "640x400": mode clock =  25.180
(**) S3: Mode "480x300": mode clock =  21.660
(**) S3: Mode "320x240": mode clock =  12.590
(**) S3: Mode "320x200": mode clock =  12.590
(--) S3: Using 6 bits per RGB value
(--) S3: Virtual resolution set to 1024x768
(--) S3: Local bus LAW is 0xF8000000
(--) S3: Using a banksize of 2048k, line width of 1024
(--) S3: Using a single 64x64 area at (960,769) for expanding pixmaps
(--) S3: Using 8 planes of 1024x1215 at (0,833) aligned 8 as font cache

waiting for X server to shut down 


Reply to: