[mythtv-users] mac build
James Linder
jam at tigger.ws
Tue Feb 2 00:02:17 UTC 2021
> On 1 Feb 2021, at 9:44 pm, John Hoyt <john.hoyt at gmail.com> wrote:
>
> lldb /Applications/Mythfrontend.app/Contents/MacOS/mythfrontend.real
>
> in the lldb prompt do the following to set a backtrace:
> (lldb) target stop-hook add
> Enter your stop hook command(s). Type 'DONE' to end.
> > bt
> > disassemble --pc
> > DONE
> Stop hook #1 added.
>
> then launch the process:
> (lldb) process launch
> (lldb) run
> (lldb) r
After process launch mythfrontend ran. I did not get an opportunity to enter "run" or "r"
without lldb vrash was within 1 sec of edit->move
with lldb it took 10 or 20 tries
Looks like a good start point, say if you want more:
2021-02-02 07:45:14.965554 I [11159/775] CoreContext mythvideoout.cpp:401:SetDeinterlacing VideoOutput: SetDeinterlacing (Doublerate 1): Single High|CPU|GLSL Double High|CPU|GLSL
2021-02-02 07:45:14.966822 I [11159/775] CoreContext tv_play.cpp:5746:StartPlayer TV::StartPlayer(): Created player.
2021-02-02 07:45:14.966864 I [11159/775] CoreContext tv_play.cpp:2439:HandleStateChange TV::HandleStateChange(): Changing from None to WatchingPreRecorded
2021-02-02 07:45:14.990576 I [11159/775] CoreContext tv_play.cpp:2525:HandleStateChange TV::HandleStateChange(): Main UI disabled.
2021-02-02 07:45:14.990617 I [11159/775] CoreContext tv_play.cpp:391:StartTV TV::StartTV(): Entering main playback loop.
2021-02-02 07:45:15.014488 I [11159/775] CoreContext mythvideoout.cpp:401:SetDeinterlacing VideoOutput: SetDeinterlacing (Doublerate 1): Single High|CPU|GLSL Double High|CPU|GLSL
2021-02-02 07:45:15.014533 W [11159/775] CoreContext opengl/mythopenglvideo.cpp:516:SetupFrameFormat GLVid: New frame format: None:None 1920x1080 (Tex: 2D) -> YUV420P:YUY2 1920x1080 (Tex: 2D)
2021-02-02 07:45:24.793084 I [11159/775] CoreContext mythvideoout.cpp:401:SetDeinterlacing VideoOutput: SetDeinterlacing (Doublerate 0): Single High|CPU|GLSL Double None
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x16c13e008)
* frame #0: 0x00000001044689a8 myth`AudioOutputGraph::GetImage(long long) const + 2008
frame #1: 0x00000001029ddb3d mythtv`OSD::SetGraph(QString const&, QString const&, long long) + 205
frame #2: 0x00000001029393d5 mythtv`DeleteMap::UpdateOSD(long long, OSD*) + 85
frame #3: 0x00000001028eb6bd mythtv`MythPlayer::RefreshPauseFrame() + 221
frame #4: 0x00000001028eb7b9 mythtv`MythPlayer::DisplayPauseFrame() + 169
frame #5: 0x00000001028eea17 mythtv`MythPlayer::VideoLoop() + 183
frame #6: 0x00000001028299b7 mythtv`TV::PlaybackLoop() + 1271
frame #7: 0x000000010282654a mythtv`TV::StartTV(ProgramInfo*, unsigned int, std::__1::vector<ChannelInfo, std::__1::allocator<ChannelInfo> > const&) + 8058
frame #8: 0x000000010004a59b mythfrontend.real`PlaybackBox::Play(ProgramInfo const&, bool, bool, bool, bool, bool) + 715
frame #9: 0x0000000100049eb5 mythfrontend.real`PlaybackBox::PlayX(ProgramInfo const&, bool, bool, bool, bool) + 165
frame #10: 0x0000000100049de5 mythfrontend.real`PlaybackBox::PlayFromBookmarkOrProgStart(MythUIButtonListItem*) + 181
frame #11: 0x000000010032d58c mythfrontend.real`___lldb_unnamed_symbol10920$$mythfrontend.real + 396
frame #12: 0x0000000107970c5c QtCore`___lldb_unnamed_symbol5255$$QtCore + 1024
frame #13: 0x000000010417d6b7 mythui`MythUIButtonList::itemClicked(MythUIButtonListItem*) + 87
frame #14: 0x000000010409bec6 mythui`MythUIButtonList::keyPressEvent(QKeyEvent*) + 3510
frame #15: 0x0000000100058ba4 mythfrontend.real`PlaybackBox::keyPressEvent(QKeyEvent*) + 340
frame #16: 0x0000000103fc841d mythui`MythMainWindow::eventFilter(QObject*, QEvent*) + 589
frame #17: 0x000000010795220e QtCore`QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) + 154
frame #18: 0x00000001058428f8 QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 192
frame #19: 0x0000000105843aac QtWidgets`QApplication::notify(QObject*, QEvent*) + 1264
frame #20: 0x0000000107951fae QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 138
frame #21: 0x000000010587c287 QtWidgets`___lldb_unnamed_symbol1073$$QtWidgets + 449
frame #22: 0x000000010584290c QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 212
frame #23: 0x000000010584379a QtWidgets`QApplication::notify(QObject*, QEvent*) + 478
frame #24: 0x0000000107951fae QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 138
frame #25: 0x000000010714e0ef QtGui`QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) + 157
frame #26: 0x000000010713f691 QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 91
frame #27: 0x000000010713d1bd QtGui`QWindowSystemInterface::flushWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 329
frame #28: 0x00000001193757aa libqcocoa.dylib`___lldb_unnamed_symbol827$$libqcocoa.dylib + 1072
frame #29: 0x0000000119375929 libqcocoa.dylib`___lldb_unnamed_symbol828$$libqcocoa.dylib + 64
frame #30: 0x00007fff2dd15d5d AppKit`-[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 6512
frame #31: 0x00007fff2dd141c9 AppKit`-[NSWindow(NSEventRouting) sendEvent:] + 349
frame #32: 0x0000000119378723 libqcocoa.dylib`___lldb_unnamed_symbol923$$libqcocoa.dylib + 450
frame #33: 0x00007fff2dd12efe AppKit`-[NSApplication(NSEvent) sendEvent:] + 2826
frame #34: 0x000000011937d9c1 libqcocoa.dylib`___lldb_unnamed_symbol1104$$libqcocoa.dylib + 62
frame #35: 0x00007fff2db5f5bf AppKit`-[NSApplication run] + 707
frame #36: 0x000000011937af60 libqcocoa.dylib`___lldb_unnamed_symbol997$$libqcocoa.dylib + 1200
frame #37: 0x000000010794fca6 QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 282
frame #38: 0x000000010795241d QtCore`QCoreApplication::exec() + 123
frame #39: 0x000000010001229e mythfrontend.real`main + 18110
frame #40: 0x00007fff6a96ccc9 libdyld.dylib`start + 1
frame #41: 0x00007fff6a96ccc9 libdyld.dylib`start + 1
myth`AudioOutputGraph::GetImage:
-> 0x1044689a8 <+2008>: movswl (%rax), %ecx
0x1044689ab <+2011>: movl %ecx, -0x168(%rbp)
0x1044689b1 <+2017>: cmpl $0x1, -0x154(%rbp)
0x1044689b8 <+2024>: jle 0x1044689d4 ; <+2052>
Process 11159 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x16c13e008)
frame #0: 0x00000001044689a8 myth`AudioOutputGraph::GetImage(long long) const + 2008
myth`AudioOutputGraph::GetImage:
-> 0x1044689a8 <+2008>: movswl (%rax), %ecx
0x1044689ab <+2011>: movl %ecx, -0x168(%rbp)
0x1044689b1 <+2017>: cmpl $0x1, -0x154(%rbp)
0x1044689b8 <+2024>: jle 0x1044689d4 ; <+2052>
Target 0: (mythfrontend.real) stopped.
(lldb)
I'lll try a few more times to see if location changes
James
More information about the mythtv-users
mailing list