Bug 17880 - Local music service has been stopped due to a problem.
: Local music service has been stopped due to a problem.
Status: RESOLVED WONTFIX
Product: SB Touch
Classification: Unclassified
Component: TinySC
: 7.7.1
: Other Other
: -- critical with 1 vote (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-05 09:46 UTC by Dusan
Modified: 2019-01-25 10:10 UTC (History)
3 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dusan 2012-02-05 09:46:30 UTC
Happens after the music files are scanned and very early after the artwork scan begins. 
Log shows an out of memory/low memory error. The LMS/TinySC "experiences a problem" actually because the script calls out the kill command to kill the LMS process (!). 
' would like to see the alternatives to overcome this problem instead of having the software killing the process that is experiencing the problem itself.
Happens consistently almost the same way on 7.6.x and 7.7.1/7.7.2 ; occasionally happens on 7.5.4 as well, but with several retries it is possible to go through. 
(not a new appearance - mentioned in a number of threads on forum.slimdevices.com  as well).
Comment 1 Dusan 2012-02-08 11:00:29 UTC
... as mentioned, same happened on 7.5.4 as well. Part of log here:

Feb  8 18:40:08 slimserver.pl: [12-02-08 18:40:08.5198] main::init (346) Starting Squeezebox Server (v7.5.4, r32225, Wed Apr  6 11:35:42 MDT 2011) perl 5.010000
Feb  8 18:41:28 squeezeplay: INFO   applet.MediaManager - MediaManagerApplet.lua:208 mmGetMountedDevices()
Feb  8 18:41:28 squeezeplay: WARN   applet.SqueezeCenter - SqueezeCenterApplet.lua:583 writing sda1 to SC prefs file
Feb  8 18:41:55 slimserver.pl: [12-02-08 18:41:55.5966] main::init (346) Starting Squeezebox Server (v7.5.4, r32225, Wed Apr  6 11:35:42 MDT 2011) perl 5.010000
Feb  8 18:42:09 slimserver.pl: [12-02-08 18:42:09.7772] Slim::Utils::Scanner::Local::rescan (138) Discovering files in /media/sda1
Feb  8 18:53:37 slimserver.pl: [12-02-08 18:53:37.9878] Slim::Utils::Scanner::Local::__ANON__ (209) Removing deleted files (0)
Feb  8 18:53:38 slimserver.pl: [12-02-08 18:53:37.9988] Slim::Utils::Scanner::Local::__ANON__ (262) Scanning new files (12)
Feb  8 18:53:42 slimserver.pl: [12-02-08 18:53:42.8288] Slim::Utils::Scanner::Local::__ANON__ (315) Rescanning changed files (0)
Feb  8 18:54:04 slimserver.pl: [12-02-08 18:54:04.9133] Slim::Music::Artwork::precacheAllArtwork (426) Starting precacheArtwork for 1002 albums
Feb  8 18:54:20 kernel: slimserver.pl invoked oom-killer: gfp_mask=0x1200d2, order=0, oomkilladj=0
Feb  8 18:54:20 kernel: [<c02f6bfc>] 
Feb  8 18:54:20 kernel: (dump_stack+0x0/0x14) 
Feb  8 18:54:20 kernel: from [<c0081b50>] 
Feb  8 18:54:20 kernel: (T.253+0x5c/0x1b8)
Feb  8 18:54:20 kernel: [<c0081af4>] 
Feb  8 18:54:20 kernel: (T.253+0x0/0x1b8) 
Feb  8 18:54:20 kernel: from [<c0081e54>] 
Feb  8 18:54:20 kernel: (out_of_memory+0x1a8/0x204)
Feb  8 18:54:20 kernel:  r8:000009af
Feb  8 18:54:20 kernel:  r7:c7c771a0
Feb  8 18:54:20 kernel:  r6:001200d2
Feb  8 18:54:20 kernel:  r5:00000000
Feb  8 18:54:20 kernel:  r4:c71b8000
Feb  8 18:54:20 kernel: [<c0081cac>] 
Feb  8 18:54:20 kernel: (out_of_memory+0x0/0x204) 
Feb  8 18:54:20 kernel: from [<c00845d8>] 
Feb  8 18:54:20 kernel: (__alloc_pages_internal+0x308/0x3d0)
Feb  8 18:54:20 kernel: [<c00842d0>] 
Feb  8 18:54:20 kernel: (__alloc_pages_internal+0x0/0x3d0) 
Feb  8 18:54:20 kernel: from [<c00846c8>] 
Feb  8 18:54:20 kernel: (__alloc_pages+0x14/0x18)
Feb  8 18:54:20 kernel: [<c00846b4>] 
Feb  8 18:54:20 kernel: (__alloc_pages+0x0/0x18) 
Feb  8 18:54:20 kernel: from [<c008df30>] 
Feb  8 18:54:20 kernel: (handle_mm_fault+0x194/0x6fc)
Feb  8 18:54:20 kernel: [<c008dd9c>] 
Feb  8 18:54:20 kernel: (handle_mm_fault+0x0/0x6fc) 
Feb  8 18:54:20 kernel: from [<c0033d84>] 
Feb  8 18:54:20 kernel: (do_page_fault+0xe8/0x234)
Feb  8 18:54:20 kernel: [<c0033c9c>] 
Feb  8 18:54:20 kernel: (do_page_fault+0x0/0x234) 
Feb  8 18:54:20 kernel: from [<c002e274>] 
Feb  8 18:54:20 kernel: (do_DataAbort+0x38/0x9c)
Feb  8 18:54:20 kernel: [<c002e23c>] 
Feb  8 18:54:20 kernel: (do_DataAbort+0x0/0x9c) 
Feb  8 18:54:20 kernel: from [<c002eaa0>] 
Feb  8 18:54:20 kernel: (ret_from_exception+0x0/0x10)
Feb  8 18:54:20 kernel: Exception stack(0xc71b9fb0 to 0xc71b9ff8)
Feb  8 18:54:20 kernel: 9fa0: 
Feb  8 18:54:20 kernel:          
Feb  8 18:54:20 kernel:          
Feb  8 18:54:20 kernel:          
Feb  8 18:54:20 kernel:          
Feb  8 18:54:20 kernel: 420ce018 
Feb  8 18:54:20 kernel: 00000000 
Feb  8 18:54:20 kernel: 420d9818 
Feb  8 18:54:20 kernel: 00000000 
Feb  8 18:54:20 kernel: 9fc0: 
Feb  8 18:54:20 kernel: 00002800 
Feb  8 18:54:20 kernel: 00000000 
Feb  8 18:54:20 kernel: 420d6f98 
Feb  8 18:54:20 kernel: 000003e0 
Feb  8 18:54:20 kernel: 00000414 
Feb  8 18:54:20 kernel: 00000004 
Feb  8 18:54:20 kernel: 000e4950 
Feb  8 18:54:20 kernel: 0000004b 
Feb  8 18:54:20 kernel: 9fe0: 
Feb  8 18:54:20 kernel: 420d7018 
Feb  8 18:54:20 kernel: bec2c4cc 
Feb  8 18:54:20 kernel: 4054df6b 
Feb  8 18:54:20 kernel: 401baeb4 
Feb  8 18:54:20 kernel: 20000010 
Feb  8 18:54:20 kernel: ffffffff 
Feb  8 18:54:20 kernel:          
Feb  8 18:54:20 kernel:          
Feb  8 18:54:20 kernel:  r7:000003e0
Feb  8 18:54:20 kernel:  r6:420d6f98
Feb  8 18:54:20 kernel:  r5:00000000
Feb  8 18:54:20 kernel:  r4:ffffffff
Feb  8 18:54:20 kernel: Mem-info:
Feb  8 18:54:20 kernel: DMA per-cpu:
Feb  8 18:54:20 kernel: CPU    0: hi:    0, btch:   1 usd:   0
Feb  8 18:54:20 kernel: Normal per-cpu:
Feb  8 18:54:20 kernel: CPU    0: hi:   42, btch:   7 usd:  34
Feb  8 18:54:20 kernel: Active:24532 inactive:3305 dirty:0 writeback:0 unstable:0
Feb  8 18:54:20 kernel:  free:486 slab:1728 mapped:2982 pagetables:135 bounce:0
Feb  8 18:54:20 kernel: DMA free:724kB min:268kB low:332kB high:400kB active:13140kB inactive:2676kB present:24384kB pages_scanned:5523 all_unreclaimable? no
Feb  8 18:54:20 kernel: lowmem_reserve[]:
Feb  8 18:54:20 kernel:  0
Feb  8 18:54:20 kernel:  103
Feb  8 18:54:20 kernel:  103
Feb  8 18:54:20 kernel: Normal free:1220kB min:1168kB low:1460kB high:1752kB active:84988kB inactive:10544kB present:105664kB pages_scanned:5984 all_unreclaimable? no
Feb  8 18:54:20 kernel: lowmem_reserve[]:
Feb  8 18:54:20 kernel:  0
Feb  8 18:54:20 kernel:  0
Feb  8 18:54:20 kernel:  0
Feb  8 18:54:20 kernel: DMA: 
Feb  8 18:54:20 kernel: 11*4kB 
Feb  8 18:54:20 kernel: 1*8kB 
Feb  8 18:54:20 kernel: 0*16kB 
Feb  8 18:54:20 kernel: 1*32kB 
Feb  8 18:54:20 kernel: 0*64kB 
Feb  8 18:54:20 kernel: 1*128kB 
Feb  8 18:54:20 kernel: 0*256kB 
Feb  8 18:54:20 kernel: 1*512kB 
Feb  8 18:54:20 kernel: 0*1024kB 
Feb  8 18:54:20 kernel: 0*2048kB 
Feb  8 18:54:20 kernel: 0*4096kB 
Feb  8 18:54:20 kernel: = 724kB
Feb  8 18:54:20 kernel: Normal: 
Feb  8 18:54:20 kernel: 21*4kB 
Feb  8 18:54:20 kernel: 4*8kB 
Feb  8 18:54:20 kernel: 3*16kB 
Feb  8 18:54:20 kernel: 1*32kB 
Feb  8 18:54:20 kernel: 0*64kB 
Feb  8 18:54:20 kernel: 0*128kB 
Feb  8 18:54:20 kernel: 0*256kB 
Feb  8 18:54:20 kernel: 0*512kB 
Feb  8 18:54:20 kernel: 1*1024kB 
Feb  8 18:54:20 kernel: 0*2048kB 
Feb  8 18:54:20 kernel: 0*4096kB 
Feb  8 18:54:20 kernel: = 1220kB
Feb  8 18:54:20 kernel: 4584 total pagecache pages
Feb  8 18:54:20 kernel: Swap cache: add 0, delete 0, find 0/0
Feb  8 18:54:20 kernel: Free swap  = 0kB
Feb  8 18:54:20 kernel: Total swap = 0kB
Feb  8 18:54:20 kernel: 32768 pages of RAM
Feb  8 18:54:20 kernel: 662 free pages
Feb  8 18:54:20 kernel: 1878 reserved pages
Feb  8 18:54:20 kernel: 1728 slab pages
Feb  8 18:54:20 kernel: 8441 pages shared
Feb  8 18:54:20 kernel: 0 pages swap cached
Feb  8 18:54:20 kernel: Out of memory: kill process 8947 (slimserver.pl) score 2479 or a child
Feb  8 18:54:20 kernel: Killed process 8947 (slimserver.pl)
Feb  8 18:54:24 squeezeplay: WARN   applet.SqueezeboxFab4 - SqueezeboxFab4Applet.lua:773 SC guard timer - SC got killed!!!
Comment 3 Michael Herger 2019-01-25 10:10:34 UTC
TinySC will not be updated any more.