On Mon, 01 Jul 2013 17:05:06 GMT, Joshua Niehus wrote:
On Mon, 01 Jul 2013 06:38:53 GMT, Joshua Niehus wrote:
I've never used GDB before and didn't get far when running it against my app, will need to read up on it more (sorry)
Followup: Here is the GDB output I got:
warning: Could not find object file "/Users/joshuaniehus/scripts/vibed/temp.o" - no debug information available for "source/app.d". (gdb) run Starting program: /Users/joshuaniehus/scripts/vibed/vibed Reading symbols for shared libraries +++................................ done hello Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 0x000000010014a930 in D3std7process7environFNbNdNeZxPPa () (...)
Too bad it doesn't find the debug information. But it looks like either std.process.std_process_static_this
wasn't called, or _NSGetEnviron
returned a null pointer. But in any case, this should go to bugzilla. I would call "dub build -v" and execute the build command manually to see if it is still reproducible that way and then file a bug report there. But one interesting thing would be to see if it still crashes if the "vibe-d" dependency is removed from package.json (which I suppose is there, right?). Maybe it is some strange interaction that causes std.process
to not get initialized.