[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with xkegs
- Subject: Re: Problems with xkegs
- From: "Michael J. Kerpan" <madcrow.maxwell@gmail.com>
- Date: Tue, 16 Nov 2010 07:28:52 -0800 (PST)
- Complaints-to: groups-abuse@google.com
- Injection-info: o2g2000vbh.googlegroups.com; posting-host=158.121.237.43; posting-account=rH51swoAAAD_0vOSI8ng-foVNOWNKpwH
- Newsgroups: comp.sys.apple2
- Organization: http://groups.google.com
- References: <ibsk26$251$1@news.eternal-september.org> <m339r1g2di.fsf@yahoo.ca>
- User-agent: G2/1.0
- Xref: g2news2.google.com comp.sys.apple2:21066
On Nov 16, 2:21 am, Jerry <awande...@yahoo.ca> wrote:
> "Michael J. Kerpan" <mjker...@kerpan.com> writes:
>
>
>
> > I've posted this problem to the comp.emulators.apple2, but there seems to
> > be no activity there at the moment so I'll bring it up here...
>
> > I've recently built xkegs on my new 32-bit Fedora 14 install, but
> > everytime I try to run it, I get a segfault like so:
>
> > Preparing X Windows graphics system
> > Visual 0
> > id: 00000021, screen: 0, depth: 24, class: 4
> > red: 00ff0000, green: 0000ff00, blue: 000000ff
> > cmap size: 256, bits_per_rgb: 8
> > Chose visual: 0, max_colors: -1
> > Will use shared memory for X
> > Segmentation fault (core dumped)
>
> > Any ideas of what could be wrong and how I can build a WORKING binary?
>
> Have you tried running gdb on it, at least to get somewhat of a
> backtrace?
>
> For instance:
>
> $ gdb xkegs core
> $ bt
>
> and what is the backtrace?
>
> Or you could run it within gdb:
>
> $ gdb xkegs
> $ run
> ... hits seg-fault ...
> $ bt
>
> Either way, the backtrace may be helpful.
#0 0x08094c91 in dev_video_init ()
Looks like the segfault is happening when kegs tries to initizalize
the video display. My google-fu shows this as something that people
have had problems with in the past and that it has something to do
with bitmap font loading... And sure enough, going through and
installing some bitmap fonts that are missing from the default Fedora
install makes it work. Talk about bad coding and a complete lack of
graceful failure..
So for future reference, Fedora users need the xorg misc fonts package
for kegs to work.
Mike