These are chat archives for derekparker/delve

15th
Jul 2015
Guillaume J. Charmes
@creack
Jul 15 2015 15:44
Hello
I followed the steps to sign the binary on osx, but now, I always get [2] 33805 killed dlv
Any idea?
Guillaume J. Charmes
@creack
Jul 15 2015 15:55
when I try without signing as user, it fails to fork, as root, it starts but does not stop at breakpoints
Guillaume J. Charmes
@creack
Jul 15 2015 19:07
and attach just kills the target process, as user or root
(without signing)
Derek Parker
@derekparker
Jul 15 2015 19:11
@creack yeah I have run into issues with attach on OSX that I'm aware of, and should have fixes up soon. As far as signing and still not able to begin debugging, that's been an issue for other users here and there, is the cert you created in your system keychain?
My certs are in my login keychain for what it's worth, but I believe I also had it working in system keychain... it may be worth trying to regen a cert and see if that works, just to be sure, but even before that, are you able to sign gdb and have it work? If your cert works with gdb then I'd rule it out as a cert issue
Guillaume J. Charmes
@creack
Jul 15 2015 19:15
I tried both
Login,System,Full permission,Code signing only
Tried to fillup all data asked, change the serial number
It just endup in the processed begin killed
even with dlv -h
gdb works fine though
Derek Parker
@derekparker
Jul 15 2015 19:16
You can't simply type dlv? That gets killed?
Guillaume J. Charmes
@creack
Jul 15 2015 19:16
Well... Used to, I didn't try on my current machine
Was working in my old max
mac*
Yes
Derek Parker
@derekparker
Jul 15 2015 19:16
What OS version?
Guillaume J. Charmes
@creack
Jul 15 2015 19:17
dlv<ret> gets killed
Derek Parker
@derekparker
Jul 15 2015 19:17
El Capitan? Or Yosemite?
Guillaume J. Charmes
@creack
Jul 15 2015 19:17
10.10.4
yosemite
Derek Parker
@derekparker
Jul 15 2015 19:18
That's the same OS I'm running and I have not run into an issue, with my cert, let me look at it real quick
Guillaume J. Charmes
@creack
Jul 15 2015 19:18
Didn't find anything on google :(
Derek Parker
@derekparker
Jul 15 2015 19:22
You know what, let me regen a key this evening or as soon as I get a chance, following those directions to the T and see if I run into any issues, and then I'll update with any fixes I find, I'd really like to get this solved for the folks running into this issue
Also, I'm really interested in automating or at least attempting to automate as much of this process as possible, I know there are ways to gen certs from the shell, however I think there is still some human interaction, but maybe non-gui would be easier, not sure what the solution is there, just thinking out loud
Guillaume J. Charmes
@creack
Jul 15 2015 19:24
would be great indeed
Also, on the Makefile, it would be nice to use $GOBIN instead of $GOPATH/bin
In the meantime, I'll try to setup gdb on my current machine
see if its a cert issue
Derek Parker
@derekparker
Jul 15 2015 19:25
ah, I thought you had done that, definitely let me know the results of that experiment, and I apologize in advance for you having to install GDB, heh
Guillaume J. Charmes
@creack
Jul 15 2015 19:26
^^
Derek Parker
@derekparker
Jul 15 2015 19:26
Seems so bizarre to me that even dlv gets killed, no help output or anything at all?
Would you mind pasting in the output of simply running dlv, and maybe the SHA of the version of Delve your using? Unless you know you're on tip of master.
Guillaume J. Charmes
@creack
Jul 15 2015 19:28
git rev: 0ab44d10ea6a1858529b91bbf49d66077b319f0b
(50 secs demo)
ahhhhh
I'm on go1.5beta1
maybe that's why?
Guillaume J. Charmes
@creack
Jul 15 2015 19:34
YES
compiled on 1.4.2 worked!
However, not very helpful...
Attach still kills the process
and dlv run still fails with could not launch process: could not fork/exec
just like without signing
Derek Parker
@derekparker
Jul 15 2015 19:55
Ah yes, 1.5beta1 support has not fully landed in master yet
Should have fix for attach bug on OSX this evening