makemkvcon segfault
Posted: Tue Feb 27, 2024 2:19 pm
Setup:
Hardware M1 Mac Mini
OS: Fedora Asahi 39 (6.6.3-413.asahi.fc39.aarch64+16k)
makemkv version: 1.17.6 (not tried on earlier versions)
Repro:
build & install makemkv 1.17.6 according to instructions, then run makemkvcon info
Output:
Additional details:
I enabled debug logging in makemkv and noticed that the seg fault happens in makemkvcon during the call to MainWnd::MainWnd : App->UpdateAvailableDrives(0);
In the log it's the last Transact (so far) of apCallUpdateAvailableDrives:
I have no idea where the issue lies but am happy to dig deeper. Could be related to pagesize since Asahi Linux uses 16K pages.
This setup is considered exotic at the moment so it probably doesn't affect many people. I'm in the process of making it my daily driver but have a backup machines for makemkv for now (runs great on Fedora 39 / amd64 )
Hardware M1 Mac Mini
OS: Fedora Asahi 39 (6.6.3-413.asahi.fc39.aarch64+16k)
makemkv version: 1.17.6 (not tried on earlier versions)
Repro:
build & install makemkv 1.17.6 according to instructions, then run makemkvcon info
Output:
Code: Select all
$ makemkvcon info
MakeMKV v1.17.6 linux(arm64-release) started
Segmentation fault (core dumped)
Code: Select all
Stack trace of thread 220892:
#0 0x0000aaab03ac3324 n/a (makemkvcon + 0x4f3324)
#1 0x0000aaab038d61b4 n/a (makemkvcon + 0x3061b4)
#2 0x0000aaab037a9ba0 n/a (makemkvcon + 0x1d9ba0)
#3 0x0000aaab037a9dc4 n/a (makemkvcon + 0x1d9dc4)
#4 0x0000aaab037a9efc n/a (makemkvcon + 0x1d9efc)
#5 0x0000aaab0378adf4 n/a (makemkvcon + 0x1badf4)
#6 0x0000aaab03789630 n/a (makemkvcon + 0x1b9630)
#7 0x0000aaab03775afc n/a (makemkvcon + 0x1a5afc)
#8 0x0000aaab0377a644 n/a (makemkvcon + 0x1aa644)
#9 0x0000aaab03745e78 n/a (makemkvcon + 0x175e78)
#10 0x0000ffff5d1309dc __libc_start_call_main (libc.so.6 + 0x309dc)
#11 0x0024ffff5d130ab0 n/a (n/a + 0x0)
#12 0x0024ffff5d130ab0 n/a (n/a + 0x0)
#13 0x0054aaab037467f0 n/a (n/a + 0x0)
ELF object binary architecture: AARCH64
I enabled debug logging in makemkv and noticed that the seg fault happens in makemkvcon during the call to MainWnd::MainWnd : App->UpdateAvailableDrives(0);
In the log it's the last Transact (so far) of apCallUpdateAvailableDrives:
Code: Select all
DEBUG: (nil) ok 45
DEBUG: 0x20030000 in 119
DEBUG: 0x101000c out 134
DEBUG: 0x22010000 in 119
DEBUG: 0x1023085 out 134
DEBUG: 0x20030000 in 119
DEBUG: 0x1010002 out 134
DEBUG: 0x1b010000 in 119
DEBUG: 0x1010000 out 134
DEBUG: 0x1c010000 in 119
DEBUG: 0x1010000 out 134
DEBUG: 0x1b010000 in 119
DEBUG: 0x1010000 out 134
DEBUG: 0x1c010000 in 119
DEBUG: 0x1010000 out 134
DEBUG: 0x20030000 in 119
DEBUG: 0x1010002 out 134
DEBUG: 0x1c010000 in 119
DEBUG: 0x1010000 out 134
DEBUG: 0x1c010000 in 119
DEBUG: 0x1010000 out 134
DEBUG: 0x11010000 in 119 <-- apCallUpdateAvailableDrives
DEBUG: 0xc804002d out 134
DEBUG: 0x2010000 in 119
DEBUG: 0xc8040001 out 134
DEBUG: 0x2010000 in 119
DEBUG: 0xc8040001 out 134
DEBUG: 0x2010000 in 119
DEBUG: 0xc8040001 out 134
DEBUG: 0x2010000 in 119
DEBUG: 0xc8040001 out 134
DEBUG: 0x2010000 in 119
DEBUG: 0xc8040001 out 134
DEBUG: 0x2010000 in 119
DEBUG: 0xc8040001 out 134
DEBUG: 0x2010000 in 119 <-- no response to this apCallAppGetString
This setup is considered exotic at the moment so it probably doesn't affect many people. I'm in the process of making it my daily driver but have a backup machines for makemkv for now (runs great on Fedora 39 / amd64 )