-
Notifications
You must be signed in to change notification settings - Fork 1k
panic at gps/vcs_source:301 #1379
Comments
I'm not sure that skipping this malformed line is the best way to workaround that panic. I also have no idea where it comes from. |
If that matters, host os: |
Yup, it tried to parse 'Killed by signal 1' that comes from ssh-proxy and gets panic at that point |
So what the actual problem is:
So either there should be a check before line 301 that output can be parsed or stderr should be ignored. |
ugh, sorry about that. we've had a few issues with that slapdash parser; it definitely needs improvement. PR definitely welcome for this 😄 |
What is better - ignore malformed string or discard stderr of |
Linking to #1209 |
@Civil i suspect the ideal case here is only looking at stdout. i think that may be a bit tricky in our current design, though. @jmank88 i wonder if maybe we should use that wouldn't be the only solution to this, but it's the only one i can think of that doesn't involve more methods and indirection. i think i'd be fine trading memory space for logical complexity at this point. |
What version of
dep
are you using (dep version
)?devel@2b7a08040ebc4699bfbd38128e9887eeb3092168
What
dep
command did you run?dep init
What did you expect to see?
It should run fine
What did you see instead?
Some extra information:
I've got custom ~/.gitconfig, it contains:
As a recommended workaround for corporate gitlab which requires ssh access to clone repos.
I've added a debug print before that line:
fmt.Printf("SIZE: %v, LINE: %+v\n", len(pair), string(pair))
What I see just before panic:
(Killed by signal 1 comes from ssh-proxy on a jump host).
If I add following code before 301 it works as expected:
It prints out:
', len=20trange pair version: 'Killed by signal 1.
The text was updated successfully, but these errors were encountered: