Problem on Linux Mint 22.3

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
iamthebull
Posts: 27
Joined: Thu Jun 25, 2026 8:48 am

Re: Problem on Linux Mint 22.3

Post by iamthebull »

I also just tried your suggestion of setting UMS_MAX_MEMORY=2048M and still got the malloc error.
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Problem on Linux Mint 22.3

Post by boss »

You have tried all the combinations so that discounts a RAM error.

I'm stumped and don't know where to go from here.
Apart from a reinstall of Mint I can't suggest anything else.

Maybe @mik_s can spot something comparing the logs.
iamthebull
Posts: 27
Joined: Thu Jun 25, 2026 8:48 am

Re: Problem on Linux Mint 22.3

Post by iamthebull »

I just reinstalled Mint 22.3 on the desktop this past Sunday (2 days ago) for another reason but that didn't help this situation.

RE: system logs
There was no /var/log/messages on my system

Code: Select all

david@Desktop1:~/.config/UMS$ grep "malloc()" /var/log/messages
grep: /var/log/messages: No such file or directory
david@Desktop1:~/.config/UMS$ dmesg | grep -i "malloc()"
returned nothing

Code: Select all

david@Desktop1:/var/log$ sudo cat *log | grep "malloc"
grep: (standard input): binary file matches
returned nothing as well
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Problem on Linux Mint 22.3

Post by boss »

Try
grep "mailoc()" /var/log/ -r
It will take a while as that searches all the logs.
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Problem on Linux Mint 22.3

Post by boss »

Try
grep "mailoc()" /var/log/ -r
It will take a while as that searches all the logs.

Does your desktop have a video card as well as an on board video.
Video cards have been know to cause some strange memory issues.
iamthebull
Posts: 27
Joined: Thu Jun 25, 2026 8:48 am

Re: Problem on Linux Mint 22.3

Post by iamthebull »

Code: Select all

david@Desktop1:~$ sudo grep "malloc()" /var/log/ -r
/var/log/auth.log:2026-06-30T12:14:58.484456-06:00 Desktop1 sudo:    david : TTY=pts/0 ; PWD=/home/david ; USER=root ; COMMAND=/usr/bin/grep malloc() /var/log/ -r
/var/log/auth.log:2026-06-30T12:15:39.652544-06:00 Desktop1 sudo:    david : TTY=pts/0 ; PWD=/home/david ; USER=root ; COMMAND=/usr/bin/grep malloc() /var/log/ -r
grep: /var/log/journal/0ebb39495b7a4bbfb81ddfd11bb462fb/user-1000.journal: binary file matches
The desktop PC has only an integrated GPU. The laptop (where UMS is working) has an integrated GPU and a NVidia GPU.
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Problem on Linux Mint 22.3

Post by boss »

I don't know what else I can suggest.
Discounted RAM as an issue.
We know it works with Mint 22.3 as it works on your laptop.
You have reinstalled Mint on your desktop.
The only thing left is the hardware difference between your laptop and desktop.

@mik_s. Maybe one fore the developers?
boss
Posts: 492
Joined: Thu Jun 30, 2016 1:07 pm

Re: Problem on Linux Mint 22.3

Post by boss »

There is a package called valgrind(I haven't used it) which can give more info with malloc errors

Usage,:
valgrind ./your_program_name
User avatar
mik_s
Moderator
Posts: 1766
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Problem on Linux Mint 22.3

Post by mik_s »

I did not see anything from the laptop 22.3 logs, it all looks good so definitely something wrong on the desktop 22.3

Did you try the ram tests using only 1 stick instead of in pairs.
Running in single channel might expose the problem sooner, and let the ram test run for a while not just a few cycles.

Besides that I am stumped at what else it could be but think it could be more hardware related than to do with the OS.

Does that desktop have a SSD or a hard drive?
I'm thinking with all the read access to do with scanning a large amount of small MP3 files rapidly may be a factor.
I think I saw a video about SSDs that some use the ram as a cache if they don't have one on the drive and maybe this process is going wrong.
See if there is a program from the manufacturer of the drive that will show is there are any errors on the drive itself.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
iamthebull
Posts: 27
Joined: Thu Jun 25, 2026 8:48 am

Re: Problem on Linux Mint 22.3

Post by iamthebull »

The OS (Mint 22.3) is running on an SSD - INTEL SSDSC2BW240A4 (DC02) and the media files (Music folder) is on a HDD - WDC WD20EFRX-68EUZN0 (80.00A80) on the same PC.
mik_s wrote: ↑Wed Jul 01, 2026 9:23 am Did you try the ram tests using only 1 stick instead of in pairs.
No. With only 1 stick of RAM I was wondering if we would maybe run into memory issues due to the OS not having so much memory (only 4GB). So I stuck with pairs and mixed them up enough to be thorough. I would think if there was a hardware issue with the RAM it would have shown up by now. And there would be RAM issues with other programs. Which there isn't.
mik_s wrote: ↑Wed Jul 01, 2026 9:23 am I'm thinking with all the read access to do with scanning a large amount of small MP3 files rapidly may be a factor.
I've been thinking about that also but from the perspective of maybe we don't get the malloc error on the Mint 22.3 install on the laptop because it's reading the Music folder over the network which is significantly slower.
Post Reply