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 ()
(gdb) backtrace
#0 0x000000010014a930 in D3std7process7environFNbNdNeZxPPa ()
#1 0x000000010014afc3 in D3std7process9createEnvFxHAyaAyabZPxPa ()
#2 0x000000010014acfb in D3std7process16spawnProcessImplFNexAAaS3std5stdio4FileS3std5stdio4FileS3std5stdio4FilexHAyaAyaE3std7process6ConfigZC3std7process3Pid ()
#3 0x000000010014a9ed in D3std7process12spawnProcessFNexAAaS3std5stdio4FileS3std5stdio4FileS3std5stdio4FilexHAyaAyaE3std7process6ConfigZC3std7process3Pid ()
#4 0x0000000100000bcd in _Dmain ()
#5 0x0000000100122c65 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7runMainMFZv ()
#6 0x00000001001227b1 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFMDFZvZv ()
#7 0x0000000100122cb1 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi6runAllMFZv ()
#8 0x00000001001227b1 in D2rt6dmain211_d_run_mainUiPPaPUAAaZiZi7tryExecMFMDFZvZv ()
#9 0x0000000100122765 in _d_run_main ()
#10 0x0000000100122594 in main ()