[gopher] Dynamically linked Mosaic on Linux??

Cameron Kaiser spectre at floodgap.com
Wed Nov 10 16:00:45 UTC 2010


Sat down with this.

> (gdb) run
> Starting program: /home/floh/ebuilds/mosaic-ck/src/Mosaic 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x10078ae4 in set_pref_solid (pref_id=121, incoming=0x0, iincoming=0, bincoming=0 '\000') at prefs.c:1678
> 1678	                *((Boolean *)incoming);
> (gdb) backtrace
> #0  0x10078ae4 in set_pref_solid (pref_id=121, incoming=0x0, iincoming=0, bincoming=0 '\000') at prefs.c:1678
> #1  0x10077718 in set_pref_boolean (pref_id=121, value=0 '\000') at prefs.c:1168
> #2  0x1001299c in mo_do_gui (argc=1, argv=0xbfffef14) at gui.c:4437
> #3  0x10006b40 in main (argc=1, argv=0xbfffef14, envp=0xbfffef1c) at main.c:251
> (gdb) 
> 
> So if I understand this correctly, Mosaic segfaults due to dereferenciong a
> NULL pointer while trying to get the color depth of the screen. Weird.

No, this crash is in prefs. It seems not to like an existing? preferences
file. Do you have one already? What happens if you delete it?

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser at floodgap.com
-- Ours is a world of nuclear giants and ethical infants. -- Gen. O. N. Bradley



More information about the Gopher-Project mailing list