Jump to content

Gizmo crashing X-Plane with illegal instruction error


Recommended Posts

Posted

Running Gizmo 10.3.8 on a G5, with X-Plane 9.45 and OX 10.5.8.

I tried Gizmo with the new P180 Avanti Alterna, which I think is the first plane I've used which uses GIzmo. The result was X-Plane quitting with an illegal instruction error. However, every time I launched X-Plane after it quit, it would quit within a minute of launching with the same error, no matter which plane I was attempting to open. The only way to stop this was to remove Gizmo from my plugins folder, at which time X-Plane returned to normal.

At first I thought it was the new Saitek control plugin, but removing that didn't solve the problem.

The very last crash was me attempting to open the P180 without Gizmo installed.

Relevant lines from system.log:

[tt]Apr  9 14:48:44 Macintosh com.apple.launchd[140] ([0x0-0x2d22d2].com.laminar_research.X-Plane[6514]): Exited abnormally: Illegal instruction

Apr  9 14:48:58 Macintosh [0x0-0x2d52d5].com.laminar_research.X-Plane[6530]: <CFData 0x15ece700 [

Apr  9 14:48:58 Macintosh [0x0-0x2d52d5].com.laminar_research.X-Plane[6530]: 0xa0257174]>{length = 6, capacity = 6, b

Apr  9 14:48:58 Macintosh [0x0-0x2d52d5].com.laminar_research.X-Plane[6530]: ytes = 0x000d932c9d14}

Apr  9 14:49:00 Macintosh [0x0-0x2d52d5].com.laminar_research.X-Plane[6530]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 14:49:00 Macintosh [0x0-0x2d52d5].com.laminar_research.X-Plane[6530]: ^[[0;31m[x52control]^[[0m: can't read config file

Apr  9 14:51:53 Macintosh ReportCrash[6533]: Formulating crash report for process X-Plane[6530]

Apr  9 14:51:55 Macintosh ReportCrash[6533]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-145145_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 14:51:57 Macintosh com.apple.launchd[140] ([0x0-0x2d52d5].com.laminar_research.X-Plane[6530]): Exited abnormally: Illegal instruction

Apr  9 14:56:45 Macintosh [0x0-0x2da2da].com.laminar_research.X-Plane[6554]: <CFData 0x15ece700 [0xa0257174]>{len

Apr  9 14:56:45 Macintosh [0x0-0x2da2da].com.laminar_research.X-Plane[6554]: gth = 6, capacity = 6, bytes = 0x000d932c9d

Apr  9 14:56:45 Macintosh [0x0-0x2da2da].com.laminar_research.X-Plane[6554]: 14}

Apr  9 14:56:47 Macintosh [0x0-0x2da2da].com.laminar_research.X-Plane[6554]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 14:56:47 Macintosh [0x0-0x2da2da].com.laminar_research.X-Plane[6554]: ^[[0;31m[x52control]^[[0m: can't read config file

Apr  9 15:00:01 Macintosh ReportCrash[6557]: Formulating crash report for process X-Plane[6554]

Apr  9 15:00:04 Macintosh ReportCrash[6557]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-145954_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 15:00:05 Macintosh com.apple.launchd[140] ([0x0-0x2da2da].com.laminar_research.X-Plane[6554]): Exited abnormally: Illegal instruction

Apr  9 15:02:19 Macintosh [0x0-0x2de2de].com.laminar_research.X-Plane[6570]: <CFData 0x15ece700 [0xa0257174]>{length = 6, capacity = 6, bytes = 0x000d932c9d14}

Apr  9 15:02:20 Macintosh [0x0-0x2de2de].com.laminar_research.X-Plane[6570]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 15:02:20 Macintosh [0x0-0x2de2de].com.laminar_research.X-Plane[6570]: ^[[0;31m[x52control]^[[0m: can't read config file

Apr  9 15:07:36 Macintosh ReportCrash[6579]: Formulating crash report for process X-Plane[6570]

Apr  9 15:07:38 Macintosh ReportCrash[6579]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-150728_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 15:07:39 Macintosh com.apple.launchd[140] ([0x0-0x2de2de].com.laminar_research.X-Plane[6570]): Exited abnormally: Bus error

Apr  9 15:07:53 Macintosh [0x0-0x2e02e0].com.laminar_research.X-Plane[6582]: <CFData 0x15ece70

Apr  9 15:07:53 Macintosh [0x0-0x2e02e0].com.laminar_research.X-Plane[6582]: 0 [0xa0257174]>{length = 6, capacity = 6,

Apr  9 15:07:53 Macintosh [0x0-0x2e02e0].com.laminar_research.X-Plane[6582]:  bytes = 0x000d932c9d14}

Apr  9 15:07:55 Macintosh [0x0-0x2e02e0].com.laminar_research.X-Plane[6582]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 15:07:55 Macintosh [0x0-0x2e02e0].com.laminar_research.X-Plane[6582]: ^[[0;31m[x52control]^[[0m: can't read config file

Apr  9 15:12:23 Macintosh ReportCrash[6587]: Formulating crash report for process X-Plane[6582]

Apr  9 15:12:25 Macintosh ReportCrash[6587]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-151215_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 15:12:27 Macintosh com.apple.launchd[140] ([0x0-0x2e02e0].com.laminar_research.X-Plane[6582]): Exited abnormally: Illegal instruction

Apr  9 15:13:02 Macintosh [0x0-0x2e42e4].com.laminar_research.X-Plane[6599]: <CFData 0x15ece720 [0xa0257174]>

Apr  9 15:13:02 Macintosh [0x0-0x2e42e4].com.laminar_research.X-Plane[6599]: {length = 6, capacity = 6, bytes = 0x000d93

Apr  9 15:13:02 Macintosh [0x0-0x2e42e4].com.laminar_research.X-Plane[6599]: 2c9d14}

Apr  9 15:13:04 Macintosh [0x0-0x2e42e4].com.laminar_research.X-Plane[6599]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 15:17:19 Macintosh ReportCrash[6601]: Formulating crash report for process X-Plane[6599]

Apr  9 15:17:21 Macintosh ReportCrash[6601]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-151711_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 15:17:22 Macintosh com.apple.launchd[140] ([0x0-0x2e42e4].com.laminar_research.X-Plane[6599]): Exited abnormally: Illegal instruction

Apr  9 15:17:29 Macintosh [0x0-0x2e62e6].com.laminar_research.X-Plane[6604]: <CFData 0x15ece720

Apr  9 15:17:29 Macintosh [0x0-0x2e62e6].com.laminar_research.X-Plane[6604]: [0xa0257174]>{length = 6, capacity = 6, b

Apr  9 15:17:29 Macintosh [0x0-0x2e62e6].com.laminar_research.X-Plane[6604]: ytes = 0x000d932c9d14}

Apr  9 15:17:31 Macintosh [0x0-0x2e62e6].com.laminar_research.X-Plane[6604]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 15:21:09 Macintosh ReportCrash[6613]: Formulating crash report for process X-Plane[6604]

Apr  9 15:21:11 Macintosh ReportCrash[6613]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-152100_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 15:21:13 Macintosh com.apple.launchd[140] ([0x0-0x2e62e6].com.laminar_research.X-Plane[6604]): Exited abnormally: Bus error

Apr  9 15:21:37 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]: <CFData 0x15ece720 [0xa0257174]>{len

Apr  9 15:21:37 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]: gth = 6, capacity = 6, bytes = 0x000d932

Apr  9 15:21:37 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]: c9d14}

Apr  9 15:21:39 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]: ^[[0;34m[x52control]^[[0m: Saitek X52 Flight Control System found (Product ID: 0x075C)

Apr  9 15:47:16 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]: dyld: lazy symbol binding failed: Symbol not found: _luaL_newstate

Apr  9 15:47:16 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]:  Referenced from: /Volumes/X-Plane/X-Plane 9/Aircraft/Downloaded/General Aviation/P180 Avanti Alterna/plugins/xap/mac.xpl

Apr  9 15:47:16 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]:  Expected in: flat namespace

Apr  9 15:47:16 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]: dyld: Symbol not found: _luaL_newstate

Apr  9 15:47:16 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]:  Referenced from: /Volumes/X-Plane/X-Plane 9/Aircraft/Downloaded/General Aviation/P180 Avanti Alterna/plugins/xap/mac.xpl

Apr  9 15:47:16 Macintosh [0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]:  Expected in: flat namespace

Apr  9 15:47:23 Macintosh ReportCrash[6651]: Formulating crash report for process X-Plane[6619]

Apr  9 15:47:25 Macintosh ReportCrash[6651]: Saved crashreport to /Users/dpickett/Library/Logs/CrashReporter/X-Plane_2010-04-09-154716_Macintosh.crash using uid: 501 gid: 501, euid: 501 egid: 501

Apr  9 15:47:26 Macintosh com.apple.launchd[140] ([0x0-0x2ea2ea].com.laminar_research.X-Plane[6619]): Exited abnormally: Trace/BPT trap[/tt]

Posted

...yeah, ok, I can see the error..

That avanti package is using a plugin called XAP. Probably part of that SASL plugin.

When the avanti loads its attempting to load XAP.

XAP contains Lua.

Gizmo also contains Lua but it's already loaded because Gizmo is installed at the system level.

When both items load into ram we ended up with two Lua engines inside X-Plane with the result being a core dump.

This is non trivial to fix and will probably affect all aircraft that are using the XAP/SASL system.

-sigh-

Re-installing Gizmo will do nothing to resolve this.

If you want to fly your Avanti the temporary solution is to disable Gizmo before you launch the sim that it it isn't loaded as a plugin.

Disabling Gizmo "in sim" "after loading" won't work.

Thanks for the bug report.... :/

Posted

At the moment the problem is solved, but not really: the developer of the Avanti told me that the XAP plugin he's using currently doesn't support PPC Macs, which I have, so I removed the XAP plugin from the Avanti folder. The plane is 95% flyable, with some odd error messages, and Gizmo is happy again.

One of these days, if the economy improves, I may join the rest of you in Intel land.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...