Lollypop or any player that requires scanning folders to add music files

This is something I have never had an issue with on any linux distro. Not sure if this could be pipewire or my NTFS drives creating some type of problem. I have tried to look in some logs, not sure which to look in though 100%. I have used the log package built into Garuda. I am using Lollypop and have 2 1TB NTFS drives that have all my music on them in various folders. When I open Lollyop to scan and add those folders lollypop crashes during that process. I tried Deepin player also and the same thing happens.

System:
  Kernel: 5.17.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=b4e3b216-a092-473e-8800-311bb9cd5561 rw rootflags=subvol=@
    quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=0a35d60e-8805-41fb-8ce2-ebab30994957 loglevel=3
  Desktop: GNOME v: 42.0 tk: GTK v: 3.24.33 info: plank wm: gnome-shell
    dm: GDM v: 42.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Dell product: Inspiron 530 v: N/A
    serial: <superuser required> Chassis: type: 3 serial: <superuser required>
  Mobo: Dell model: 0FM586 serial: <superuser required> BIOS: Dell
    v: 1.0.18 date: 02/24/2009
CPU:
  Info: model: Intel Core2 Quad Q6600 bits: 64 type: MCP arch: Core Merom
    family: 6 model-id: 0xF (15) stepping: 0xB (11) microcode: 0xBA
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1602 high: 1622 min/max: 1600/2400 scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 1596 2: 1596 3: 1622
    4: 1596 bogomips: 19151
  Flags: ht lm nx pae sse sse2 sse3 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
  Type: mds
    status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GT200 [GeForce GTX 260] vendor: eVga.com. driver: nouveau
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports: active: DVI-I-2
    empty: DVI-I-1 bus-ID: 01:00.0 chip-ID: 10de:05e2 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
    compositor: gnome-shell driver: X: loaded: nouveau unloaded: modesetting
    alternate: fbdev,nv,vesa gpu: nouveau display-ID: :1 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: DVI-I-2 model: LG (GoldStar) TV serial: <filter> built: 2010
    res: 1920x1080 dpi: 305 gamma: 1.2 size: 160x90mm (6.3x3.54")
    diag: 184mm (7.2") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 82801I HD Audio vendor: Dell Inspiron 530
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:293e
    class-ID: 0403
  Sound Server-1: ALSA v: k5.17.4-zen1-1-zen running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.50 running: yes
Network:
  Device-1: Intel 82562V-2 10/100 Network vendor: Dell Inspiron 530
    driver: e1000e v: kernel port: ff00 bus-ID: 00:19.0 chip-ID: 8086:10c0
    class-ID: 0200
  IF: enp0s25 state: down mac: <filter>
  Device-2: Realtek 802.11ac NIC type: USB driver: rtl8821cu bus-ID: 1-6:4
    chip-ID: 0bda:c811 class-ID: 0000 serial: <filter>
  IF: wlp0s26f7u6 state: up mac: <filter>
Drives:
  Local Storage: total: 2.27 TiB used: 1.62 TiB (71.1%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD1001FALS-40U9B0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 4F20
    scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD1001FALS-00J7B1 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 0K05
    scheme: MBR
  ID-3: /dev/sdc maj-min: 8:32 vendor: PNY model: CS900 500GB SSD
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    type: SSD serial: <filter> rev: 0615 scheme: MBR
Partition:
  ID-1: / raw-size: 457.34 GiB size: 457.34 GiB (100.00%)
    used: 26.38 GiB (5.8%) fs: btrfs dev: /dev/sdc1 maj-min: 8:33
  ID-2: /home raw-size: 457.34 GiB size: 457.34 GiB (100.00%)
    used: 26.38 GiB (5.8%) fs: btrfs dev: /dev/sdc1 maj-min: 8:33
  ID-3: /var/log raw-size: 457.34 GiB size: 457.34 GiB (100.00%)
    used: 26.38 GiB (5.8%) fs: btrfs dev: /dev/sdc1 maj-min: 8:33
  ID-4: /var/tmp raw-size: 457.34 GiB size: 457.34 GiB (100.00%)
    used: 26.38 GiB (5.8%) fs: btrfs dev: /dev/sdc1 maj-min: 8:33
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 3.83 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.42 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdc2 maj-min: 8:34
Sensors:
  System Temperatures: cpu: 40.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 231 Uptime: 4m wakeups: 0 Memory: 3.83 GiB
  used: 1.65 GiB (43.1%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 Packages: pacman: 1287 lib: 325 flatpak: 0 Shell: fish v: 3.4.1
  default: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.15
Garuda (2.6.2-1):
  System install date:     2022-04-24
  Last full system update: 2022-04-28 ↻
  Is partially upgraded:   No
  Relevant software:       NetworkManager
  Windows dual boot:       <superuser required>
  Snapshots:               Snapper
  Failed units:

It's possible that there's a corrupt file that's tripping up the scanning process.

If you run e.g. LollyPop from a terminal does it provide any useful output?

1 Like

Not sure I follow. It can be run from a terminal?

It very well could be a corrupt file, it is an NTFS drive. I am just not real sure what log file to look at.

Yes. Open a terminal and type the command to run the application: lollypop

1 Like

You know what I knew that, I feel dumb. I sometimes would run calamares from a terminal to see some problems I had while doing a manual partition. Yeah I have no idea how to fix those errors.

[INFO] 2022-04-28 06:00:26 Collection web service started
[INFO] 2022-04-28 06:00:26 Collection download started
[INFO] 2022-04-28 06:00:26 LastFMWebService::start(): [Errno 2] No such file or directory: '/home/bricktop/.local/share/lollypop/LASTFM_queue.bin'
[INFO] 2022-04-28 06:00:26 LastFMWebService::start(): [Errno 2] No such file or directory: '/home/bricktop/.local/share/lollypop/LASTFM_queue.bin'
[INFO] 2022-04-28 06:00:26 Last.fm web service started
[INFO] 2022-04-28 06:00:26 Collection download finished
[INFO] 2022-04-28 06:00:26 LastFMWebService::start(): [Errno 2] No such file or directory: '/home/bricktop/.local/share/lollypop/LIBREFM_queue.bin'
[INFO] 2022-04-28 06:00:26 LastFMWebService::start(): [Errno 2] No such file or directory: '/home/bricktop/.local/share/lollypop/LIBREFM_queue.bin'
[INFO] 2022-04-28 06:00:26 Libre.fm web service started
[INFO] 2022-04-28 06:00:26 ListenBrainzWebService::start(): [Errno 2] No such file or directory: '/home/bricktop/.local/share/lollypop/listenbrainz_queue.bin'
[INFO] 2022-04-28 06:00:26 ListenBrainzWebService::start(): [Errno 2] No such file or directory: '/home/bricktop/.local/share/lollypop/listenbrainz_queue.bin'
[INFO] 2022-04-28 06:00:26 ListenBrainz web service started
[INFO] 2022-04-28 06:00:27 Scan started
[INFO] 2022-04-28 06:00:38 lollypop.collection_scanner::__get_objects_for_uris: execution time 0:11.775729

(lollypop:23605): GStreamer-CRITICAL **: 06:00:47.428: gst_caps_from_string: assertion 'string' failed

(lollypop:23605): GStreamer-CRITICAL **: 06:00:47.428: gst_pad_template_new: assertion 'caps != NULL' failed

(lollypop:23605): GStreamer-CRITICAL **: 06:00:47.428: gst_mini_object_unref: assertion 'mini_object != NULL' failed

(lollypop:23605): GStreamer-CRITICAL **: 06:00:47.428: gst_element_class_add_pad_template: assertion 'GST_IS_PAD_TEMPLATE (templ)' failed

(lollypop:23605): GStreamer-Video-CRITICAL **: 06:00:47.428: gst_video_decoder_init: assertion 'pad_template != NULL' failed

(lollypop:23605): GStreamer-WARNING **: 06:00:47.428: Element vaapidecode0 has an ALWAYS template src, but no pad of the same name
fish: Job 1, 'lollypop' terminated by signal SIGSEGV (Address boundary error)

You have old, slow HDDs using NTFS, on an old, slow computer with only the minimal amount of RAM.

Why would you not think these could be problematic? You’re asking this pig to do a silk purse’s job.

1 Like

Just so you know, your NTFS drives will likely corrupt regularly if downloading movies/music. Windows file systems do not support the same characters in the file names as Linux does. A colon in a music or movie file name is enough to corrupt your drive and make it unreadable.

You nead to mount your NTFS drives with special mount flags in fstab to prevent this.

man fstab
2 Likes

Well since I have been using linux with these drives I have not had this problem like this. It might have been slow and had a couple crashes when I scanned t many folders. Just not a complete fail.

Everything is old about this pc except the boot drive. Even it is a low quality SSD though. I am just working with what I have. For months now it never did this one time repeatedly.

What special flags?

I am no longer providing support for Microsoft technologies. Search the manages on fstab. Here's a hint, the flag has "windows" and "names" in it.

2 Likes

https://wiki.archlinux.org/title/NTFS-3G#Linux_compatible_permissions

1 Like

Well I got a new drive, still a platter drive. 2tb now on ext4. No more NTFS. Lollypop still does the same thing. Strawberry scans all folders fine. Yes, I know all my stuff is basically antiques aside from the drives are new.

You'll continue to have problems. Quit wasting away money on that old nag and get a new(er) one. You just put a $100 saddle on a $50 horse.

1 Like

Well this is what I have to work with. You think I just want to use shitty old hardware? This is what I have for now. Glad I can give you a laugh.

1 Like

What was your method for converting to ext4?

Can you post lsblk -f?

I had a buddy who handed me a brand new $100 saddle to use with my 50$ horse, which I just formatted to ext4. Copied over my files and proceeded to try lollypop again. I am using strawberry now and it has been able to scan with zero problems. P.S. It was a $50 saddle not $100.

NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                         
└─sda1
     ext4   1.0         7ff8e829-74a7-4399-afeb-387f7b2e191e  171.7G    86% /mnt/7ff8e829-74a7-4399-afeb-387f7b2e191e
sdb                                                                         
├─sdb1
│    btrfs              b4e3b216-a092-473e-8800-311bb9cd5561  409.1G    10% /var/tmp
│                                                                           /var/log
│                                                                           /var/cache
│                                                                           /root
│                                                                           /home
│                                                                           /srv
│                                                                           /
└─sdb2
     swap   1     swap  0a35d60e-8805-41fb-8ce2-ebab30994957                [SWAP]
sr0                                                                         
zram0

1 Like

Fifty bucks is not bad for 2TB. Don’t let these folks shame you for using spinning rust! :smile:

It could be just a Lollypop problem, but I wonder if you copied over some NTFS weirdness or something. Are you getting the same sort of error messages if you launch from terminal?

2 Likes

It is the same thing with gstreamer critical error. I really can't say. I did get deepin to have the same issue. So it does feel like NTFS is still an issue??? This is years of music that I have been storing and getting it all over again just is not going to happen. This is the 1st time I have ever had this issue with lollypop on this $50 horse. Used several distros.

If this problem is a single corrupt file then rescanning the whole collection isn't going to find it. You can do something like a binary search to find the file - scan half of the collection, then split the failing set in half and scan, and repeat.

3 Likes