Mailing List Archive

OS X Big Sur MythTV 0.33 Build core dump
Hi,
I have just upgraded most of my machines without any issue to the latest version of MythTV.

However I failed to upgrade my OS X Big Sur machine. Unfortunately, both v0.33 versions provided by the awesome service on Sourceforge core dump. Yes, I have tried to open the application several times:

MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg/download>
MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg/download>

From the console output it is not clear to me why the core dump occurs.

An older version for v0.32 is still working for me though, since the database schema has not changed the WAF is not impacted.

I noticed that for 11 intel Big Sur the versions verified to work run from version 11.0.1 through 11.6.

The version I am currently using is 11.7.3. This may be the issue here. Is this version going to be supported in the future? Let me know if I can help with testing to find the root cause.

Thanks for all your hard work!

Regards,
Dennis
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
> On 9 Feb 2023, at 1:33 am, Dennis Alders <dennis.alders@gmail.com> wrote:
>
> Hi,
> I have just upgraded most of my machines without any issue to the latest version of MythTV.
>
> However I failed to upgrade my OS X Big Sur machine. Unfortunately, both v0.33 versions provided by the awesome service on Sourceforge core dump. Yes, I have tried to open the application several times:
>
> MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg/download>
> MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg/download>
>
> From the console output it is not clear to me why the core dump occurs.
>
> An older version for v0.32 is still working for me though, since the database schema has not changed the WAF is not impacted.
>
> I noticed that for 11 intel Big Sur the versions verified to work run from version 11.0.1 through 11.6.
>
> The version I am currently using is 11.7.3. This may be the issue here. Is this version going to be supported in the future? Let me know if I can help with testing to find the root cause.
>
> Thanks for all your hard work!

Dennis
my hardware pegs me at High Sierra.
After a little fuss where John Hoyt bent over backwards to help I built my release from the Source Forge ansible recipe.
I recommend doing all in VM.

Apple make it hard to get an Install image. I had to install on my pegged machine, get the install dmg, restore my machine from timemachine and then build a VM.
All the internet copies of High Sierra I found would not work
James
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
On Wed, Feb 8, 2023 at 12:34 PM Dennis Alders <dennis.alders@gmail.com>
wrote:

> Hi,
> I have just upgraded most of my machines without any issue to the latest
> version of MythTV.
>
> However I failed to upgrade my OS X Big Sur machine. Unfortunately, both
> v0.33 versions provided by the awesome service on Sourceforge core dump.
> Yes, I have tried to open the application several times:
>
> MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg
> <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg/download>
> MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg
> <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg/download>
>
> From the console output it is not clear to me why the core dump occurs.
>
> An older version for v0.32 is still working for me though, since the
> database schema has not changed the WAF is not impacted.
>
> I noticed that for 11 intel Big Sur the versions verified to work run from
> version 11.0.1 through 11.6.
>
> The version I am currently using is 11.7.3. This may be the issue here. Is
> this version going to be supported in the future? Let me know if I can help
> with testing to find the root cause.
>
> Thanks for all your hard work!
>

Hi Dennis - I'll look into it, I have a Big Sur machine that I can test out
on (usually don't use that one for Mythfrontend). Sourceforge seems to be
having issues currently - so I may not get to it until the weekend.

Did the core dump occur after trying to open the application or somewhere
else (like traversing the menus or trying to play an application)?

Did you get a crash log / notice from macOS? If so, that may point to
which dylib caused the crash.

In regards to the notice - I need to update that. I was building with VMs
locally for a while, but that became cumbersome and moved to GitHub CI to
build.

Regards,
John
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
On Wed, Feb 8, 2023 at 6:46 PM John Hoyt <john.hoyt@gmail.com> wrote:

>
>
> On Wed, Feb 8, 2023 at 12:34 PM Dennis Alders <dennis.alders@gmail.com>
> wrote:
>
>> Hi,
>> I have just upgraded most of my machines without any issue to the latest
>> version of MythTV.
>>
>> However I failed to upgrade my OS X Big Sur machine. Unfortunately, both
>> v0.33 versions provided by the awesome service on Sourceforge core dump.
>> Yes, I have tried to open the application several times:
>>
>> MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg
>> <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-4-g761e7b05f7.dmg/download>
>> MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg
>> <https://sourceforge.net/projects/mythtvformacosx/files/v33/macOS%2011%20Big%20Sur/MythFrontend-x86_64-11.7.3-v33.0-2-ga4a8ab0fc9.dmg/download>
>>
>> From the console output it is not clear to me why the core dump occurs.
>>
>
I managed to recreate the segfault locally. It appreats a regression in
the build script isn't updating all libmyth*.dylibs to point internally.
I'm working up a fix now and will push to the CI builders once I get a
chance to test locally.

My apologies for the inconvenience.

Also, thank you for reporting the issue!
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
Apologies for the delay on this. I've been battling what I thought were
rpath issues. But I am now beginning to think I'm experiencing code
signing issues. I can get the unsigned App built on the Catalina CI to run
on a "clean" Big Sur system, but cannot get a signed App built on Big Sur
to run in the same environment.

I'll take another look tomorrow with fresh eyes.
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
On Fri, Feb 10, 2023 at 10:08 PM John Hoyt <john.hoyt@gmail.com> wrote:

> Apologies for the delay on this. I've been battling what I thought were
> rpath issues. But I am now beginning to think I'm experiencing code
> signing issues. I can get the unsigned App built on the Catalina CI to run
> on a "clean" Big Sur system, but cannot get a signed App built on Big Sur
> to run in the same environment.
>
> I'll take another look tomorrow with fresh eyes.
>

Just a minor update. I have confirmed that it is not a code signing issue
as App bundles built on the Big Sur CI run on clean Monterey and Ventura
systems.

From my testing, the issue appears to be strangely isolated to Big Sur (and
possibly 11.7.3) - if anyone is experiencing issues on Monterey or Ventura
please let me know. I'm working up a debug build currently.

The main culprit is a crash in libmythui.33.33.0.0.dylib (or possibly
libmythbase.33.33.0.0.dylib). I'm hoping the debug build may help me
isolate the issue. It's possible an update to the github Big Sur CI chain
introduced a new issue that needs to be worked around either in the code or
build/packaging.
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
John tnx for your update. Let me know if I can help.

On 12 Feb 2023, at 18:23, John Hoyt <john.hoyt@gmail.com> wrote:

?On Fri, Feb 10, 2023 at 10:08 PM John Hoyt <john.hoyt@gmail.com> wrote:
Apologies for the delay on this. I've been battling what I thought were rpath issues. But I am now beginning to think I'm experiencing code signing issues. I can get the unsigned App built on the Catalina CI to run on a "clean" Big Sur system, but cannot get a signed App built on Big Sur to run in the same environment.
I'll take another look tomorrow with fresh eyes.

Just a minor update. I have confirmed that it is not a code signing issue as App bundles built on the Big Sur CI run on clean Monterey and Ventura systems.
From my testing, the issue appears to be strangely isolated to Big Sur (and possibly 11.7.3) - if anyone is experiencing issues on Monterey or Ventura please let me know. I'm working up a debug build currently.
The main culprit is a crash in libmythui.33.33.0.0.dylib (or possibly libmythbase.33.33.0.0.dylib). I'm hoping the debug build may help me isolate the issue. It's possible an update to the github Big Sur CI chain introduced a new issue that needs to be worked around either in the code or build/packaging. _______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
On Sun, Feb 12, 2023 at 2:47 PM Dennis Alders <dennis.alders@gmail.com>
wrote:

>
> John tnx for your update. Let me know if I can help.
>

Will do, and thank you again for finding it!

BTW - the v33 built on Catalina works successfully on Big Sur.
Functionally, it should be the same with the exception that I don't code
sign the Catalina versions (Apple updated the code signing and notarization
process significantly in Big Sur).
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
Dennis,
Just a quick update - I've tracked down the problem. It turned out to be a
regression in the code caused by Apple deprecating a couple symbols in 11.7
that weren't scheduled to deprecate until 12.

I'll be posting PRs shortly. Once they are accepted I'll kick off the CI
chain so working app bundles are made available.

Again - a big thank you for catching this.

Regards,
John

>
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
Hi Dennis,

The PRs were accepted and I kicked off the CI chain this morning. I've
additionally just successfully tested the built App bundles on my Big Sur
machine. I believe the builds posted on sourceforge for both fixess/33 and
master should be working again, please let me know if you have any issues..

Regards,
John

>
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
John,
I installed MythFrontend-x86_64-11.7.3-v33.1-3-ga803b198a8.dmg, but I still get a core dump:

2023-02-21 07:57:01.028437 I Setup Interrupt: 2 handler
2023-02-21 07:57:01.028458 I Setup Terminated: 15 handler
2023-02-21 07:57:01.028462 I Setup Segmentation fault: 11 handler
2023-02-21 07:57:01.028466 I Setup Abort trap: 6 handler
2023-02-21 07:57:01.028470 I Setup Floating point exception: 8 handler
2023-02-21 07:57:01.028473 I Setup Illegal instruction: 4 handler
2023-02-21 07:57:01.028477 I Setup Bus error: 10 handler
2023-02-21 07:57:01.028480 I Setup Hangup: 1 handler
2023-02-21 07:57:01.028485 I Setup User defined signal 1: 30 handler
2023-02-21 07:57:01.028489 I Setup User defined signal 2: 31 handler
2023-02-21 07:57:01.028750 C mythfrontend version: fixes/33 [v33.1-3-ga803b198a8] www.mythtv.org
2023-02-21 07:57:01.028753 C Qt version: compile: 5.15.8, runtime: 5.15.8
2023-02-21 07:57:01.028769 I macOS 11.7 (x86_64)
2023-02-21 07:57:01.028771 N Enabled verbose msgs: general
2023-02-21 07:57:01.028783 N Setting Log Level to LOG_INFO
2023-02-21 07:57:01.040052 I Added logging to the console
2023-02-21 07:57:01.040147 N Using runtime prefix = /Applications/mythfrontend.app/Contents/Resources
2023-02-21 07:57:01.040150 N Using configuration directory = /Users/alders/.mythtv
2023-02-21 07:57:01.040187 I Assumed character encoding: en_US.UTF-8
2023-02-21 07:57:01.040852 I Loading en_us translation for module mythfrontend
2023-02-21 07:57:01.041175 I Empty LocalHostName. This is typical.
2023-02-21 07:57:01.041198 I Using a profile name of: 'MacBook-Pro-2' (Usually the same as this host's name.)
2023-02-21 07:57:01.041459 I Start up testing connections. DB 192.168.1.29, BE , attempt 0, status start, Delay: 2000
2023-02-21 07:57:03.143940 N Setting QT default locale to en_US
2023-02-21 07:57:03.143952 I Current locale en_US
2023-02-21 07:57:03.144215 N Reading locale defaults from /Applications/mythfrontend.app/Contents/Resources/share/mythtv//locales/en_us.xml
Handling Segmentation fault: 11
[1] 1482 segmentation fault /Applications/mythfrontend.app/Contents/MacOS/mythfrontend


Could be my bad, since Apple released some security updates last week, now I am running 11.7.4.

Regards,
Dennis

> On 21 Feb 2023, at 01:32, John Hoyt <john.hoyt@gmail.com> wrote:
>
> Hi Dennis,
>
> The PRs were accepted and I kicked off the CI chain this morning. I've additionally just successfully tested the built App bundles on my Big Sur machine. I believe the builds posted on sourceforge for both fixess/33 and master should be working again, please let me know if you have any issues..
>
> Regards,
> John
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
On Tue, Feb 21, 2023 at 2:04 AM Dennis Alders <dennis.alders@gmail.com>
wrote:

> John,
> I installed *MythFrontend-x86_64-11.7.3-v33.1-3-ga803b198a8.dmg*, but I
> still get a core dump:
>
> 2023-02-21 07:57:01.028437 I Setup Interrupt: 2 handler
> 2023-02-21 07:57:01.028458 I Setup Terminated: 15 handler
> 2023-02-21 07:57:01.028462 I Setup Segmentation fault: 11 handler
> 2023-02-21 07:57:01.028466 I Setup Abort trap: 6 handler
> 2023-02-21 07:57:01.028470 I Setup Floating point exception: 8 handler
> 2023-02-21 07:57:01.028473 I Setup Illegal instruction: 4 handler
> 2023-02-21 07:57:01.028477 I Setup Bus error: 10 handler
> 2023-02-21 07:57:01.028480 I Setup Hangup: 1 handler
> 2023-02-21 07:57:01.028485 I Setup User defined signal 1: 30 handler
> 2023-02-21 07:57:01.028489 I Setup User defined signal 2: 31 handler
> 2023-02-21 07:57:01.028750 C mythfrontend version: fixes/33
> [v33.1-3-ga803b198a8] www.mythtv.org
> 2023-02-21 07:57:01.028753 C Qt version: compile: 5.15.8, runtime: 5.15.8
> 2023-02-21 07:57:01.028769 I macOS 11.7 (x86_64)
> 2023-02-21 07:57:01.028771 N Enabled verbose msgs: general
> 2023-02-21 07:57:01.028783 N Setting Log Level to LOG_INFO
> 2023-02-21 07:57:01.040052 I Added logging to the console
> 2023-02-21 07:57:01.040147 N Using runtime prefix = /Applications/
> mythfrontend.app/Contents/Resources
> 2023-02-21 07:57:01.040150 N Using configuration directory =
> /Users/alders/.mythtv
> 2023-02-21 07:57:01.040187 I Assumed character encoding: en_US.UTF-8
> 2023-02-21 07:57:01.040852 I Loading en_us translation for module
> mythfrontend
> 2023-02-21 07:57:01.041175 I Empty LocalHostName. This is typical.
> 2023-02-21 07:57:01.041198 I Using a profile name of: 'MacBook-Pro-2'
> (Usually the same as this host's name.)
> 2023-02-21 07:57:01.041459 I Start up testing connections. DB
> 192.168.1.29, BE , attempt 0, status start, Delay: 2000
> 2023-02-21 07:57:03.143940 N Setting QT default locale to en_US
> 2023-02-21 07:57:03.143952 I Current locale en_US
> 2023-02-21 07:57:03.144215 N Reading locale defaults from /Applications/
> mythfrontend.app/Contents/Resources/share/mythtv//locales/en_us.xml
> Handling Segmentation fault: 11
> [1] 1482 segmentation fault /Applications/
> mythfrontend.app/Contents/MacOS/mythfrontend
>

Hi Dennis - It looks like you're running the auto build from Saturday which
will crash (the regressions didn't get fixed until yesterday). Would you
mind downloading the latest version which should be
MythFrontend-x86_64-11.7.3-v33.1-4-gc273ed0f9a.dmg

Hopefully that one gets you up and running again.
Re: OS X Big Sur MythTV 0.33 Build core dump [ In reply to ]
John,
Succes!!!

Indeed the latest version is working (on Big Sur version 11.7.4) MythFrontend-x86_64-11.7.3-v33.1-4-gc273ed0f9a.dmg

Thanks a lot for all your hard work.

Regards,
Dennis


> On 21 Feb 2023, at 11:48, John Hoyt <john.hoyt@gmail.com> wrote:
>
>
>
> On Tue, Feb 21, 2023 at 2:04 AM Dennis Alders <dennis.alders@gmail.com <mailto:dennis.alders@gmail.com>> wrote:
> John,
> I installed MythFrontend-x86_64-11.7.3-v33.1-3-ga803b198a8.dmg, but I still get a core dump:
>
> 2023-02-21 07:57:01.028437 I Setup Interrupt: 2 handler
> 2023-02-21 07:57:01.028458 I Setup Terminated: 15 handler
> 2023-02-21 07:57:01.028462 I Setup Segmentation fault: 11 handler
> 2023-02-21 07:57:01.028466 I Setup Abort trap: 6 handler
> 2023-02-21 07:57:01.028470 I Setup Floating point exception: 8 handler
> 2023-02-21 07:57:01.028473 I Setup Illegal instruction: 4 handler
> 2023-02-21 07:57:01.028477 I Setup Bus error: 10 handler
> 2023-02-21 07:57:01.028480 I Setup Hangup: 1 handler
> 2023-02-21 07:57:01.028485 I Setup User defined signal 1: 30 handler
> 2023-02-21 07:57:01.028489 I Setup User defined signal 2: 31 handler
> 2023-02-21 07:57:01.028750 C mythfrontend version: fixes/33 [v33.1-3-ga803b198a8] www.mythtv.org <http://www.mythtv.org/>
> 2023-02-21 07:57:01.028753 C Qt version: compile: 5.15.8, runtime: 5.15.8
> 2023-02-21 07:57:01.028769 I macOS 11.7 (x86_64)
> 2023-02-21 07:57:01.028771 N Enabled verbose msgs: general
> 2023-02-21 07:57:01.028783 N Setting Log Level to LOG_INFO
> 2023-02-21 07:57:01.040052 I Added logging to the console
> 2023-02-21 07:57:01.040147 N Using runtime prefix = /Applications/mythfrontend.app/Contents/Resources <http://mythfrontend.app/Contents/Resources>
> 2023-02-21 07:57:01.040150 N Using configuration directory = /Users/alders/.mythtv
> 2023-02-21 07:57:01.040187 I Assumed character encoding: en_US.UTF-8
> 2023-02-21 07:57:01.040852 I Loading en_us translation for module mythfrontend
> 2023-02-21 07:57:01.041175 I Empty LocalHostName. This is typical.
> 2023-02-21 07:57:01.041198 I Using a profile name of: 'MacBook-Pro-2' (Usually the same as this host's name.)
> 2023-02-21 07:57:01.041459 I Start up testing connections. DB 192.168.1.29, BE , attempt 0, status start, Delay: 2000
> 2023-02-21 07:57:03.143940 N Setting QT default locale to en_US
> 2023-02-21 07:57:03.143952 I Current locale en_US
> 2023-02-21 07:57:03.144215 N Reading locale defaults from /Applications/mythfrontend.app/Contents/Resources/share/mythtv//locales/en_us.xml <http://mythfrontend.app/Contents/Resources/share/mythtv//locales/en_us.xml>
> Handling Segmentation fault: 11
> [1] 1482 segmentation fault /Applications/mythfrontend.app/Contents/MacOS/mythfrontend <http://mythfrontend.app/Contents/MacOS/mythfrontend>
>
> Hi Dennis - It looks like you're running the auto build from Saturday which will crash (the regressions didn't get fixed until yesterday). Would you mind downloading the latest version which should be MythFrontend-x86_64-11.7.3-v33.1-4-gc273ed0f9a.dmg
>
> Hopefully that one gets you up and running again.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org <mailto:mythtv-users@mythtv.org>
> http://lists.mythtv.org/mailman/listinfo/mythtv-users <http://lists.mythtv.org/mailman/listinfo/mythtv-users>
> http://wiki.mythtv.org/Mailing_List_etiquette <http://wiki.mythtv.org/Mailing_List_etiquette>
> MythTV Forums: https://forum.mythtv.org <https://forum.mythtv.org/>