Hi, 

i have  unzipped packer binary  and when i try to run  packer, sometimes 
it  raises  exception, sometimes hangs and sometimes just exits.please help 
me to point out the problem.

kernel: 3.19.8-100.fc20.x86_64
attached my console output.

Regards,
Gnanesh 

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/c0c47c8f-b2c2-4291-8efa-904c72aee2df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[root@localhost ~]# /home/packer
[root@localhost ~]# /home/packer
[root@localhost ~]# /home/packer
[root@localhost ~]# /home/packer
[root@localhost ~]# /home/packer
[root@localhost ~]# /home/packer
fatal error: unexpected signal during runtime execution
fatal error: unexpected signal during runtime execution
panic during panic
[signal SIGSEGV: segmentation violation code=0x80 addr=0x0 pc=0x4374f0]

runtime stack:
runtime.throw(0x2685398, 0x2a)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:608 +0x72
runtime.sigpanic()
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/signal_unix.go:374 
+0x2f2
runtime.preemptall(0x1)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:4518 +0x20
runtime.freezetheworld()
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:746 +0x6f
runtime.startpanic_m(0x1)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:753 +0xca
runtime.fatalthrow.func1()
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:661 +0x3d
runtime.fatalthrow()
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:660 +0x57
runtime.throw(0x2685398, 0x2a)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/panic.go:608 +0x72
runtime.sigpanic()
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/signal_unix.go:374 
+0x2f2
runtime.runqgrab(0x6c61636f6c5f6b63, 0xc00004afe8, 0x0, 0xc00004aa00)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:4905 +0x34
runtime.runqsteal(0xc00004aa00, 0x6c61636f6c5f6b63, 0x0, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:4960 +0x57
runtime.findrunnable(0xc00004aa00, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:2350 +0xb5
runtime.schedule()
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:2613 +0x13a
runtime.park_m(0xc000000d80)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/proc.go:2676 +0xae
runtime.mcall(0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/asm_amd64.s:299 +0x5b

goroutine 1 [runnable]:
syscall.Syscall(0x48, 0x7, 0x3, 0x0, 0x801, 0x0, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/syscall/asm_linux_amd64.s:18 
+0x5
syscall.fcntl(0x7, 0x3, 0x0, 0xc0004afa30, 0x18, 0xc0004afa28)
        
/usr/local/Cellar/go/1.11.2/libexec/src/syscall/zsyscall_linux_amd64.go:418 
+0x4c
syscall.SetNonblock(0x7, 0x26ce600, 0xc00019c6c0, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/syscall/exec_unix.go:99 +0x41
internal/poll.(*FD).SetBlocking(0xc00019c6c0, 0x0, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/internal/poll/fd_unix.go:134 
+0x8b
os.(*File).Fd(0xc0001a4080, 0xc0001a6850)
        /usr/local/Cellar/go/1.11.2/libexec/src/os/file_unix.go:70 +0x54
os.startProcess(0xc00003c0b0, 0xc, 0xc000078c90, 0x1, 0x1, 0xc0004afc90, 
0xc0004981c0, 0x1c, 0x1c)
        /usr/local/Cellar/go/1.11.2/libexec/src/os/exec_posix.go:43 +0x149
os.StartProcess(0xc00003c0b0, 0xc, 0xc000078c90, 0x1, 0x1, 0xc0004afc90, 0x3, 
0x3, 0x380)
        /usr/local/Cellar/go/1.11.2/libexec/src/os/exec.go:102 +0x7c
os/exec.(*Cmd).Start(0xc00048c000, 0xc0001a0120, 0x1b)
        /usr/local/Cellar/go/1.11.2/libexec/src/os/exec/exec.go:383 +0x4b3
github.com/hashicorp/packer/vendor/github.com/mitchellh/panicwrap.Wrap(0xc0004afee8,
 0x0, 0x0, 0x0)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/panicwrap/panicwrap.go:169
 +0x54e
main.realMain(0x0)
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:103 +0x658
main.main()
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:34 +0x22

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
        /usr/local/Cellar/go/1.11.2/libexec/src/os/signal/signal_unix.go:23 
+0x22
created by os/signal.init.0
        /usr/local/Cellar/go/1.11.2/libexec/src/os/signal/signal_unix.go:29 
+0x41

goroutine 17 [select]:
io.(*pipe).Read(0xc000450000, 0xc000468000, 0x8000, 0x8000, 0xc00005b648, 
0x1c84cb0, 0xc0001aa080)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:50 +0xea
io.(*PipeReader).Read(0xc0001a4020, 0xc000468000, 0x8000, 0x8000, 0x1f34d80, 
0xc00007ba01, 0xc000468000)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:127 +0x4c
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*prefixReader).Read(0xc0001a0040,
 0xc000468000, 0x8000, 0x8000, 0x8000, 0x8000, 0x40515e)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:219
 +0x63
io.copyBuffer(0x28eaa00, 0xc00000c020, 0x28e8200, 0xc0001a0040, 0xc000468000, 
0x8000, 0x8000, 0xc0001aa100, 0x404cd5, 0xc00005b788)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/io.go:402 +0x125
io.Copy(0x28eaa00, 0xc00000c020, 0x28e8200, 0xc0001a0040, 0xc00007baa0, 
0xc00005b7b0, 0x432ed9)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/io.go:364 +0x5a
main.copyOutput.func1(0xc0001a6020, 0x28e8200, 0xc0001a0040)
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:355 +0x77
created by main.copyOutput
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:353 +0x203

goroutine 11 [semacquire]:
sync.runtime_Semacquire(0xc0001a6028)
        /usr/local/Cellar/go/1.11.2/libexec/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc0001a6020)
        /usr/local/Cellar/go/1.11.2/libexec/src/sync/waitgroup.go:130 +0x64
main.copyOutput(0x28ea3c0, 0xc00000c7d0, 0xc000084600)
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:366 +0x27d
created by main.realMain
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:88 +0x50c

goroutine 18 [select]:
io.(*pipe).Read(0xc000450050, 0xc000478000, 0x8000, 0x8000, 0xc000458648, 
0x1c84cb0, 0xc0001aa080)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:50 +0xea
io.(*PipeReader).Read(0xc0001a4030, 0xc000478000, 0x8000, 0x8000, 0x1f34d80, 
0x1, 0xc000478000)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:127 +0x4c
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*prefixReader).Read(0xc0001a0060,
 0xc000478000, 0x8000, 0x8000, 0x8000, 0x8000, 0x429e23)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:219
 +0x63
io.copyBuffer(0x28eaa00, 0xc00000c018, 0x28e8200, 0xc0001a0060, 0xc000478000, 
0x8000, 0x8000, 0xc00019a140, 0x0, 0xc000458788)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/io.go:402 +0x125
io.Copy(0x28eaa00, 0xc00000c018, 0x28e8200, 0xc0001a0060, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/io.go:364 +0x5a
main.copyOutput.func2(0xc0001a6020, 0x28e8200, 0xc0001a0060)
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:359 +0x77
created by main.copyOutput
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:357 +0x239

goroutine 19 [select]:
io.(*pipe).Read(0xc0004500a0, 0xc00045c000, 0x8000, 0x8000, 0xc000458e48, 
0x1c84cb0, 0xc0001aa080)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:50 +0xea
io.(*PipeReader).Read(0xc0001a4040, 0xc00045c000, 0x8000, 0x8000, 0x1f34d80, 
0x1, 0xc00045c000)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:127 +0x4c
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*prefixReader).Read(0xc0001a0080,
 0xc00045c000, 0x8000, 0x8000, 0x8000, 0x8000, 0x0)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:219
 +0x63
io.copyBuffer(0x28eaa00, 0xc00000c018, 0x28e8200, 0xc0001a0080, 0xc00045c000, 
0x8000, 0x8000, 0xc0001aa0c0, 0x0, 0xc000458f88)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/io.go:402 +0x125
io.Copy(0x28eaa00, 0xc00000c018, 0x28e8200, 0xc0001a0080, 0x0, 0x0, 0x0)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/io.go:364 +0x5a
main.copyOutput.func3(0xc0001a6020, 0x28e8200, 0xc0001a0080)
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:363 +0x77
created by main.copyOutput
        /Users/azr/go/src/github.com/hashicorp/packer/main.go:361 +0x26f

goroutine 20 [select]:
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*Reader).read(0xc0001aa080)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:132
 +0x297
created by 
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*Reader).init.func1
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:91
 +0x3e

goroutine 21 [select]:
io.(*pipe).Read(0xc000093900, 0xc000464000, 0x1000, 0x1000, 0x0, 0xc00042e780, 
0xc0001aa140)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:50 +0xea
io.(*PipeReader).Read(0xc00000c7d0, 0xc000464000, 0x1000, 0x1000, 0xc0001a0080, 
0xc000458f70, 0x429932)
        /usr/local/Cellar/go/1.11.2/libexec/src/io/pipe.go:127 +0x4c
bufio.(*Reader).fill(0xc00019c300)
        /usr/local/Cellar/go/1.11.2/libexec/src/bufio/bufio.go:100 +0x106
bufio.(*Reader).ReadByte(0xc00019c300, 0x26ced30, 0xc00044e3c0, 0xc0001a0080)
        /usr/local/Cellar/go/1.11.2/libexec/src/bufio/bufio.go:242 +0x39
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*Reader).read.func1(0xc00044e3c0,
 0xc00019c300, 0xc00044e360)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:110
 +0x73
created by 
github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio.(*Reader).read
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/prefixedio/reader.go:107
 +0xfc

goroutine 14 [runnable]:
github.com/hashicorp/packer/vendor/github.com/mitchellh/panicwrap.trackPanic(0x28ea3c0,
 0xc0001a4018, 0x28ea440, 0xc0001a0100, 0x1dcd6500, 0xc00044e720)
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/panicwrap/panicwrap.go:270
created by 
github.com/hashicorp/packer/vendor/github.com/mitchellh/panicwrap.Wrap
        
/Users/azr/go/src/github.com/hashicorp/packer/vendor/github.com/mitchellh/panicwrap/panicwrap.go:145
 +0x2d4
[root@localhost ~]#
[root@localhost ~]#

Reply via email to