Index:
[thread]
[date]
[subject]
[author]
From: Ketil Froyn <ketilf@ifi.uio.no>
To : ggi-develop@eskimo.com
Date: Tue, 22 Jun 1999 01:19:25 +0200 (MET DST)
ggi acting up?
Hi.
I hope I didn't just screw up here, cos I'm getting a little tired... My
setup:
kernel 2.2.9
libggi-2.0b2.1
libgii-0.6
Matrox Millenium I
Voodoo II (glide demos are working)
Glide2x_SDK-2.1-3.i386.rpm
Glide_V2-2.53-1.i386.glibc.rpm
RedHat 6.0
did I forget anything?
I have been using GGI for a while, and it worked fine. Today I installed
Glide (Glide2x_SDK-2.1-3.i386.rpm) and compiled GGI with glide-support. I
don't even know if this has anything to do with the problem I'm having,
but it's the only thing I can remember having done. When I try to run any
GGI-demos from the console, they crash my console, and I have to press
Alt-SysRQ-K to get it back. Setting GGI_DEBUG=255 doesn't give any output.
Also, the following is snipped from an xterm.
[ketil@ns demos]$ ./demo
Trying mode F1.[]
Suggested mode 640x480.V640x480.F1.D1x1.[C16/16]
white=65535
black=0
DrawBox(): 2182 boxes
DrawLine(): 3784 lines
CopyBox(): 0 seconds
[ketil@ns demos]$ export GGI_DEBUG=255
[ketil@ns demos]$ ./demo
Segmentation fault (core dumped)
Isn't this a little strange? The program works, but not when I set
GGI_DEBUG=255...? strace ends like this:
open("/usr/local/etc/ggi/libgii.conf", O_RDONLY) = 3
fstat(3, {st_mode=0, st_size=0, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40023000
read(3, "# Mapping file for suggest-strin"..., 4096) = 900
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40023000, 4096) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
and the backtrace looks like this (to get the backtrace, I ran
programs/demos/.libs/lt-demo instead of programs/demos/demo):
#0 0x4011b5a8 in main_arena ()
#1 0x4007bf06 in buffered_vfprintf (s=0x4011b500, format=0x4002049e "%s:
",
args=0xbffed598) at vfprintf.c:1752
#2 0x40077856 in _IO_vfprintf (s=0x4011b500, format=0x4002049e "%s: ",
ap=0xbffed598) at vfprintf.c:1018
#3 0x4007f6f7 in fprintf (stream=0x4011b500, format=0x4002049e "%s: ")
at fprintf.c:32
#4 0x4001f985 in ggDPrintf (sync=0, subsys=0x4003184a "LibGII",
form=0x4003183c "Debugging=%d\n") at debug.c:38
#5 0x4002fa7e in giiInit () at init.c:115
#6 0x40017670 in ggiInit () at init.c:69
#7 0x80493b3 in main (argc=0, argv=0xbffffb54) at demo.c:293
#8 0x4004acb3 in __libc_start_main (main=0x80491e8 <main>, argc=1,
argv=0xbffffb54, init=0x8048c18 <_init>, fini=0x804a92c <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffb4c)
at ../sysdeps/generic/libc-start.c:78
All this doesn't tell me much at all. All I know is I have to head off to
bed so I can go to work early in the morning :) I don't have time to
recompile ggi without glide to test that, but I don't see how that should
affect anything anyway...
PS. Is it possible to run XGGI multiheaded, one on the matrox and one on
the VoodooII? If so, I want to :) I even have 2 screens here now.
Ketil Froyn
--
He who Laughs, Lasts.
http://www.ifi.uio.no/~ketilf/
mailto:ketilf@ifi.uio.no
Index:
[thread]
[date]
[subject]
[author]