Binary (Sega Mega Drive sound driver): sound_driver.zip
XML Log: bug1.zip
The first function, offset 0.

Doesn't work for any z80 function.
I've found that it does work on some z80 functions, but not others.
For functions that it fails, the status console on ghidra shows something like
"DecompileCallback) Decompiling ram:0068: Pcode: XML comms: Badly formed address: \"
If you copy and paste it using the rightclick menu it shows something a bit different:
"2019-11-14 | 15:25:51 | ERROR | (DecompileCallback) Decompiling ram:0068: Pcode: XML comms: Badly formed address:
-- | -- | -- | --
"
This is appears as a regression between 9.0.4 and 9.1.0. It appears to have been fixed at TOT (9.2_DEV).
Is there a precompiled 9.2 binary available anywhere? I've just run into this, but can't build ghidra from git myself.