[Bug 278838] audio/rsgain Segmentation fault any time 'easy' mode is used

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 07 May 2024 13:53:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278838

            Bug ID: 278838
           Summary: audio/rsgain Segmentation fault any time 'easy' mode
                    is used
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jhale@FreeBSD.org
          Reporter: pere_goriot99@yahoo.com
             Flags: maintainer-feedback?(jhale@FreeBSD.org)
          Assignee: jhale@FreeBSD.org

Affects versions 3.4, 3.5.  3.3_1 works fine.

Using eg 'rsgain easy .' on a drectory contain one or more flac files causes a
seg fault.

Back trace from .core file uing gdb:

Reading symbols from /usr/ports/audio/rsgain/work/stage/usr/local/bin/rsgain...
[New LWP 139340]
Core was generated by `/usr/ports/audio/rsgain/work/stage/usr/local/bin/rsgain
easy .'.
Program terminated with signal SIGSEGV, Segmentation fault.
Address not mapped to object.
#0  0x00000008285e225d in ebur128_loudness_global_multiple () from
/usr/local/lib/libebur128.so.1
(gdb) bt
#0  0x00000008285e225d in ebur128_loudness_global_multiple () from
/usr/local/lib/libebur128.so.1
#1  0x0000000000244726 in ScanJob::calculate_album_loudness
(this=0x104428011040) at
/usr/ports/audio/rsgain/work/rsgain-3.5/src/scan.cpp:644
#2  0x0000000000240996 in ScanJob::calculate_loudness (this=0x104428011040) at
/usr/ports/audio/rsgain/work/rsgain-3.5/src/scan.cpp:457
#3  0x000000000023e81c in ScanJob::scan (this=0x104428011040, ffmpeg_mutex=0x0)
at /usr/ports/audio/rsgain/work/rsgain-3.5/src/scan.cpp:178
#4  0x000000000027149a in scan_easy (path=..., preset=..., nb_threads=1) at
/usr/ports/audio/rsgain/work/rsgain-3.5/src/easymode.cpp:786
#5  0x000000000026e541 in easy_mode (argc=2, argv=0x8205059b8) at
/usr/ports/audio/rsgain/work/rsgain-3.5/src/easymode.cpp:389
#6  0x000000000022b3d6 in main (argc=3, argv=0x8205059b0) at
/usr/ports/audio/rsgain/work/rsgain-3.5/src/rsgain.cpp:378

-- 
You are receiving this mail because:
You are the assignee for the bug.