Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 11:04 am

DaveMT wrote:
Sat Apr 04, 2020 10:40 am
Wonty wrote:
Sat Apr 04, 2020 10:07 am
DaveMT wrote:
Sat Apr 04, 2020 8:59 am

My pleasure mate, anytime!
Yeah so, how do I do that?
post on here mate, or PM me if there is a way on here, I'm going nowhere mate, If I understand the messages we are getting I'm home bound till Sept in Aus... so always about mate

User avatar
Paul Webster
Posts: 822
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 12:33 pm

Thinking aloud ... how feasible would it be to split the music indexing and fetching from the display/selection part?
More like a server/client configuration.
This might then make it easy to have multiple players running off same data and (what I am thinking about) replacing the back-end with something else (Squeezebox Server - LMS).

DA313
Posts: 23
Joined: Fri Jun 07, 2019 12:00 am
Location: United States, Georgia

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 2:04 pm

Mike (and anyone else who knows the solution):

Is there a way to make fruitbox ignore the word THE in Artist Names. For example, I run into STATLER BROTHERS and THE STATLER BROTHERS showing up in two different places instead of grouped all together. I know there must be some way to fix this because my little dinky dumb phone's music player knows to put them together for sorting purposes.

Thanks in advance as always for all you do.
Joe
"From this nettle, danger, we pluck this flower, safety." (Shakespeare, Henry IV)

DaveMT
Posts: 10
Joined: Thu Apr 04, 2019 5:06 pm

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 2:37 pm

Wonty wrote:
Sat Apr 04, 2020 11:04 am
DaveMT wrote:
Sat Apr 04, 2020 10:40 am
Wonty wrote:
Sat Apr 04, 2020 10:07 am


Yeah so, how do I do that?
post on here mate, or PM me if there is a way on here, I'm going nowhere mate, If I understand the messages we are getting I'm home bound till Sept in Aus... so always about mate
I did post on here 😂 my original post is me asking for help on how to add music. Can anyone help me? Pleeeeeeeeeeease!

User avatar
fruitbox
Posts: 437
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 5:46 pm

DA313 wrote:
Sat Apr 04, 2020 2:04 pm
Mike (and anyone else who knows the solution):

Is there a way to make fruitbox ignore the word THE in Artist Names. For example, I run into STATLER BROTHERS and THE STATLER BROTHERS showing up in two different places instead of grouped all together. I know there must be some way to fix this because my little dinky dumb phone's music player knows to put them together for sorting purposes.

Thanks in advance as always for all you do.
Joe
Hi Joe

There's no way fruitbox can do that currently. However, it seems a useful thing to have so I can add it to the next release.

Cheers
Mike

User avatar
fruitbox
Posts: 437
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 5:57 pm

DaveMT wrote:
Sat Apr 04, 2020 2:37 pm
Wonty wrote:
Sat Apr 04, 2020 11:04 am
DaveMT wrote:
Sat Apr 04, 2020 10:40 am


post on here mate, or PM me if there is a way on here, I'm going nowhere mate, If I understand the messages we are getting I'm home bound till Sept in Aus... so always about mate
I did post on here 😂 my original post is me asking for help on how to add music. Can anyone help me? Pleeeeeeeeeeease!
Hi

The easiest way is to put your music on the SD card, in a directory called Music in your user home directory. That way you won't need to modify the MusicPath values in any of the skins. From the raspberry pi's command shell, just type

Code: Select all

cd ~
mkdir Music
Then copy all your music into that new Music directory. It doesn't matter if they are in individual folders within the Music directory. If your mp3 files are on a Windows machine, you can use a free windows program called WinSCP, and drag and drop your files from your PC to the Pi. You'll need to enable SSH on your pi first by running sudo raspi-config on your pi, and enabling SSH from the Interfacing Options menu.

Cheers
Mike

kramg
Posts: 36
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Fruitbox and LMS

Sat Apr 04, 2020 9:52 pm

Paul Webster wrote:
Sat Apr 04, 2020 12:33 pm
Thinking aloud ... how feasible would it be to split the music indexing and fetching from the display/selection part?
More like a server/client configuration.
This might then make it easy to have multiple players running off same data and (what I am thinking about) replacing the back-end with something else (Squeezebox Server - LMS).
Paul,

This is something that's been on my mind for quite a while and, with the inordinate amount of free time I seem to have on my hands at the moment, I was thinking I might give it a shot. I have limited python and even more limited C++ skills so I will be taking this slowly, likely starting by simply piping the fruitbox queue to a helper program which would then communicate to my slimserver (not unlike what others have done to display "Now Playing" information on external displays). If you are interested I would be happy to collaborate, especially if you have some programming skills :-) If we come up with something useful we can push it back to Mike for inclusion in the repository if he is so inclined.

Cheers,

- gustav
Last edited by kramg on Fri Apr 10, 2020 8:28 pm, edited 1 time in total.

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Sat Apr 04, 2020 10:41 pm

Then copy all your music into that new Music directory. It doesn't matter if they are in individual folders within the Music directory. If your mp3 files are on a Windows machine, you can use a free windows program called WinSCP, and drag and drop your files from your PC to the Pi. You'll need to enable SSH on your pi first by running sudo raspi-config on your pi, and enabling SSH from the Interfacing Options menu.
Cheers
Mike
@DAVEMT - I have to say after all what I have learned you want to mount the music on the SD Card for sure, it makes life so much easier as you don't need to mount the USB drive.

I used a programme called Cyberduck (on MACOS - no idea if its decent but it works) to connect over SSH to transfer my music to the SD Card; worked well. To get to that point follow Mike's post... easy as that mate, you should be listening within the hour!

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Sun Apr 05, 2020 12:03 pm

fruitbox wrote:
Sat Apr 04, 2020 8:06 am
Wonty wrote:
Sat Apr 04, 2020 7:20 am

Hi Scot

Thanks for preserving with this. The memory issue is a little worrying...you may just be unlucky with your SD Card, but it may point to something more sinister with fruitbox itself, such as a memory leak bug, although most users I'm assuming haven't got this problem.

Anyway, we can't rule out a problem with fruitbox, so I better do some tests myself to see if I can reproduce the issue.

Cheers
Mike
HI Mike,

Well did some more work on the pi today, still getting the memory leak, this is the latest extraction of the syslog (in saying this it's pretty similar every time it drops)

Code: Select all

Apr  5 21:45:12 raspberrypi kernel: [ 2538.181191] fruitbox invoked oom-killer: gfp_mask=0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null), order=0, oom_score_adj=0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181198] fruitbox cpuset=/ mems_allowed=0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181219] CPU: 1 PID: 688 Comm: fruitbox Tainted: G         C        4.19.66-v7+ #1253
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181221] Hardware name: BCM2835
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181253] [<80111f38>] (unwind_backtrace) from [<8010d4b0>] (show_stack+0x20/0x24)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181266] [<8010d4b0>] (show_stack) from [<808191e0>] (dump_stack+0xd4/0x118)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181282] [<808191e0>] (dump_stack) from [<8023cee0>] (dump_header+0x80/0x250)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181292] [<8023cee0>] (dump_header) from [<8023c258>] (oom_kill_process+0x358/0x3a8)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181299] [<8023c258>] (oom_kill_process) from [<8023cb88>] (out_of_memory+0x134/0x36c)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181309] [<8023cb88>] (out_of_memory) from [<80242fe0>] (__alloc_pages_nodemask+0x1024/0x1178)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181319] [<80242fe0>] (__alloc_pages_nodemask) from [<80271ec4>] (__pte_alloc+0x34/0x1b4)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181329] [<80271ec4>] (__pte_alloc) from [<80276020>] (handle_mm_fault+0xce4/0xd68)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181339] [<80276020>] (handle_mm_fault) from [<80836e28>] (do_page_fault+0x330/0x3a4)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181346] [<80836e28>] (do_page_fault) from [<80836f58>] (do_translation_fault+0xbc/0xc0)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181355] [<80836f58>] (do_translation_fault) from [<8011665c>] (do_DataAbort+0x58/0xf4)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181364] [<8011665c>] (do_DataAbort) from [<80101ca4>] (__dabt_usr+0x44/0x60)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181368] Exception stack(0xaafe5fb0 to 0xaafe5ff8)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181372] 5fa0:                                     41159ae8 4115a808 449fee88 ffffffff
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181378] 5fc0: 00000b21 00000000 00000fa0 00003e80 00000000 ff00ffff 000000ff 0019f160
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181383] 5fe0: 44a00000 709fc7f0 44a02d08 00112abc 20000010 ffffffff
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181386] Mem-Info:
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181400] active_anon:88797 inactive_anon:88810 isolated_anon:0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181400]  active_file:42 inactive_file:57 isolated_file:0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181400]  unevictable:0 dirty:0 writeback:66 unstable:0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181400]  slab_reclaimable:1804 slab_unreclaimable:2599
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181400]  mapped:164 shmem:185 pagetables:542 bounce:0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181400]  free:5546 free_pcp:501 free_cma:1505
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181410] Node 0 active_anon:355188kB inactive_anon:355240kB active_file:168kB inactive_file:228kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:656kB dirty:0kB writeback:264kB shmem:740kB writeback_tmp:0kB unstable:0kB all_unreclaimable? yes
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181423] Normal free:22184kB min:16384kB low:20480kB high:24576kB active_anon:355388kB inactive_anon:354652kB active_file:448kB inactive_file:444kB unevictable:0kB writepending:164kB present:786432kB managed:765604kB mlocked:0kB kernel_stack:920kB pagetables:2168kB bounce:0kB free_pcp:2004kB local_pcp:448kB free_cma:6020kB
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181425] lowmem_reserve[]: 0 0
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181433] Normal: 79*4kB (UMEHC) 112*8kB (UMEH) 72*16kB (UMEHC) 37*32kB (UEHC) 16*64kB (UEHC) 6*128kB (UH) 5*256kB (MHC) 4*512kB (UMC) 1*1024kB (C) 2*2048kB (MH) 2*4096kB (MC) = 21980kB
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181487] 481 total pagecache pages
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181490] 122 pages in swap cache
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181494] Swap cache stats: add 25707, delete 25587, find 43/72
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181496] Free swap  = 0kB
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181500] Total swap = 102396kB
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181503] 196608 pages RAM
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181505] 0 pages HighMem/MovableOnly
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181507] 5207 pages reserved
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181509] 2048 pages cma reserved
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181513] Tasks state (memory values in pages):
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181516] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181537] [    102]     0   102     6156      199    20480       87             0 systemd-journal
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181543] [    136]     0   136     3602       14    18432      155         -1000 systemd-udevd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181550] [    292]   100   292     4319       16    18432       93             0 systemd-timesyn
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181556] [    334]     0   334     1323       16    16384       37             0 cron
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181562] [    335]     0   335     1845       20    14336       94             0 systemd-logind
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181568] [    336]     0   336     5939        0    22528      190             0 rsyslogd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181576] [    339] 65534   339     1324        5    12288       54             0 thd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181581] [    348]   108   348     1599       21    14336       64             0 avahi-daemon
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181588] [    351]   105   351     1625        0    16384      105          -900 dbus-daemon
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181593] [    357]   108   357     1599        4    14336       71             0 avahi-daemon
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181600] [    369]     0   369     2500       12    18432       83             0 wpa_supplicant
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181607] [    427]     0   427     2643       38    18432       98             0 wpa_supplicant
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181612] [    457]     0   457      521        0     8192       32             0 hciattach
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181620] [    462]     0   462     1769        0    14336       74             0 bluetoothd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181625] [    569]     0   569      734       33     8192       66             0 dhcpcd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181630] [    581]     0   581     1469        2    14336      113             0 login
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181636] [    583]     0   583     2552        0    18432      135         -1000 sshd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181642] [    594]  1000   594     2414        0    16384      177             0 systemd
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181651] [    597]  1000   597     2847       16    16384      317             0 (sd-pam)
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181656] [    602]  1000   602     1467        2    14336      260             0 bash
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181663] [    680]  1000   680   231263   176953   866304    20989             0 fruitbox
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181669] Out of memory: Kill process 680 (fruitbox) score 913 or sacrifice child
Apr  5 21:45:12 raspberrypi kernel: [ 2538.181726] Killed process 680 (fruitbox) total-vm:925052kB, anon-rss:707812kB, file-rss:0kB, shmem-rss:0kB
Apr  5 21:45:12 raspberrypi kernel: [ 2538.294028] oom_reaper: reaped process 680 (fruitbox), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Apr  5 21:45:12 raspberrypi kernel: [ 2538.301165] bcm2835_audio soc:audio: failed to close VCHI service connection (status=1)
Apr  5 21:49:37 raspberrypi systemd[1]: Started Session c2 of user pi.
Apr  5 21:50:06 raspberrypi systemd[1]: Started Session c3 of user pi.
So steps i've done is replaced previous Raspberry pi board with a brand new board (just in case I screwed something wiring my buttons). New board has not been installed into cab, just running in case with fan connected to the power lines of the GPIO pins.

Built the image of the build I last made and i then installed that image on to an existing 32GB sd card, and the memory leaks happened again. To check the board I got a 8gb SD card and installed the lastest batocera.linux image on the card and ran emulator but dropped into kodi and watched a film; no memory leaks and uptime was about 3hours; I found the image included the old game DOOM - memories of days gone by.

So after this assumed board was solid, went and purchased a brand new 32GB micro SD card (sanddisk 32Gb Extreme pro), came home installed the image i made last night and got it going, I managed to get about 45mins play till it dropped.

The next plan is to use the new sd card and the working board and do a complete fresh install tomorrow - thankfully working from home means I can be installing while I am working ;)

I know this is a long shot, but would the power supply make any difference? Only thing I've not swapped to be honest; its a pucker Raspberry pi PSU - so guessing it should be sound, but will do some amp measurements from the GPIO board as well tomorrow on a meter to see what it's pushing out

Will keep you posted on how it goes... hope your day is a good one. Scot

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Mon Apr 06, 2020 8:28 am

Wonty wrote:
Sun Apr 05, 2020 12:03 pm
fruitbox wrote:
Sat Apr 04, 2020 8:06 am
Wonty wrote:
Sat Apr 04, 2020 7:20 am
Will keep you posted on how it goes... hope your day is a good one. Scot
Hi Mike,

So this is where I go to today, bottom line is I've have seen the memory leak occur each time I've been trialling different approaches, just for the record today's trials have included:

existing image installed on new SD Card executed on former RPI board
fresh install on new SD card executed on former and new RPI board

for each version above I ran it under three test conditions of

1) constant maximised out Playlist
2) empty playlist allowing fruitbox to outrun
3) minimal playlist allowing one mp3 to play while playlist was maintained at 2 items

Before I ran the test conditions I verified that my MP3 files were not corrupted and all were found to be fine.

I also checked the current of the GPIO pins for the former and new board; all was fine so I concluded RPI official PSU was operating as specified.

The final leak extract of the Syslog is here

Code: Select all

Apr  6 08:50:19 raspberrypi kernel: [ 2472.214115] fruitbox invoked oom-killer: gfp_mask=0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null), order=0, oom_score_adj=0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214131] fruitbox cpuset=/ mems_allowed=0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214168] CPU: 1 PID: 741 Comm: fruitbox Tainted: G         C        4.19.66-v7+ #1253
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214173] Hardware name: BCM2835
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214218] [<80111f38>] (unwind_backtrace) from [<8010d4b0>] (show_stack+0x20/0x24)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214239] [<8010d4b0>] (show_stack) from [<808191e0>] (dump_stack+0xd4/0x118)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214264] [<808191e0>] (dump_stack) from [<8023cee0>] (dump_header+0x80/0x250)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214287] [<8023cee0>] (dump_header) from [<8023c258>] (oom_kill_process+0x358/0x3a8)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214305] [<8023c258>] (oom_kill_process) from [<8023cb88>] (out_of_memory+0x134/0x36c)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214323] [<8023cb88>] (out_of_memory) from [<80242fe0>] (__alloc_pages_nodemask+0x1024/0x1178)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214344] [<80242fe0>] (__alloc_pages_nodemask) from [<80271ec4>] (__pte_alloc+0x34/0x1b4)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214367] [<80271ec4>] (__pte_alloc) from [<80276020>] (handle_mm_fault+0xce4/0xd68)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214387] [<80276020>] (handle_mm_fault) from [<80836e28>] (do_page_fault+0x330/0x3a4)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214405] [<80836e28>] (do_page_fault) from [<80836f58>] (do_translation_fault+0xbc/0xc0)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214424] [<80836f58>] (do_translation_fault) from [<8011665c>] (do_DataAbort+0x58/0xf4)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214440] [<8011665c>] (do_DataAbort) from [<80101ca4>] (__dabt_usr+0x44/0x60)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214449] Exception stack(0xab6f7fb0 to 0xab6f7ff8)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214460] 7fa0:                                     415a5408 415a6008 44fff008 ffffffff
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214473] 7fc0: 00000ce0 00000000 00000fa0 00003e80 00000000 ff00ffff 000000ff 0019f160
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214485] 7fe0: 45000000 709fc7f0 45002e88 00112abc 20000010 ffffffff
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214495] Mem-Info:
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214521] active_anon:88950 inactive_anon:89039 isolated_anon:0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214521]  active_file:67 inactive_file:37 isolated_file:0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214521]  unevictable:0 dirty:0 writeback:0 unstable:0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214521]  slab_reclaimable:1762 slab_unreclaimable:2520
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214521]  mapped:156 shmem:149 pagetables:595 bounce:0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214521]  free:5240 free_pcp:416 free_cma:1505
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214539] Node 0 active_anon:355800kB inactive_anon:356156kB active_file:268kB inactive_file:148kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:624kB dirty:0kB writeback:0kB shmem:596kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214562] Normal free:20960kB min:16384kB low:20480kB high:24576kB active_anon:355800kB inactive_anon:356156kB active_file:404kB inactive_file:196kB unevictable:0kB writepending:0kB present:786432kB managed:765604kB mlocked:0kB kernel_stack:912kB pagetables:2380kB bounce:0kB free_pcp:1664kB local_pcp:128kB free_cma:6020kB
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214568] lowmem_reserve[]: 0 0
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214588] Normal: 215*4kB (UMEC) 134*8kB (UMEC) 69*16kB (UMEC) 46*32kB (UMEC) 25*64kB (UMEC) 17*128kB (UME) 7*256kB (UEC) 2*512kB (UC) 2*1024kB (UC) 2*2048kB (UE) 1*4096kB (C) = 21340kB
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214706] 318 total pagecache pages
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214716] 25 pages in swap cache
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214724] Swap cache stats: add 25770, delete 25746, find 115/142
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214731] Free swap  = 0kB
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214736] Total swap = 102396kB
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214743] 196608 pages RAM
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214748] 0 pages HighMem/MovableOnly
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214753] 5207 pages reserved
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214759] 2048 pages cma reserved
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214765] Tasks state (memory values in pages):
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214772] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214808] [    120]     0   120     2909      160    18432       85             0 systemd-journal
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214820] [    137]     0   137     3602       14    16384      139         -1000 systemd-udevd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214849] [    298]   100   298     4319       16    18432       93             0 systemd-timesyn
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214864] [    348]   108   348     1599       35    14336       50             0 avahi-daemon
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214876] [    353]     0   353     5939        0    18432      174             0 rsyslogd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214888] [    363] 65534   363     1324        6    14336       53             0 thd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214902] [    378]   105   378     1625        0    16384      105          -900 dbus-daemon
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214916] [    381]   108   381     1599       14    14336       61             0 avahi-daemon
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214931] [    393]     0   393     2500       12    18432       83             0 wpa_supplicant
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214946] [    395]     0   395     1845       20    16384       92             0 systemd-logind
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214959] [    399]     0   399     1323       15    14336       38             0 cron
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214972] [    434]     0   434     2643       34    16384      104             0 wpa_supplicant
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214986] [    462]     0   462      521        0    10240       32             0 hciattach
Apr  6 08:50:19 raspberrypi kernel: [ 2472.214998] [    467]     0   467     1769        0    14336       74             0 bluetoothd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215010] [    574]     0   574      734       33    12288       68             0 dhcpcd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215021] [    586]     0   586     1469        2    16384      113             0 login
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215035] [    589]     0   589     2552        0    18432      136         -1000 sshd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215049] [    598]  1000   598     2414        0    18432      172             0 systemd
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215064] [    602]  1000   602     2812       15    20480      284             0 (sd-pam)
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215079] [    607]  1000   607     1467        2    14336      260             0 bash
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215094] [    732]  1000   732   231007   177489   872448    22217             0 fruitbox
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215108] Out of memory: Kill process 732 (fruitbox) score 921 or sacrifice child
Apr  6 08:50:19 raspberrypi kernel: [ 2472.215199] Killed process 732 (fruitbox) total-vm:924028kB, anon-rss:709956kB, file-rss:0kB, shmem-rss:0kB
Apr  6 08:50:19 raspberrypi kernel: [ 2472.360756] oom_reaper: reaped process 732 (fruitbox), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Apr  6 08:50:19 raspberrypi kernel: [ 2472.365688] bcm2835_audio soc:audio: failed to close VCHI service connection (status=1)
Apr  6 09:17:01 raspberrypi CRON[996]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.099932] fruitbox invoked oom-killer: gfp_mask=0x6080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null), order=0, oom_score_adj=0
Apr  6 09:29:31 raspberrypi kernel: [ 4824.099944] fruitbox cpuset=/ mems_allowed=0
Apr  6 09:29:31 raspberrypi kernel: [ 4824.099961] CPU: 3 PID: 906 Comm: fruitbox Tainted: G         C        4.19.66-v7+ #1253
Apr  6 09:29:31 raspberrypi kernel: [ 4824.099967] Hardware name: BCM2835
Apr  6 09:29:31 raspberrypi kernel: [ 4824.099998] [<80111f38>] (unwind_backtrace) from [<8010d4b0>] (show_stack+0x20/0x24)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100013] [<8010d4b0>] (show_stack) from [<808191e0>] (dump_stack+0xd4/0x118)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100031] [<808191e0>] (dump_stack) from [<8023cee0>] (dump_header+0x80/0x250)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100042] [<8023cee0>] (dump_header) from [<8023c258>] (oom_kill_process+0x358/0x3a8)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100051] [<8023c258>] (oom_kill_process) from [<8023cb88>] (out_of_memory+0x134/0x36c)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100060] [<8023cb88>] (out_of_memory) from [<80242fe0>] (__alloc_pages_nodemask+0x1024/0x1178)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100074] [<80242fe0>] (__alloc_pages_nodemask) from [<80271ec4>] (__pte_alloc+0x34/0x1b4)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100083] [<80271ec4>] (__pte_alloc) from [<80276020>] (handle_mm_fault+0xce4/0xd68)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100093] [<80276020>] (handle_mm_fault) from [<80836e28>] (do_page_fault+0x330/0x3a4)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100100] [<80836e28>] (do_page_fault) from [<80836f58>] (do_translation_fault+0xbc/0xc0)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100108] [<80836f58>] (do_translation_fault) from [<8011665c>] (do_DataAbort+0x58/0xf4)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100118] [<8011665c>] (do_DataAbort) from [<80101ca4>] (__dabt_usr+0x44/0x60)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100122] Exception stack(0xab7c5fb0 to 0xab7c5ff8)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100128] 5fa0:                                     415a4528 415a6808 44ffd188 ffffffff
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100133] 5fc0: 00000cdf 00000000 00000fa0 00003e80 00000000 ff00ffff 000000ff 0019f160
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100138] 5fe0: 45000000 709fc7f0 45001008 00112abc 20000010 ffffffff
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100145] Mem-Info:
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100156] active_anon:89057 inactive_anon:89113 isolated_anon:0
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100156]  active_file:246 inactive_file:284 isolated_file:32
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100156]  unevictable:0 dirty:0 writeback:0 unstable:0
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100156]  slab_reclaimable:1791 slab_unreclaimable:2559
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100156]  mapped:510 shmem:114 pagetables:595 bounce:0
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100156]  free:4905 free_pcp:16 free_cma:1496
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100166] Node 0 active_anon:356228kB inactive_anon:356452kB active_file:984kB inactive_file:1136kB unevictable:0kB isolated(anon):0kB isolated(file):128kB mapped:2040kB dirty:0kB writeback:0kB shmem:456kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100176] Normal free:19620kB min:16384kB low:20480kB high:24576kB active_anon:356228kB inactive_anon:356452kB active_file:656kB inactive_file:2008kB unevictable:0kB writepending:0kB present:786432kB managed:765604kB mlocked:0kB kernel_stack:928kB pagetables:2380kB bounce:0kB free_pcp:64kB local_pcp:0kB free_cma:5984kB
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100178] lowmem_reserve[]: 0 0
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100190] Normal: 213*4kB (UMEC) 124*8kB (UMEC) 59*16kB (UMEC) 36*32kB (UMEC) 23*64kB (UMEC) 13*128kB (UME) 9*256kB (UEC) 1*512kB (U) 2*1024kB (UC) 2*2048kB (UE) 1*4096kB (C) = 20132kB
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100241] 908 total pagecache pages
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100245] 201 pages in swap cache
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100251] Swap cache stats: add 49453, delete 49254, find 620/818
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100253] Free swap  = 0kB
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100255] Total swap = 102396kB
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100258] 196608 pages RAM
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100261] 0 pages HighMem/MovableOnly
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100263] 5207 pages reserved
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100266] 2048 pages cma reserved
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100268] Tasks state (memory values in pages):
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100271] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100300] [    120]     0   120     2909      127    18432       84             0 systemd-journal
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100308] [    137]     0   137     3602       14    16384      139         -1000 systemd-udevd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100316] [    298]   100   298     4319       16    18432       93             0 systemd-timesyn
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100326] [    348]   108   348     1599       21    14336       64             0 avahi-daemon
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100332] [    353]     0   353     5939        0    18432      194             0 rsyslogd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100341] [    363] 65534   363     1324        5    14336       54             0 thd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100347] [    378]   105   378     1625        0    16384      105          -900 dbus-daemon
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100356] [    381]   108   381     1599        0    14336       75             0 avahi-daemon
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100362] [    393]     0   393     2500       12    18432       83             0 wpa_supplicant
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100371] [    395]     0   395     1845       20    16384       92             0 systemd-logind
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100377] [    399]     0   399     1323       16    14336       37             0 cron
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100386] [    434]     0   434     2643       34    16384      104             0 wpa_supplicant
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100391] [    462]     0   462      521        0    10240       32             0 hciattach
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100401] [    467]     0   467     1769        0    14336       74             0 bluetoothd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100406] [    574]     0   574      734       33    12288       68             0 dhcpcd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100415] [    586]     0   586     1469        2    16384      113             0 login
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100421] [    589]     0   589     2552        0    18432      136         -1000 sshd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100430] [    598]  1000   598     2414        0    18432      172             0 systemd
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100436] [    602]  1000   602     2812        1    20480      298             0 (sd-pam)
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100445] [    607]  1000   607     1470        0    14336      276             0 bash
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100451] [    898]  1000   898   231263   177546   872448    22148             0 fruitbox
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100462] Out of memory: Kill process 898 (fruitbox) score 921 or sacrifice child
Apr  6 09:29:31 raspberrypi kernel: [ 4824.100513] Killed process 898 (fruitbox) total-vm:925052kB, anon-rss:710184kB, file-rss:0kB, shmem-rss:0kB
Apr  6 09:29:31 raspberrypi kernel: [ 4824.206137] oom_reaper: reaped process 898 (fruitbox), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Apr  6 09:29:31 raspberrypi kernel: [ 4824.213086] bcm2835_audio soc:audio: failed to close VCHI service connection (status=1)
Only anomaly was recorded when I maintained the playlist to that of one playing, two being pre-selected. When Fruitbox was terminated, fruit box restarted automatically. I loaded three songs and the player played for another 40mins before dropping again.

At this point I wanted to try a different approach.

I dropped a Kodi image on to the new SD card and placed a film onto the SD card, i ran the film and no drop out was observed; I did this on the new RPI board and the former RPI board.

This leads me to the conclusion that I must be building Fruitbox incorrectly somehow. I follow the instructions and the only detour I make is how I said before, to get the dependencies to load that you explain

Code: Select all

sudo apt-get install libsm-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxpm-dev libvorbis-dev libtheora-dev
I run

Code: Select all

sudo apt-get update
then the dependencies load correctly until I do this Raspbian stretch lite struggles to locate the dependencies.

other than that I follow your instructions

I am not sure why or what is going on but I am going to conclude it must be something I am doing with the build of the image as I have only been playing with the Pi for a couple of weeks and have learnt a lot which was the initial reason for doing this. My plan now is to hold out for anyone to give me an idea to try or you release the image that you said you have planned at some stage so all good.

Thanks for your help up to now, will keep my eye out for the image. Hit me up if you want any of the build files mate and I will happily drop them over to you; again thanks for your help and time to date

All the best

Scot

kramg
Posts: 36
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Re: Out of Memory : Kill Process

Mon Apr 06, 2020 12:49 pm

Wonty wrote:
Mon Apr 06, 2020 8:28 am

I am not sure why or what is going on but I am going to conclude it must be something I am doing with the build of the image as I have only been playing with the Pi for a couple of weeks and have learnt a lot which was the initial reason for doing this. My plan now is to hold out for anyone to give me an idea to try or you release the image that you said you have planned at some stage so all good.

Thanks for your help up to now, will keep my eye out for the image. Hit me up if you want any of the build files mate and I will happily drop them over to you; again thanks for your help and time to date

All the best

Scot
Scot,

It may be a red herring, but, are you using buster or stretch? I've skimmed all your messages, but, couldn't see if you mentioned it. If you're running buster, maybe try stretch? You may also want to try an earlier version of fruitbox, I assume you're using v1.16?. Not saying it will work, but, it may help narrow the problem down. FWIW I don't think it has anything to do with the "apt-get update" as that is a normal part of setting up Raspbian.

Let me know how you get on. I normally run Fruitbox on a PiZero, but, I do have a Pi 3 doing other things that I could pull and try to duplicate your issues.

Cheers from Canada,

- gustav

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Tue Apr 07, 2020 10:32 am

kramg wrote:
Mon Apr 06, 2020 12:49 pm
Wonty wrote:
Mon Apr 06, 2020 8:28 am

I am not sure why or what is going on but I am going to conclude it must be something I am doing with the build of the image as I have only been playing with the Pi for a couple of weeks and have learnt a lot which was the initial reason for doing this. My plan now is to hold out for anyone to give me an idea to try or you release the image that you said you have planned at some stage so all good.

Thanks for your help up to now, will keep my eye out for the image. Hit me up if you want any of the build files mate and I will happily drop them over to you; again thanks for your help and time to date

All the best

Scot
Scot,

It may be a red herring, but, are you using buster or stretch? I've skimmed all your messages, but, couldn't see if you mentioned it. If you're running buster, maybe try stretch? You may also want to try an earlier version of fruitbox, I assume you're using v1.16?. Not saying it will work, but, it may help narrow the problem down. FWIW I don't think it has anything to do with the "apt-get update" as that is a normal part of setting up Raspbian.

Let me know how you get on. I normally run Fruitbox on a PiZero, but, I do have a Pi 3 doing other things that I could pull and try to duplicate your issues.

Cheers from Canada,

- gustav
Hi Gustav,

Many thanks from Aus to Canada for getting back to me mate; sincerely means a lot mate - plus gives me hope! I've wondered if I have been running the right distribution as I was worried when I did the apt-get update if that messed things up. Thanks for putting my mind at rest.

I've been using Distribution Release: Raspbian 2018-03-13 which I have have taken from here https://distrowatch.com/?newsid=10143 I have certainly pulled the latest Fruitbox version so yeah defo on v1.16. So could be clashing with each other that makes sense!

I'll have a crack at rebuilding tomorrow - probably a day away from it will help me think a bit clearer on it as well. Truly thank you for this help mate, so close to getting this going so hopefully this last crease can get sorted. Sincere thanks for this mate, it means a lot. Hope your day is a good one, Scot

kramg
Posts: 36
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Re: Out of Memory : Kill Process

Tue Apr 07, 2020 12:01 pm

Wonty wrote:
Tue Apr 07, 2020 10:32 am

I've been using Distribution Release: Raspbian 2018-03-13 which I have have taken from here https://distrowatch.com/?newsid=10143 I have certainly pulled the latest Fruitbox version so yeah defo on v1.16. So could be clashing with each other that makes sense!
Scot,

Another thing occurred to me: Is there any chance the Raspbian image you downloaded was corrupted? I see that the distrowatch site just points to the raspberrypi.org image so that should be good, but, did you verify your download with the sha256 sum? If not, download the sha256 sum, then from a terminal navigate to the directory containing both the zip and sha256 sum and run

Code: Select all

sha256sum -c 2018-03-13-raspbian-stretch-lite.zip.sha256 
That's for linux, I'm not sure what the equivalents in Windows or Mac are, but, I'm sure your can find them on the Internet.

If your Raspbian image is good, then, yeah, try an earlier version of Fruitbox.

Cheers,

- gustav

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Thu Apr 09, 2020 7:53 am

kramg wrote:
Tue Apr 07, 2020 12:01 pm
Wonty wrote:
Tue Apr 07, 2020 10:32 am
Scot,

Another thing occurred to me: Is there any chance the Raspbian image you downloaded was corrupted? I see that the distrowatch site just points to the raspberrypi.org image so that should be good, but, did you verify your download with the sha256 sum? If not, download the sha256 sum, then from a terminal navigate to the directory containing both the zip and sha256 sum and run

Code: Select all

sha256sum -c 2018-03-13-raspbian-stretch-lite.zip.sha256 
That's for linux, I'm not sure what the equivalents in Windows or Mac are, but, I'm sure your can find them on the Internet.

If your Raspbian image is good, then, yeah, try an earlier version of Fruitbox.

Cheers,

- gustav
Hi Gustav,

Thanks for sharing this with me, I've downloaded a couple more images now and tried them including a version of Rasbian that included the desktop - constantly getting the same issue. Giving it one more go now, have to say what was a fun project a few weeks ago is turning into a nightmare. Currently downloading 2017-09-07-raspbian-stretch-lite image so will see how this goes, I'll be honest I'm not holding my breath. Learned loads about what I can do with them and now know quite a lot more about pi's so all good learning just getting to a point I think whatever my problem is I am repeating it on different hardware, installs the lot. My takeaway is that I don't really know enough to get this working correctly.

Will let you know how I go, though I think if this bombs again which is my guess it will do, then I think i may just accept defeat and wait for the image. cheers fella. Happy Easter.


Scot

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Out of Memory : Kill Process

Thu Apr 09, 2020 9:48 am

Wonty wrote:
Thu Apr 09, 2020 7:53 am
Currently downloading 2017-09-07-raspbian-stretch-lite image
What possible reason do you have not to use Raspbian Buster Lite 2020-02-13? It works on every model of Raspberry and has three years of kernel development and software fixes included.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Thu Apr 09, 2020 10:07 am

DougieLawson wrote:
Thu Apr 09, 2020 9:48 am
Wonty wrote:
Thu Apr 09, 2020 7:53 am
Currently downloading 2017-09-07-raspbian-stretch-lite image
What possible reason do you have not to use Raspbian Buster Lite 2020-02-13? It works on every model of Raspberry and has three years of kernel development and software fixes included.
Firstly thanks for helping, I've read many of your post previously and you've helped me learn a lot - so lovely to speak to you.

Now then to answer you question is easy as, I've simply following the instructions presented by the author of Fruitbox, see dot point 1 here

https://github.com/chundermike/rpi-fruitbox

the readme.md file was last updated 5months ago so as some new to this world, you have to believe what you read, I think its a fair shout to not start calling folk out when you had to read instructions to set the pi up in the first place I'd say.

I literally am about three weeks into using a pi so reading a lot and trying to apply what I find to try and get myself going. I appreciate that a lot of this may seem like silly questions and basic mistakes but hey, my knowledge of what I can do now is spurring me on to keep going..

I'll give the latest Buster Lite build version you state above a go in the morning as the version i tried in my last post dropped out after 40mins via the OOM killer, so fingers crossed we get a better result with the latest version.

Its getting late here so will download now and try tomorrow, again sincere thanks for help, I'll let you know how I go

Scot

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: fruitbox MP3 jukebox

Thu Apr 09, 2020 10:54 am

You should start with Buster. Those instructions appear to be operating system agnostic.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mancave
Posts: 10
Joined: Thu Apr 02, 2020 1:25 pm

Re: fruitbox MP3 jukebox

Thu Apr 09, 2020 11:06 am

Hi Mike, hope you can help with this one.......

I've modified TouchOne for Albums. No major skin changes so displaying 2 albums on one screen.
In each area is album cover pic, title, artist and songs.
So to the issue which has been driving me bonkers for hours..... cannot display AlbumArtist.
What ever I do doesn't work.
If I add ArtistDescription = AlbumArtist it displays 'Unknown Album Artist'. If I leave it out completely, it displays the artist of the first track (not correct for compilation albums).
I've looked over the forum (especially some posts from Feb 2020), read the user guide from top to bottom several times and looked at .cfg for Granite.
It's as if the AlbumArtist info doesn't exist?

Any ideas or things to check?

Thanks, Rob.

kramg
Posts: 36
Joined: Sun Jan 27, 2019 10:49 pm
Location: Ottawa, Canada

Re: Out of Memory : Kill Process

Thu Apr 09, 2020 11:34 am

Wonty wrote:
Thu Apr 09, 2020 7:53 am
...I've downloaded a couple more images now and tried them including a version of Rasbian that included the desktop - constantly getting the same issue...
Scott,

If you've verified the Raspbian image with the checksum then the operating system is likely not the problem. I gave quick instructions for LInux in my earlier reply, If you are running Windows or MAC let me know which and I'll try to figure out how to verify the checksum on that platform.

Have you tried an earlier version of Fruitbox? I know that I found what may be a quirk in v1.16 with how it handles USB keyboards so there may be other oddities. It's not uncommon in software development that when you fix one thing you break something else and although you test and test and test, unless you test with every possible set up there is always a chance that something slips through. If you can't find an earlier copy let me know and I'll find a way to get you the executable for v1.14.

FWIW, I feel your frustration., we've all been there. Keep at it and you'll get there, otherwise it will tick you off every time you step into your mancave!

Cheers,

- gustav

User avatar
fruitbox
Posts: 437
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Thu Apr 09, 2020 9:31 pm

mancave wrote:
Thu Apr 09, 2020 11:06 am
Hi Mike, hope you can help with this one.......

I've modified TouchOne for Albums. No major skin changes so displaying 2 albums on one screen.
In each area is album cover pic, title, artist and songs.
So to the issue which has been driving me bonkers for hours..... cannot display AlbumArtist.
What ever I do doesn't work.
If I add ArtistDescription = AlbumArtist it displays 'Unknown Album Artist'. If I leave it out completely, it displays the artist of the first track (not correct for compilation albums).
I've looked over the forum (especially some posts from Feb 2020), read the user guide from top to bottom several times and looked at .cfg for Granite.
It's as if the AlbumArtist info doesn't exist?

Any ideas or things to check?

Thanks, Rob.
Hi Rob

If fruitbox displays 'Unknown album artist' it's because the album artist is not found in the mp3 file meta data. You'll need to check your mp3 files using a program like mp3tag (Windows), and add that data if it's missing, then regenerate the database.

Cheers
Mike

User avatar
fruitbox
Posts: 437
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Thu Apr 09, 2020 9:46 pm

DougieLawson wrote:
Thu Apr 09, 2020 10:54 am
You should start with Buster. Those instructions appear to be operating system agnostic.
The next release will take the form of an img file, so hopefully will be a lot less of a hassle to get it up and running.

Cheers
Mike

User avatar
DougieLawson
Posts: 38458
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: fruitbox MP3 jukebox

Thu Apr 09, 2020 10:09 pm

fruitbox wrote:
Thu Apr 09, 2020 9:46 pm
DougieLawson wrote:
Thu Apr 09, 2020 10:54 am
You should start with Buster. Those instructions appear to be operating system agnostic.
The next release will take the form of an img file, so hopefully will be a lot less of a hassle to get it up and running.

Cheers
Mike
I would have thought it would be better to create an *.deb file to install on the current standard version of Raspbian rather than your own image with all the pain that entails. If you do it right you may be able to pursuade the RPF/RPT folks to make it a built-in part of Raspbian (or at least a package I can install with regular apt update/apt install).
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

I'll do your homework for you for a suitable fee.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: Out of Memory : Kill Process

Fri Apr 10, 2020 2:01 am

kramg wrote:
Thu Apr 09, 2020 11:34 am
Wonty wrote:
Thu Apr 09, 2020 7:53 am
...I've downloaded a couple more images now and tried them including a version of Rasbian that included the desktop - constantly getting the same issue...
Scott,

If you've verified the Raspbian image with the checksum then the operating system is likely not the problem. I gave quick instructions for LInux in my earlier reply, If you are running Windows or MAC let me know which and I'll try to figure out how to verify the checksum on that platform.

Have you tried an earlier version of Fruitbox? I know that I found what may be a quirk in v1.16 with how it handles USB keyboards so there may be other oddities. It's not uncommon in software development that when you fix one thing you break something else and although you test and test and test, unless you test with every possible set up there is always a chance that something slips through. If you can't find an earlier copy let me know and I'll find a way to get you the executable for v1.14.

FWIW, I feel your frustration., we've all been there. Keep at it and you'll get there, otherwise it will tick you off every time you step into your mancave!

Cheers,

- gustav
Morning Gustav, firstly thanks for this post mate, you are helping more than you realise, the frustration is certainly rising mate. The driver is not knowing the reason the fault is persistence. I've done a bit in my time and knowing that the same fault is occurring in a constant and reoccurring pattern means that the fault must be able to be diagnosed and corrected - its just finding the gent (being very polite here)

So picking up where I left off from last night, I downloaded the Buster-Lite as Dougie suggested ran the usual build sequence, added 20 songs and watched what happened

System crashed at 0930, syslog file available if anyone wants to see it (I noticed it gave me a syslog.1 files as well this time so have that too)

I read your post Gustav and will be honest, I was struggling to do the checksum as the issue I was having was finding the checksum to compare downloaded file against, so following Dougie's advice about using Buster-Lite, stated the SHA-256 key so I actually had something to compare against (to perform the checksum in MACOS terminal window the code is shasum -a 256 [path and filename])

So taking this verified build, I went through the usual build steps as stated previously, loaded 20 songs and waited to see what happens

Start time 0958, Crashed 1040, syslog file available if anyone wants to see it

Next stage was to test if the USB keyboard was causing the issue with what you said as a potential bug, so I set the Rpi to autorun
From the command line by adding the run command in bashrc

Start time 1050 Crashed 1140, syslog file available if anyone wants to see it

so a slight improvement in the standard 40mins I have been seeing but a crash all the same

The only thing to check now mate is the version of the fruitbox fle itself as I am running the latest version of 1.16, which is what I see on Github, I couldn't see any archive folder - is this easily located?

Cheers for sticking with this mate, I'll be honest I am losing the will with it but would like to work out why its not working as after this much effort it would be nice to known what is screwing up. The real kicker is just how repeatable this error is now, regardless of replacing hardware (literally everything has been replaced from board, three types of heat sinking, PSUs HDMI cabling SD card), with USB keyboard / without it, using GPIO programmed buttons, different MP3 songs being played - I've literally used one mp3 song on one attempt, its amazing how many times you need to hear a favourite song be played for it suddenly no longer be in your 'go to list')

If you or anyone can think of anything else to try I'm game..until next time (I'm going to guess there will be another time :-D )

Scot

Wonty
Posts: 29
Joined: Fri Apr 03, 2020 8:55 am

Re: fruitbox MP3 jukebox

Fri Apr 10, 2020 2:02 am

fruitbox wrote:
Thu Apr 09, 2020 9:46 pm
DougieLawson wrote:
Thu Apr 09, 2020 10:54 am
You should start with Buster. Those instructions appear to be operating system agnostic.
The next release will take the form of an img file, so hopefully will be a lot less of a hassle to get it up and running.

Cheers
Mike
Sounds good, thanks Mike

mancave
Posts: 10
Joined: Thu Apr 02, 2020 1:25 pm

Re: fruitbox MP3 jukebox

Fri Apr 10, 2020 6:08 am

fruitbox wrote:
Thu Apr 09, 2020 9:31 pm
mancave wrote:
Thu Apr 09, 2020 11:06 am
Hi Mike, hope you can help with this one.......

I've modified TouchOne for Albums. No major skin changes so displaying 2 albums on one screen.
In each area is album cover pic, title, artist and songs.
So to the issue which has been driving me bonkers for hours..... cannot display AlbumArtist.
What ever I do doesn't work.
If I add ArtistDescription = AlbumArtist it displays 'Unknown Album Artist'. If I leave it out completely, it displays the artist of the first track (not correct for compilation albums).
I've looked over the forum (especially some posts from Feb 2020), read the user guide from top to bottom several times and looked at .cfg for Granite.
It's as if the AlbumArtist info doesn't exist?

Any ideas or things to check?

Thanks, Rob.
Hi Rob

If fruitbox displays 'Unknown album artist' it's because the album artist is not found in the mp3 file meta data. You'll need to check your mp3 files using a program like mp3tag (Windows), and add that data if it's missing, then regenerate the database.

Cheers
Mike
Spot on Mike, problem solved. Encouraging (for me) that I hadn't made a mistake in fruitbox.

Thanks, Rob.

Return to “Graphics, sound and multimedia”