Bug 29230 - gerbera segfaults and is not configurable
Summary: gerbera segfaults and is not configurable
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 05:29 CEST by David Walser
Modified: 2021-07-11 19:43 CEST (History)
0 users

See Also:
Source RPM: gerbera-1.6.4-3.mga8.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2021-07-06 05:29:59 CEST
Gerbera replaced Mediatomb in Mageia 8, but it doesn't work, it just crashes while parsing mp3 files.

Also, mediatomb had a mediatomb.conf file which allowed you to add arguments to the daemon, rather than having to modify the systemd service file.  An /etc/sysconfig/gerbera file should be added to the package, explicitly encouraging you to specify an interface to listen on and giving you the ability to add additional arguments (--add-file being the most useful).

Probably updating Mageia 8 to 1.8.2 would be a good start:
https://github.com/gerbera/gerbera/releases/tag/v1.8.2

Hopefully the man page in that version is correct for the syntax of the add option.
Comment 1 Jani Välimaa 2021-07-10 09:25:28 CEST
Segfault is something I can't reproduce.
Comment 2 David Walser 2021-07-10 13:14:21 CEST
The segfault is dependent on the files it's processing.  I've never had any other software have this issue with my mp3 files, but gerbera consistently segfaults with them.  Looking at the logs, I believe I know which file it's crashing on.
Comment 3 Jani Välimaa 2021-07-10 15:27:08 CEST
It would be nice to have a reproducer. Is it because of file name or location, id3 tag or something else?
Comment 4 Jani Välimaa 2021-07-11 19:16:51 CEST
I have now added support to cauldron's gerbera to configure basic systemd service parameters via /etc/sysconfig/gerbera.
Comment 5 David Walser 2021-07-11 19:43:56 CEST
And just to make it known, while I can reliably reproduce the crash, just giving it the last file it processes before it crashes, alone, doesn't make it crash, so it's hard to share a reproducer, but Jani and I have discussed it privately and I've also shared logs.  I also tried the Cauldron version and it also segfaults.

Note You need to log in before you can comment on or make changes to this bug.