New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[run] Environment variables are badly parsed, resulting in a panic #119

Soulou opened this Issue May 16, 2015 · 0 comments


None yet
2 participants

Soulou commented May 16, 2015

└> scalingo -a app run -e rf bash

panic: runtime error: index out of range

goroutine 1 [running]:, 0x1, 0x1, 0x2, 0x0, 0x0)
    /home/leo/Projects/Go/src/ +0x351, 0x5, 0xc20800a060, 0x1, 0x1, 0xc208028e50, 0x1, 0x1, 0xab8810, 0x0, ...)
    /home/leo/Projects/Go/src/ +0x152·033(0xc208032820)
    /home/leo/Projects/Go/src/ +0x21b, 0x3, 0x885cb0, 0x1, 0x8d2cb0, 0x1c, 0x959710, 0x3bb, 0x88e270, 0xe, ...)
    /home/leo/Projects/Go/src/ +0xd6a*App).Run(0xc208054620, 0xc20800a000, 0x7, 0x7, 0x0, 0x0)
    /home/leo/Projects/Go/src/ +0xe60
    /home/leo/Projects/Go/src/ +0xb13

goroutine 5 [chan receive]:·001()
    /home/leo/Projects/Go/src/ +0x53
created by·1
    /home/leo/Projects/Go/src/ +0x5f

goroutine 7 [syscall]:
    /opt/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
    /opt/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 8 [chan receive]:
    /home/leo/Projects/Go/src/ +0x265
created by main.main
    /home/leo/Projects/Go/src/ +0x9d5

goroutine 12 [IO wait]:
net.(*pollDesc).Wait(0xc20800a300, 0x72, 0x0, 0x0)
    /opt/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20800a300, 0x0, 0x0)
    /opt/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20800a2a0, 0xc20800f000, 0x1000, 0x1000, 0x0, 0x7f59a0c25cf0, 0xc208029258)
    /opt/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208038068, 0xc20800f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /opt/go/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0x7f59a0c27560, 0xc208038068, 0xc208064108, 0xc20800f000, 0x1000, 0x1000, 0x7a89e0, 0x0, 0x0)
    /opt/go/src/net/http/transport.go:1270 +0x6e
net/http.(*noteEOFReader).Read(0xc20801cc80, 0xc20800f000, 0x1000, 0x1000, 0xc208010000, 0x0, 0x0)
    <autogenerated>:125 +0xd4
    /opt/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).Peek(0xc20805a7e0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /opt/go/src/bufio/bufio.go:132 +0xf0
    /opt/go/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
    /opt/go/src/net/http/transport.go:660 +0xc9f

goroutine 17 [syscall, locked to thread]:
    /opt/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 13 [select]:
    /opt/go/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
    /opt/go/src/net/http/transport.go:661 +0xcbc

@Zyko0 Zyko0 closed this in aeb412d Aug 17, 2015

Soulou added a commit that referenced this issue Aug 17, 2015

Merge pull request #123 from Scalingo/fix_119
Env variable now correctly parsed Fixes #119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment