LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   MAME crashes on Mint19/Ubuntu 18.04 (https://www.linuxquestions.org/questions/linux-games-33/mame-crashes-on-mint19-ubuntu-18-04-a-4175635824/)

bt101 08-06-2018 09:10 PM

MAME crashes on Mint19/Ubuntu 18.04
 
Hi, I have Mint19 (which is based on Ubuntu 18.04).

I've installed MAME and whenever I run it, it just crashes.
If I run it from the shell by typing mame, I get various results.
80% of the time, the GUI does not start and I just get:
Code:

Segmentation fault (core dumped)
10% of the time I get various messages similar to the segmentation fault such as:
Code:

free(): invalid pointer
Aborted (core dumped)

10% of the time the GUI will start for a second before it quits and I get the above messages.

I know you'll likely need more info such as hardware, however I don't know if it would help as it does the same thing on 3 platforms on which I have installed:
  • a laptop
  • a desktop
  • virtualbox vm

I've installed mame from both the normal mint/ubuntu repository (version 195) and from the mame ppa (version 199). Simply apt-get install mame. Same results for each.

It's so consistent (that it fails) and I've searched internets and I'm surprised I don't see a rash of problems.

Let me know if more info is needed (as noted, it doesn't seem to be hardware dependent).

I've tried running "mame -v" and it spits out a lot of info and the only error is the segmentation fault at the end.

On all of these platforms, MAME runs fine in Mint17.

bt101 08-07-2018 12:19 AM

um..I actually solved it by pure dumb luck.
When I run mame -v it spits out a bunch of info.
I noticed one line where it referred to lircd.
I remembered that I have the lirc package installed.. but I don't have it configured.
So lirc is actually running if you look at ps ax, but who knows what it is doing if it is not configured.
So I just removed that package with apt-get purge.
Bingo, mame works now.

Miclaud 08-28-2019 06:43 AM

You solved my problem too, thank you so much. It was driving me crazy :)


All times are GMT -5. The time now is 05:36 AM.