Page 5 of 6
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 5:12 am
by iamthebull
I also just tried your suggestion of setting UMS_MAX_MEMORY=2048M and still got the malloc error.
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 5:16 am
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.
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 5:26 am
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
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 6:06 am
by boss
Try
grep "mailoc()" /var/log/ -r
It will take a while as that searches all the logs.
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 6:10 am
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.
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 6:19 am
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.
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 6:38 am
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?
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 6:47 am
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
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 9:23 am
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.
Re: Problem on Linux Mint 22.3
Posted: Wed Jul 01, 2026 1:33 pm
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.