Opened 11 years ago

Closed 11 years ago

#4942 closed defect (invalid)

mythfrontend crashing after loading theme

Reported by: anonymous Owned by: Isaac Richards
Priority: blocker Milestone: unknown
Component: mythtv Version: head
Severity: high Keywords: mythfrontend
Cc: Ticket locked: no

Description

At revision 16539.

[Thread debugging using libthread_db enabled]

[New Thread -1259297040 (LWP 23068)]

[New Thread -1261552752 (LWP 23073)]

[New Thread -1269945456 (LWP 23074)]

[New Thread -1278338160 (LWP 23075)]

[New Thread -1290798192 (LWP 23079)]

[New Thread -1303143536 (LWP 23080)]

[New Thread -1311536240 (LWP 23081)]

[Thread -1311536240 (LWP 23081) exited]

Program received signal SIGABRT, Aborted.

[Switching to Thread -1259297040 (LWP 23068)]

0xffffe410 in kernel_vsyscall ()

Thread 6 (Thread -1303143536 (LWP 23080)):

#0 0xffffe410 in kernel_vsyscall ()

No symbol table info available.

#1 0xb5c6d18b in ?? () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#2 0xb59f8e82 in lirc_nextcode () from /usr/lib/liblirc_client.so.0

No symbol table info available.

#3 0xb6baff70 in LircClient::Process (this=0x8388238) at lirc.cpp:81

code = 0x0

ir = 0x0

ret = -1208888576

#4 0xb690b2a5 in SpawnLirc? (param=0x8384628) at mythmainwindow.cpp:67

config_file = {static null = {static null = <same as static member of an already seen type>, d = 0x81b9418, static shared_null = 0x81b9418}, d = 0x8387998, static shared_null = 0x81b9418}

cl = (struct LircClient? *) 0x8388238

#5 0xb5c6631b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#6 0xb5ad157e in clone () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

Thread 5 (Thread -1290798192 (LWP 23079)):

#0 0xffffe410 in kernel_vsyscall ()

No symbol table info available.

#1 0xb5c6a5c6 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#2 0xb64b7d68 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#3 0xb6a7a41e in MythContext::waitPrivRequest (this=0x82b03b0) at mythcontext.cpp:3872

No locals.

#4 0x08071e4d in run_priv_thread (data=0x0) at main.cpp:864

No locals.

#5 0xb5c6631b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#6 0xb5ad157e in clone () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

Thread 4 (Thread -1278338160 (LWP 23075)):

#0 0xffffe410 in kernel_vsyscall ()

No symbol table info available.

#1 0xb5aca3d1 in select () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#2 0xb6d85067 in SSDP::run (this=0x82b1bf0) at ssdp.cpp:207

nMaxSocket = 13

read_set = {fds_bits = {14336, 0 <repeats 31 times>}}

timeout = {tv_sec = 0, tv_usec = 96000}

#3 0xb6168fd9 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#4 0xb5c6631b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#5 0xb5ad157e in clone () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

Thread 3 (Thread -1269945456 (LWP 23074)):

#0 0xffffe410 in kernel_vsyscall ()

No symbol table info available.

#1 0xb5c6a84c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#2 0xb616854e in ?? () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#3 0xb44e2268 in ?? ()

No symbol table info available.

#4 0xb44e2298 in ?? ()

No symbol table info available.

#5 0xb44e22e0 in ?? ()

No symbol table info available.

#6 0xb44e2b90 in ?? ()

No symbol table info available.

#7 0xb44e22e0 in ?? ()

No symbol table info available.

#8 0xb5c69bf0 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#9 0xb6168742 in QThread::msleep () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#10 0xb6d88812 in TaskQueue::run (this=0x82b12b0) at taskqueue.cpp:114

ttNow = {tv_sec = 1205431631, tv_usec = 795874}

pTask = (Task *) 0x0

#11 0xb6168fd9 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#12 0xb5c6631b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#13 0xb5ad157e in clone () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

Thread 2 (Thread -1261552752 (LWP 23073)):

#0 0xffffe410 in kernel_vsyscall ()

No symbol table info available.

#1 0xb5c6a84c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#2 0xb64b7d48 in QWaitCondition::wait () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#3 0xb6d95715 in CEvent::WaitForEvent? (this=0x82b1a58, time=500) at threadpool.cpp:96

ret = false

#4 0xb6d957e5 in WorkerThread::run (this=0x82b1a48) at threadpool.cpp:202

timer = {m_timer = {ds = 40028692}}

#5 0xb6168fd9 in QThreadInstance::start () from /usr/lib/libqt-mt.so.3

No symbol table info available.

#6 0xb5c6631b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

No symbol table info available.

#7 0xb5ad157e in clone () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

Thread 1 (Thread -1259297040 (LWP 23068)):

#0 0xffffe410 in kernel_vsyscall ()

No symbol table info available.

#1 0xb5a2bdf0 in raise () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#2 0xb5a2d641 in abort () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#3 0xb5a619bb in ?? () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#4 0x00000014 in ?? ()

No symbol table info available.

#5 0xb5a69ef3 in ?? () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#6 0x00000002 in ?? ()

No symbol table info available.

#7 0xbfdd0ae7 in ?? ()

No symbol table info available.

#8 0xb5b25801 in ?? () from /lib/tls/i686/cmov/libc.so.6

No symbol table info available.

#9 0xbfdcf657 in ?? ()

No symbol table info available.

#10 0x0833b5e0 in ?? ()

No symbol table info available.

#11 0x00000010 in ?? ()

No symbol table info available.

Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Attachments (2)

gdb.txt (5.8 KB) - added by anonymous 11 years ago.
gdb.txt
gdb.2.txt (5.0 KB) - added by panachoi@… 11 years ago.
output of running mythfrontend 16616M under gdb

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by anonymous

Attachment: gdb.txt added

gdb.txt

comment:1 Changed 11 years ago by anonymous

Problem goes away by reverting to 16520.

comment:2 Changed 11 years ago by anonymous

The problem can be avoided by using a different theme.

e.g. mythfrontend -O theme=MythCenterWide?

comment:3 Changed 11 years ago by panachoi@…

I've just recently upgraded my myth installation to this:

MythTV Version : 16616M MythTV Branch : trunk Library API : 0.22.20080313-2 Network Protocol : 40 Options compiled in:

linux debug using_oss using_alsa using_backend using_dbox2 using_dvb using_frontend using_iptv using_ivtv using_joystick_menu using_lirc using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmcw using_xvmc_vld using_bindings_perl using_bindings_python using_opengl using_ffmpeg_threads using_live

The frontend immediately crashes upon startup, although the backend works. The frontend crashes as follows:

2008-03-18 08:44:54.580 Loading from: /usr/local/share/mythtv/themes/G.A.N.T/base.xml 2008-03-18 08:44:54.646 Loading from: /usr/local/share/mythtv/themes/default/base.xml 2008-03-18 08:44:54.746 Registering Internal as a media playback plugin. * glibc detected * mythfrontend: malloc(): memory corruption: 0x082aff68 * ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6[0xb5bf1636] /lib/tls/i686/cmov/libc.so.6(libc_malloc+0x90)[0xb5bf2fc0] /usr/lib/libstdc++.so.6(_Znwj+0x27)[0xb5dba6a7] /usr/local/lib/mythtv/plugins/libmytharchive.so[0xb23440d8] /usr/local/lib/mythtv/plugins/libmytharchive.so(_ZN15ArchiveSettingsC1Ev+0xe4)[0xb2348846] /usr/local/lib/mythtv/plugins/libmytharchive.so(mythplugin_init+0x2a8)[0xb233f4ea] /usr/local/lib/libmyth-0.22.so.0(_ZN10MythPlugin4initEPKc+0x3c)[0xb6c50f90] /usr/local/lib/libmyth-0.22.so.0(_ZN17MythPluginManager11init_pluginERK7QString+0xec)[0xb6c5140c] /usr/local/lib/libmyth-0.22.so.0(_ZN17MythPluginManagerC1Ev+0x28b)[0xb6c521cd] mythfrontend[0x807d710] /lib/tls/i686/cmov/libc.so.6(libc_start_main+0xe0)[0xb5b9d050] mythfrontend(_ZN7QWidget17setUpdatesEnabledEb+0x31)[0x8073df1]

Changed 11 years ago by panachoi@…

Attachment: gdb.2.txt added

output of running mythfrontend 16616M under gdb

comment:4 Changed 11 years ago by panachoi@…

I just did an update to 16656, and a complete delete/install cycle of myth,plugins, and themes, and the problem has been resolved.

comment:5 in reply to:  4 Changed 11 years ago by paulh

Resolution: invalid
Status: newclosed

Replying to panachoi@gmail.com:

I just did an update to 16656, and a complete delete/install cycle of myth,plugins, and themes, and the problem has been resolved.

I've noticed there's been a few commits recently that really required a make clean|distclean of the plugins and possibly also mythtv as well or else you can get some strange crashes. Maybe that's what you've run into here.

Note: See TracTickets for help on using tickets.