FS#79756 - [milkytracker] Crashes on startup - free(): double free detected in tcache 2

Attached to Project: Arch Linux
Opened by Flo (vlo) - Friday, 22 September 2023, 15:54 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 10 November 2023, 16:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Milkytracker no longer starts.

There is also a post on the forum:
https://bbs.archlinux.org/viewtopic.php?id=287470

And a thread on the milky tracker forum they seemed to introduce the bug in the version 1.04.00 and fixed it already:
https://github.com/milkytracker/MilkyTracker/issues/320

Additional info:
* package version: milkytracker-1.04.00-1
* link to upstream bug report, if any

Steps to reproduce:
Just start milkytracker, it crashes after the splash screen.

$ milkytracker
Available Renderers: opengl opengles2 software
Vendor : AMD
Renderer : AMD Radeon RX 560 Series (polaris11, LLVM 16.0.6, DRM 3.54, 6.5.2-arch1-1)
Version : OpenGL ES 3.2 Mesa 23.1.8-arch1.1
SDL: Minimum window size set to 1680x1050.
SDL: Using accelerated renderer.
SDL: Renderer supports rendering to texture.
0 0
SDL: Using audio driver: pulseaudio
SDL: Buffer size = 2048 samples (requested 2048)
MIDI: scanning input ports:
MIDI: 0. Midi Through:Midi Through Port-0 14:0
free(): double free detected in tcache 2

Crashed with signal 6
Please submit a bug report stating exactly what you were doing at the time of the crash, as well as the above signal number. Also note if it is possible to reproduce this crash.

A backup has been saved to /home/vlo/BACKUP00.XM

Abgebrochen (Speicherabzug geschrieben)
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Friday, 10 November 2023, 16:18 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Friday, 22 September 2023, 16:54 GMT
Upstream's fix [1] also include force pushing a changed v1.04.00 tag instead of tagging it as v1.04.01 hence the tarballs have changed:

makepkg --verifysource
==> Making package: milkytracker 1.04.00-1 (Fri 22 Sep 2023 17:50:13 UTC)
==> Retrieving sources...
-> Downloading milkytracker-1.04.00.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 3668k 0 3668k 0 0 3061k 0 --:--:-- 0:00:01 --:--:-- 3242k

==> Validating source files with b2sums...
milkytracker-1.04.00.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

[1] https://github.com/milkytracker/MilkyTracker/commit/7e9171488fc47ad2de646a4536794fda21e7303d
Comment by Alexander F. Rødseth (xyproto) - Friday, 10 November 2023, 16:18 GMT
Thanks for reporting, this went under my radar. Fixed.

Loading...