Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MaLa + Ultimarc PACDRIVE = Crash every startup  (Read 2550 times)

0 Members and 1 Guest are viewing this topic.

camsauce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:May 08, 2015, 06:39:26 pm
    • Spencer*Arcade
MaLa + Ultimarc PACDRIVE = Crash every startup
« on: December 07, 2013, 09:15:24 pm »
I've been struggling with a bug using MaLa.  I've got an XP machine running MaLa 1.74.  I have setup MaLa as a replacement shell to explorer.exe and I have also just used it on top of the shell using the 'start with windows' option in MaLa.  The first time the application runs at startup it crashes.  I can subsequently open the app up again without changing anything and it runs fine.  Through vast troubleshooting, I have narrowed the issue down to having the Ultimarc Pacdrive enabled to light up my led buttons.  If I remove all the hardware configurations in MaLa it starts up just fine.  I tried enabling MaLa's debug logging so I could get more details on the crash.  What is strange is that when debugging is enabled I don't get the crash.  I have a suspicion that the crashes are being caused by how the hardware is initialized.  The logs I do have indicate an object access error when making a HIDCTLDEVICECHANGE call.

Has anyone seen this, have any suggestions to nip this one?

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:Today at 06:04:37 am
  • ...
Re: MaLa + Ultimarc PACDRIVE = Crash every startup
« Reply #1 on: December 09, 2013, 01:20:23 pm »
I've never bothered shelling, but it sounds like a service the Pacdrive is dependent on isn't loaded yet when Mala tells it to start working.
The launch of Mala needs to be delayed somehow, probably through a batch file or compiled autohotkey script.

camsauce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:May 08, 2015, 06:39:26 pm
    • Spencer*Arcade
Re: MaLa + Ultimarc PACDRIVE = Crash every startup
« Reply #2 on: December 09, 2013, 08:53:34 pm »
I've had similar thoughts.  I have booted to the desktop and have waited some time followed by opening Mala and the same thing happens.  It's a real head scratcher.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: MaLa + Ultimarc PACDRIVE = Crash every startup
« Reply #3 on: December 12, 2013, 03:52:47 am »
You could try adding delay via options-gui-display- and increase splash screen time 5000 ?

... and do send me a section of the logs so at least I can make it crash more gracfully or add logging to find out why it's breaking
« Last Edit: December 12, 2013, 03:55:01 am by loadman »