[Coco] Beta release 1.0 Linux of OVCC

Mark D. Overholser marko555.os2 at gmail.com
Wed Jan 16 18:03:07 EST 2019



On 1/16/19 1:20 AM, Walter wrote:
> Standard checks.
> 
> Make sure you have the roms in the OVCC directory.
> Make sure you have a good Vcc.ini file.
> 
> The Ubuntu must be 64 bit.
> What version of SDL2 do you have?
> 
> At a minimum it needs to be 2.0.8 however all my systems are now on 2.0.9.  Try updating SDL2!
> 
> If you have gdb installed try this:
> 
> $ cd to OVCC directory
> $ gdb ./ovcc
> run
> (wait for crash then type)
> bt
> 
> When entering commands to gdb you sometimes have to double return!
> 
> That should print a stack trace and give me some clue where it's falling over.
> 
> Copy the output and email to me.
> 
> Walter
> 
> -


Mikey showed me how to use GDB and the Back Trace...


It appears that because of my one HDMI Monitor and Open Broadcast 
Software ( OBS ) I have a Sound Card with a REALLY LONG NAME...

So this code needs to be changed:

   33 typedef struct CardList {
      34         char CardName[64];
      35     int  sdlID;
      36 } SndCardList;


Here is the Back Trace:

(gdb) bt
#0  GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff6b8c801 in GI_abort () at abort.c:79
#2  0x00007ffff6bd5897 in libc_message (
     action=action at entry=(do_abort | do_backtrace),
     fmt=fmt at entry=0x7ffff6d02988 " %s : %s terminated\n")
     at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff6c80cff in GI_fortify_fail_abort (
     need_backtrace=need_backtrace at entry=true,
     msg=msg at entry=0x7ffff6d02905 "buffer overflow detected")
     at fortify_fail.c:33
#4  0x00007ffff6c80d21 in GI_fortify_fail (
     msg=msg at entry=0x7ffff6d02905 "buffer overflow detected")
     at fortify_fail.c:44
#5  0x00007ffff6c7ea10 in GI_chk_fail () at chk_fail.c:28
#6  0x00007ffff6c7dca2 in strcpy_chk (dest=0x5555557a9d80 <SoundCards> "",
     src=0x555555a644d0 "Caicos HDMI Audio [Radeon HD 6450 / 
7450/8450/8490 OEM / R5 230/235/235X OEM] Digital Stereo (HDMI)", 
destlen=64) at strcpy_chk.c:30
#7  0x000055555558592a in GetSoundCardListSDL ()
#8  0x000055555555f65c in LoadConfig ()
#9  0x000055555555c356 in main ()
(gdb)


MarkO


More information about the Coco mailing list