Bug #1936

Leaks in icecast

Added by Leonid Protasov about 7 years ago. Updated about 7 years ago.

Status:FixedStart date:02/07/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:Audio
Target version:4.6
Found in version:Latest Platform:Linux

Description

To reproduce - open any icecast music plugin and start playing. Press Alt+F4:

JS [ERROR]: Javascript models failed to terminate on time
            No problem since we will exit soon anyway
thread [DEBUG]: Thread PC:js exited
JS API usage error: found live context at 0x7f4838000930
JS API usage error: 1 context left in runtime upon JS_DestroyRuntime.
JS engine warning: leaking GC root 'item_this' at 0x7f4838177cb0
JS engine warning: leaking GC root 'item_this' at 0x7f48381876c0
JS engine warning: leaking GC root 'item_this' at 0x7f48381642a0
JS engine warning: leaking GC root 'item_this' at 0x7f483817a4f0
JS engine warning: leaking GC root 'item_this' at 0x7f4838120cc0
JS engine warning: leaking GC root 'item_this' at 0x7f48381878e0
JS engine warning: leaking GC root 'item_this' at 0x7f48381967b0
JS engine warning: leaking GC root 'item_this' at 0x7f48381228b0
JS engine warning: leaking GC root 'item_this' at 0x7f483817a290
JS engine warning: leaking GC root 'item_this' at 0x7f48381662e0
JS engine warning: leaking GC root 'item_this' at 0x7f483816b030
JS engine warning: leaking GC root 'item_this' at 0x7f4838175080
JS engine warning: leaking GC root 'item_this' at 0x7f48381a6170
JS engine warning: leaking GC root 'item_this' at 0x7f4838169240
JS engine warning: leaking GC root 'item_this' at 0x7f48381946e0
JS engine warning: leaking GC root 'item_this' at 0x7f483817b320
JS engine warning: leaking GC root 'item_this' at 0x7f483819ca10
JS engine warning: leaking GC root 'item_this' at 0x7f48381a6ee0
JS engine warning: leaking GC root 'item_this' at 0x7f4838166dc0
JS engine warning: leaking GC root 'item_this' at 0x7f483802d2f0
JS engine warning: leaking GC root 'item_this' at 0x7f48381a7f90
JS engine warning: leaking GC root 'item_this' at 0x7f4838197800
JS engine warning: leaking GC root 'item_this' at 0x7f483818a2e0
JS engine warning: leaking GC root 'item_this' at 0x7f483818c480
JS engine warning: leaking GC root 'item_this' at 0x7f483817e570
JS engine warning: leaking GC root 'item_this' at 0x7f4838123a10
JS engine warning: leaking GC root 'res->input' at 0x7f4838000aa0
JS engine warning: leaking GC root 'item_this' at 0x7f483816adc0
JS engine warning: leaking GC root 'item_this' at 0x7f4838186510
JS engine warning: leaking GC root 'item_this' at 0x7f4838182ec0
JS engine warning: leaking GC root 'item_this' at 0x7f483817ed30
JS engine warning: leaking GC root 'item_this' at 0x7f48381601c0
JS engine warning: leaking GC root 'item_this' at 0x7f483819cbd0
JS engine warning: leaking GC root 'item_this' at 0x7f483819c9b0
JS engine warning: leaking GC root 'item_this' at 0x7f4838172d10
JS engine warning: leaking GC root 'item_this' at 0x7f4838168290
JS engine warning: leaking GC root 'itemproto' at 0x7f483c04b608
JS engine warning: leaking GC root 'item_this' at 0x7f483816f3c0
JS engine warning: leaking GC root 'item_this' at 0x7f4838180320
JS engine warning: leaking GC root 'item_this' at 0x7f483817c330
JS engine warning: leaking GC root 'item_this' at 0x7f48381617e0
JS engine warning: leaking GC root 'item_this' at 0x7f4838198960
JS engine warning: leaking GC root 'item_this' at 0x7f48381702f0
JS engine warning: leaking GC root 'item_this' at 0x7f483816cfa0
JS engine warning: leaking GC root 'item_this' at 0x7f483816a2c0
JS engine warning: leaking GC root 'item_this' at 0x7f483817ed90
JS engine warning: leaking GC root 'item_this' at 0x7f483819a530
JS engine warning: leaking GC root 'item_this' at 0x7f483819a2f0
JS engine warning: leaking GC root 'item_this' at 0x7f48381841a0
JS engine warning: leaking GC root 'item_this' at 0x7f48381741e0
JS engine warning: leaking GC root 'item_this' at 0x7f4838199980
JS engine warning: leaking GC root 'item_this' at 0x7f483818c1d0
JS engine warning: leaking GC root 'item_this' at 0x7f48381a7000
JS engine warning: leaking GC root 'item_this' at 0x7f483816d070
JS engine warning: leaking GC root 'item_this' at 0x7f48381a2fb0
JS engine warning: leaking GC root 'item_this' at 0x7f48381713b0
JS engine warning: leaking GC root 'item_this' at 0x7f4838167230
JS engine warning: leaking GC root 'item_this' at 0x7f4838182320
JS engine warning: leaking GC root 'item_this' at 0x7f48381a2db0
JS engine warning: leaking GC root 'item_this' at 0x7f48381952c0
JS engine warning: leaking GC root 'item_this' at 0x7f4838123230
JS engine warning: leaking GC root 'item_this' at 0x7f4838161cd0
JS engine warning: leaking GC root 'item_this' at 0x7f4838186030
JS engine warning: leaking GC root 'item_this' at 0x7f4838188fc0
JS engine warning: leaking GC root 'item_this' at 0x7f4838191880
JS engine warning: leaking GC root 'item_this' at 0x7f4838179e90
JS engine warning: leaking GC root 'item_this' at 0x7f48381724f0
JS engine warning: leaking GC root 'item_this' at 0x7f48381a5150
JS engine warning: leaking GC root 'item_this' at 0x7f4838163550
JS engine warning: leaking GC root 'item_this' at 0x7f483818b6d0
JS engine warning: leaking GC root 'item_this' at 0x7f483819c870
JS engine warning: leaking GC root 'item_this' at 0x7f4838124430
JS engine warning: 72 GC roots remain after destroying the JSRuntime at 0x18f6fe0.
                   These roots may point to freed memory. Objects reachable
                   through them have not been finalized.
core [DEBUG]: Backend finished
core [DEBUG]: Slow shutdown hooks finished
thread [DEBUG]: Thread blobcache exited
core [DEBUG]: Blobcache finished
core [DEBUG]: Metadb finished
core [DEBUG]: Showtime terminated normally

Associated revisions

Revision 095867cd
Added by Andreas Smas about 7 years ago

Stop playqueue when Showtime shutdowns.

Fixes #1936

Change included in version 4.5.61

History

#1 Updated by Andreas Smas about 7 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset git|commit:095867cd084f26a27e86ca0cccc5ecabadf25718.

#2 Updated by Leonid Protasov about 7 years ago

The bug is still there even after the fix:

thread [DEBUG]: Thread jsmodel exited
JS [ERROR]: Javascript models failed to terminate on time
            No problem since we will exit soon anyway
prop [ERROR]: Refcnt is 5 on courier destroy
thread [DEBUG]: Thread PC:js exited
JS API usage error: found live context at 0x7f9a28004c00
JS API usage error: 1 context left in runtime upon JS_DestroyRuntime.
JS engine warning: leaking GC root 'item_this' at 0x7f9a28075f70
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28211598
JS engine warning: leaking GC root 'jss' at 0x7f9a28029860
JS engine warning: leaking GC root 'item_this' at 0x7f9a28082550
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28212bf8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28075e38
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28236d88
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280c7448
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280f9478
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280b1538
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2812af78
JS engine warning: leaking GC root 'item_this' at 0x7f9a280aad70
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2822f688
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280c38b8
JS engine warning: leaking GC root 'item_this' at 0x7f9a280fae40
JS engine warning: leaking GC root 'itemproto' at 0x7f9a205800c8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28119a58
JS engine warning: leaking GC root 'item_this' at 0x7f9a28288e50
JS engine warning: leaking GC root 'item_this' at 0x7f9a280b7b30
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28274718
JS engine warning: leaking GC root 'item_this' at 0x7f9a282333b0
JS engine warning: leaking GC root 'item_this' at 0x7f9a28102a80
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2827db18
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a282802c8
JS engine warning: leaking GC root 'item_this' at 0x7f9a282764c0
JS engine warning: leaking GC root 'res->input' at 0x7f9a28004d70
JS engine warning: leaking GC root 'item_this' at 0x7f9a28280090
JS engine warning: leaking GC root 'item_this' at 0x7f9a280c7120
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280e6938
JS engine warning: leaking GC root 'item_this' at 0x7f9a280f8330
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2811f7d8
JS engine warning: leaking GC root 'item_this' at 0x7f9a280e4db0
JS engine warning: leaking GC root 'item_this' at 0x7f9a28107c30
JS engine warning: leaking GC root 'item_this' at 0x7f9a28112e80
JS engine warning: leaking GC root 'item_this' at 0x7f9a2808d4e0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280eeb58
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2827bdb8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2827e3d8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280cfb78
JS engine warning: leaking GC root 'item_this' at 0x7f9a28226920
JS engine warning: leaking GC root 'item_this' at 0x7f9a280f7560
JS engine warning: leaking GC root 'item_this' at 0x7f9a28230ad0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280f2d48
JS engine warning: leaking GC root 'item_this' at 0x7f9a28224a60
JS engine warning: leaking GC root 'item_this' at 0x7f9a28256980
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28121828
JS engine warning: leaking GC root 'item_this' at 0x7f9a2823e210
JS engine warning: leaking GC root 'item_this' at 0x7f9a2825c9d0
JS engine warning: leaking GC root 'item_this' at 0x7f9a28093520
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2808c348
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280e03f8
JS engine warning: leaking GC root 'item_this' at 0x7f9a280f23a0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28082bd8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280e2838
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a282369f8
JS engine warning: leaking GC root 'item_this' at 0x7f9a2809c7d0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28129e58
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280cadc8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28108558
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280f10d8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2811d4a8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280a0c38
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28298d68
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280fe2a8
JS engine warning: leaking GC root 'jss' at 0x7f9a28005a50
JS engine warning: leaking GC root 'item_this' at 0x7f9a28081dd0
JS engine warning: leaking GC root 'item_this' at 0x7f9a280d98a0
JS engine warning: leaking GC root 'item_this' at 0x7f9a28078340
JS engine warning: leaking GC root 'item_this' at 0x7f9a28245780
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28290038
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28235628
JS engine warning: leaking GC root 'item_this' at 0x7f9a28087620
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280bf368
JS engine warning: leaking GC root 'item_this' at 0x7f9a280a00e0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a281168c8
JS engine warning: leaking GC root 'item_this' at 0x7f9a281158e0
JS engine warning: leaking GC root 'item_this' at 0x7f9a28261860
JS engine warning: leaking GC root 'item_this' at 0x7f9a28243380
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2825ee28
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a282659a8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28088648
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28245af8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28094968
JS engine warning: leaking GC root 'item_this' at 0x7f9a2811cbf0
JS engine warning: leaking GC root 'item_this' at 0x7f9a2827b620
JS engine warning: leaking GC root 'item_this' at 0x7f9a2807f970
JS engine warning: leaking GC root 'item_this' at 0x7f9a280d4e70
JS engine warning: leaking GC root 'item_this' at 0x7f9a280f17e0
JS engine warning: leaking GC root 'item_this' at 0x7f9a282942b0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28276d18
JS engine warning: leaking GC root 'item_this' at 0x7f9a280b1980
JS engine warning: leaking GC root 'item_this' at 0x7f9a280fb9a0
JS engine warning: leaking GC root 'item_this' at 0x7f9a2823b6d0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280a8108
JS engine warning: leaking GC root 'item_this' at 0x7f9a282426b0
JS engine warning: leaking GC root 'item_this' at 0x7f9a280e1880
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2809d688
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28241468
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280b8768
JS engine warning: leaking GC root 'item_this' at 0x7f9a2811c520
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28127d78
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280f89b8
JS engine warning: leaking GC root 'item_this' at 0x7f9a280e6b00
JS engine warning: leaking GC root 'item_this' at 0x7f9a280c6a70
JS engine warning: leaking GC root 'item_this' at 0x7f9a28123c60
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280f3fe8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280d8598
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28262868
JS engine warning: leaking GC root 'item_this' at 0x7f9a282117f0
JS engine warning: leaking GC root 'jss' at 0x7f9a2802ab90
JS engine warning: leaking GC root 'item_this' at 0x7f9a28228b20
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280d46a8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28120ec8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a282123e8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2807fbb8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28294788
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a282892c8
JS engine warning: leaking GC root 'item_this' at 0x7f9a280d7d00
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28113768
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280ec2c8
JS engine warning: leaking GC root 'item_this' at 0x7f9a280ff340
JS engine warning: leaking GC root 'item_this' at 0x7f9a280bec90
JS engine warning: leaking GC root 'item_this' at 0x7f9a28112b00
JS engine warning: leaking GC root 'item_this' at 0x7f9a282986a0
JS engine warning: leaking GC root 'item_this' at 0x7f9a2822c5d0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2829da28
JS engine warning: leaking GC root 'item_this' at 0x7f9a2811e760
JS engine warning: leaking GC root 'item_this' at 0x7f9a280d16d0
JS engine warning: leaking GC root 'item_this' at 0x7f9a280a0eb0
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280ab778
JS engine warning: leaking GC root 'item_this' at 0x7f9a282359e0
JS engine warning: leaking GC root 'item_this' at 0x7f9a280b8190
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280862b8
JS engine warning: leaking GC root 'item_this' at 0x7f9a282907b0
JS engine warning: leaking GC root 'item_this' at 0x7f9a2828f020
JS engine warning: leaking GC root 'item_this' at 0x7f9a2810cb70
JS engine warning: leaking GC root 'item_this' at 0x7f9a28095100
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2822ce88
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280fc028
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a280fd1d8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2810d1d8
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a28091de8
JS engine warning: leaking GC root 'item_this' at 0x7f9a2825e6c0
JS engine warning: leaking GC root 'item_this' at 0x7f9a2808cb70
JS engine warning: leaking GC root 'item_this' at 0x7f9a28120780
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2809ad68
JS engine warning: leaking GC root 'eventhandler' at 0x7f9a2828c7a8
JS engine warning: leaking GC root 'item_this' at 0x7f9a28126b60
JS engine warning: leaking GC root 'item_this' at 0x7f9a2827d3d0
JS engine warning: 149 GC roots remain after destroying the JSRuntime at 0x25d8ab0.
                   These roots may point to freed memory. Objects reachable
                   through them have not been finalized.
core [DEBUG]: Backend finished
core [DEBUG]: Slow shutdown hooks finished
thread [DEBUG]: Thread blobcache exited
core [DEBUG]: Blobcache finished
core [DEBUG]: Metadb finished
core [DEBUG]: Showtime terminated normally

#3 Updated by Leonid Protasov about 7 years ago

Oops. I'm very sorry. My fault - compilation failed on my side and I didn't notice that. It's ok.

Also available in: Atom PDF