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

Re: Problems with xkegs



"Michael J. Kerpan" <mjkerpan@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.

Did everything compile fine?

Perhaps include the make transcript.


Are all shared libraries available?  You can check this via ldd:

On my system:

  $ ldd xkegs
        linux-vdso.so.1 =>  (0x00007fff438eb000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f04adc5d000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f04ad927000)
        libc.so.6 => /lib/libc.so.6 (0x00007f04ad5a3000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f04ad387000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f04ad183000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f04ade95000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f04acf7e000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f04acd78000)

Your 32-bit system will differ somewhat.

--
Jerry    awanderin at yahoo dot ca