Christoph Reichenbach wrote:
> Hi Lars,
>
> > > > Regarding that missing Graph() subfunction: I don't know if it's necessary at
> > > > all. I think it was originally used to update the screen in rare cases. But
> > > > the fact is that FreeSCI updates the screen a lot more than Sierra's SCI did.
> > > > Yes, there is still that segfault which may be related,
> > >
> > > Segfault? When?
> >
> > Well, I had an idea that I was the only one getting this... It happens only in
> > games using ornate message boxes. After displaying such a box, if I click the
> > mouse, the segfault usually occurs. If I press ENTER instead, then I can usually
> > avoid it by moving the mouse to the console window. So maybe this is related to
> > mouse pointers?
>
> That's a bit strange. I'll try to reproduce it when I get home.
>
> Still, it could (!) be a bug in libgii event management (I assume you're
> using GGI CVS snapshots, as haven't been any recent official releases).
Haven't updated it since I downloaded it for the first time. Maybe I should.
Anyway, here's a stack trace, maybe it's useful:
Program received signal SIGSEGV, Segmentation fault.
0x401488a7 in memcpy (dstpp=0x6cc0fc18, srcpp=0x8379a44, len=97)
at ../sysdeps/generic/memcpy.c:55
(gdb) bt
#0 0x401488a7 in memcpy (dstpp=0x6cc0fc18, srcpp=0x8379a44, len=97)
at ../sysdeps/generic/memcpy.c:55
#1 0x8072406 in graph_restore_box (s=0x82f0540, handle=10241)
at engine_graphics.c:211
#2 0x8064e24 in _k_restore_view_list_backgrounds (s=0x82f0540,
list=0x837ece0, list_nr=13) at kgraphics.c:1213
#3 0x8066ac0 in kAnimate (s=0x82f0540, funct_nr=11, argc=2, argp=37264)
at kgraphics.c:1789
#4 0x805174f in run_vm (s=0x82f0540, restoring=0) at vm.c:706
#5 0x8053d48 in game_run (_s=0x809112c) at vm.c:1436
#6 0x804c8bf in main (argc=2, argv=0xbffffd04) at main.c:443
#7 0x40101cb3 in __libc_start_main (main=0x804c020 <main>, argc=2,
argv=0xbffffd04, init=0x8049c7c <_init>, fini=0x8077fbc <_fini>,
rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffcfc)
at ../sysdeps/generic/libc-start.c:78
Lars