Hi,
In order to accelerate training I use your example dm-preprocess-png to save resized png into /preprocessedData folder. It worked yesterday on Express train Lane, but today it fails (submission ID 7842652) with a strange log:
STDERR: panic: standard_init_linux.go:175: exec user process caused "exec format error" [recovered]
STDERR: panic: standard_init_linux.go:175: exec user process caused "exec format error"
STDERR:
STDERR: goroutine 1 [running, locked to thread]:
STDERR: panic(0x7e9de0, 0xc8201923f0)
STDERR: /usr/local/go/src/runtime/panic.go:481 +0x3e6
STDERR: github.com/urfave/cli.HandleAction.func1(0xc8201012f8)
STDERR: /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x38e
STDERR: panic(0x7e9de0, 0xc8201923f0)
STDERR: /usr/local/go/src/runtime/panic.go:443 +0x4e9
STDERR: github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0xc820100c08, 0xc820056090, 0xc820100d18)
STDERR: /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x136
STDERR: github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0xc8200a1400, 0x7f5c6d922590, 0xc8201923f0)
STDERR: /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x5b1
STDERR: main.glob.func8(0xc8200cea00, 0x0, 0x0)
STDERR: /go/src/github.com/opencontainers/runc/main_unix.go:26 +0x68
STDERR: reflect.Value.call(0x74e5e0, 0x8ffda0, 0x13, 0x846308, 0x4, 0xc820101278, 0x1, 0x1, 0x0, 0x0, ...)
STDERR: /usr/local/go/src/reflect/value.go:435 +0x120d
STDERR: reflect.Value.Call(0x74e5e0, 0x8ffda0, 0x13, 0xc820101278, 0x1, 0x1, 0x0, 0x0, 0x0)
STDERR: /usr/local/go/src/reflect/value.go:303 +0xb1
STDERR: github.com/urfave/cli.HandleAction(0x74e5e0, 0x8ffda0, 0xc8200cea00, 0x0, 0x0)
STDERR: /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x2ee
STDERR: github.com/urfave/cli.Command.Run(0x8491b8, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8df0e0, 0x51, 0x0, ...)
STDERR: /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xfec
STDERR: github.com/urfave/cli.(*App).Run(0xc820001b00, 0xc82000a100, 0x2, 0x2, 0x0, 0x0)
STDERR: /go/src/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0xaa4
STDERR: main.main()
STDERR: /go/src/github.com/opencontainers/runc/main.go:137 +0xe24
The only thing I changed from the original version of dm-preprocess-png was the output image size. Do you have any idea of what went wrong?
Created by Yaroslav Nikulin (Therapixel) ynikulin That's right. Thanks a lot! @ynikulin: I think you have an extra carriage return (new line) at the beginning of `/preprocess.sh`. The shebang (`#!`) must be the first two bytes of the shell script. Actually another participant reported the same error message [here](https://www.synapse.org/#!Synapse:syn4224222/discussion/threadId=1029). In his case he forgot to add the shebang at the top of his shell script. Hi Yaroslav,
Are you saying that you run the exact same container and that it worked once and failed a second time?
Are you using Windows tools for your project (text editor, docker, etc.)?
Thanks!
Drop files to upload
dm-preprocess-png fails with error message "exec user process caused "exec format error"" page is loading…