Skip to content

Instantly share code, notes, and snippets.

@iameli
Created March 1, 2019 05:13
Show Gist options
  • Select an option

  • Save iameli/8efbac98c85d3bb7812291017f278133 to your computer and use it in GitHub Desktop.

Select an option

Save iameli/8efbac98c85d3bb7812291017f278133 to your computer and use it in GitHub Desktop.
go-livepeer segfault
I0228 21:08:53.657697 1284 db.go:206] Initialized DB node
I0228 21:08:53.657729 1284 livepeer.go:241] ***Livepeer is in off-chain mode***
I0228 21:08:53.657764 1284 livepeer.go:441] Current ManifestID will be available over 127.0.0.1:8935
I0228 21:08:53.657778 1284 livepeer.go:479] ***Livepeer Running in Broadcaster Mode***
I0228 21:08:53.657782 1284 livepeer.go:480] Video Ingest Endpoint - rtmp://127.0.0.1:1935
I0228 21:08:53.657835 1284 mediaserver.go:121] Transcode Job Type: [{P240p30fps16x9 600k 30 426x240 16:9} {P360p30fps16x9 1200k 30 640x360 16:9}]
I0228 21:08:53.657887 1284 webserver.go:1092] CLI server listening on 127.0.0.1:7935
I0228 21:08:53.657936 1284 lpms.go:97] HTTP Server listening on http://127.0.0.1:8935
I0228 21:08:53.657946 1284 lpms.go:90] LPMS Server listening on rtmp://127.0.0.1:1935
I0228 21:09:04.814074 1284 listener.go:32] RTMP server got upstream: rtmp://127.0.0.1/movie/stream
I0228 21:09:05.540236 1284 mediaserver.go:230]
Video Created With ManifestID: 873a2cc5
I0228 21:09:05.540287 1284 lpms.go:147] Segment RTMP Req: rtmp://127.0.0.1:1935/stream/873a2cc5/97b97abd9a4e
I0228 21:09:05.540292 1284 mediaserver.go:375] Starting broadcast listener for 873a2cc5
I0228 21:09:05.540456 1284 rpc.go:175] Connecting RPC to https://127.0.0.1:8936
I0228 21:09:05.542674 1284 player.go:62] LPMS got RTMP request @ rtmp://127.0.0.1:1935/stream/873a2cc5/97b97abd9a4e
I0228 21:09:05.552923 1284 discovery.go:115] Done fetching orch info for orchestrators, numResponses fetched: [transcoder:"https://127.0.0.1:8936" ]
I0228 21:09:22.588514 1284 broadcast.go:140] Submitting segment 0
I0228 21:09:22.594248 1284 segment_rpc.go:263] Submitting segment 0 : 1292312 bytes
I0228 21:09:22.604942 1284 segment_rpc.go:286] Uploaded segment 0
I0228 21:09:26.610242 1284 segment_rpc.go:343] Successfully transcoded segment 0
I0228 21:09:26.610299 1284 drivers.go:69] Downloading https://127.0.0.1:8936/stream/873a2cc5/P240p30fps16x9/0.ts
I0228 21:09:26.610308 1284 drivers.go:69] Downloading https://127.0.0.1:8936/stream/873a2cc5/P360p30fps16x9/0.ts
I0228 21:09:26.615226 1284 drivers.go:85] Downloaded https://127.0.0.1:8936/stream/873a2cc5/P240p30fps16x9/0.ts
I0228 21:09:26.615959 1284 drivers.go:85] Downloaded https://127.0.0.1:8936/stream/873a2cc5/P360p30fps16x9/0.ts
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x4a66b4c]
goroutine 99 [running]:
github.com/livepeer/go-livepeer/server.processSegment.func1(0xc000138000, 0xc000036125, 0xb, 0xc000280200, 0xf00f2d0edddb10e, 0x57f65c0, 0xc000246240, 0xc0002463c0, 0x57f4a00, 0xc0000ba640)
/Users/ericxtang/Code/Livepeer/lpdev-data/go/src/github.com/livepeer/go-livepeer/server/broadcast.go:221 +0x4ac
created by github.com/livepeer/go-livepeer/server.processSegment
/Users/ericxtang/Code/Livepeer/lpdev-data/go/src/github.com/livepeer/go-livepeer/server/broadcast.go:124 +0x5e9
I0228 21:09:02.306498 1288 db.go:206] Initialized DB node
I0228 21:09:02.306530 1288 livepeer.go:241] ***Livepeer is in off-chain mode***
I0228 21:09:02.306568 1288 livepeer.go:477] ***Livepeer Running in Orchestrator Mode***
I0228 21:09:02.306670 1288 webserver.go:1092] CLI server listening on 127.0.0.1:7936
I0228 21:09:02.306697 1288 cert.go:83] Private key and cert not found. Generating
I0228 21:09:02.306646 1288 mediaserver.go:121] Transcode Job Type: [{P240p30fps16x9 600k 30 426x240 16:9} {P360p30fps16x9 1200k 30 640x360 16:9}]
I0228 21:09:02.313551 1288 cert.go:22] Generating cert for 127.0.0.1
I0228 21:09:02.314857 1288 rpc.go:107] Listening for RPC on :8936
I0228 21:09:04.308562 1288 rpc.go:175] Connecting RPC to https://127.0.0.1:8936
I0228 21:09:04.311725 1288 rpc.go:147] Received Ping request
I0228 21:09:22.604644 1288 orchestrator.go:234] Starting to transcode segment 0
I0228 21:09:22.604684 1288 orchestrator.go:225] Creating new segment chan for manifest 873a2cc5
I0228 21:09:22.604705 1288 orchestrator.go:365] Starting transcode segment loop for 873a2cc5
I0228 21:09:22.604734 1288 orchestrator.go:243] Submitted segment to transcode loop 0
I0228 21:09:26.606997 1288 orchestrator.go:329] Transcoding of segment 0 took 4.001366251s
I0228 21:09:26.611630 1288 player.go:104] LPMS got HTTP request @ /stream/873a2cc5/P240p30fps16x9/0.ts
I0228 21:09:26.611688 1288 player.go:104] LPMS got HTTP request @ /stream/873a2cc5/P360p30fps16x9/0.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment