[mythtv-users] .20 upgrade: mythfrontend segfaults with "X Error: BadLength (poly request too large or internal Xlib length error) 16"

Eyal Lebedinsky eyal at eyal.emu.id.au
Mon Oct 9 10:22:12 UTC 2006


Eyal Lebedinsky wrote:
> Debian Sarge, upgraded to .20
> 
> I cannot start the frontend, so naturally I cannot even go through the
> fe setup to see if anything is bad.
> 
> Should I switch out of MythCenter? I see that I have
> 	.mythtv/themecache:
> 	total 8
> 	drwxr-xr-x  6 eyal eyal 8192 Jun 30 09:28 MythCenter.1888.1176
> which should fit on the screen. I removed this directory and it had
> no effect (and it was not recreated).

[trim]

I should add that the backend seems to run OK.

Should I upgrade any other package? I assume that sufficient dependencies
are defined for the package.

Running '--reset' did not change the result.

If it helps, running mythfrontend under valgrind says:

==6194== Memcheck, a memory error detector.
==6194== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==6194== Using LibVEX rev 1368, a library for dynamic binary translation.
==6194== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==6194== Using valgrind-3.3.0.SVN, a dynamic binary instrumentation framework.
==6194== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==6194== For more details, rerun with: -v
==6194==
--6194-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--6194-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--6194-- DWARF2 CFI reader: unhandled CFI instruction 0:50
--6194-- DWARF2 CFI reader: unhandled CFI instruction 0:50
2006-10-09 19:56:50.761 Using runtime prefix = /usr
2006-10-09 19:56:51.036 DPMS is active.
2006-10-09 19:56:52.268 New DB connection, total: 1
2006-10-09 19:56:52.469 Connected to database 'mythconverg' at host: localhost
2006-10-09 19:56:52.644 Total desktop dim: 1920x1200, with 1 screen[s].
2006-10-09 19:56:52.907 Using screen 0, 1920x1200 at 0,0
2006-10-09 19:56:54.195 Current Schema Version: 1160
2006-10-09 19:56:54.215 mythfrontend version: 0.20.20060828-3 www.mythtv.org
2006-10-09 19:56:54.233 Enabled verbose msgs:  important general
2006-10-09 19:57:03.228 Total desktop dim: 1920x1200, with 1 screen[s].
2006-10-09 19:57:03.244 Using screen 0, 1920x1200 at 0,0
2006-10-09 19:57:03.269 Switching to square mode (MythCenter)
==6194== Syscall param writev(vector[...]) points to uninitialised byte(s)
==6194==    at 0x640B5E8: (within /lib/tls/libc-2.3.2.so)
==6194==    by 0x640B42B: writev (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x61D0EBF: (within /usr/X11R6/lib/libX11.so.6.2)
==6194==    by 0x61D1A8E: _X11TransWritev (in /usr/X11R6/lib/libX11.so.6.2)
==6194==    by 0x61B2186: _XSend (in /usr/X11R6/lib/libX11.so.6.2)
==6194==    by 0x61A8644: XQueryExtension (in /usr/X11R6/lib/libX11.so.6.2)
==6194==    by 0x619EB6A: XInitExtension (in /usr/X11R6/lib/libX11.so.6.2)
==6194==    by 0x6172B63: XextAddDisplay (in /usr/X11R6/lib/libXext.so.6.4)
==6194==    by 0x611F24D: (within /usr/lib/libGL.so.1.0.6111)
==6194==  Address 0x6EDD35D is 189 bytes inside a block of size 2,048 alloc'd
==6194==    at 0x401CC98: calloc (vg_replace_malloc.c:279)
==6194==    by 0x61A309C: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==6194==    by 0x5B33449: qt_init_internal(int*, char**, _XDisplay*, unsigned long, unsigned long) (in /usr/lib/libqt-mt.so.3.3.4)
==6194==    by 0x5B340D7: qt_init(int*, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4)
==6194==    by 0x5B9F144: QApplication::construct(int&, char**, QApplication::Type) (in /usr/lib/libqt-mt.so.3.3.4)
==6194==    by 0x5B9EDF8: QApplication::QApplication(int&, char**) (in /usr/lib/libqt-mt.so.3.3.4)
==6194==    by 0x8071C63: (within /usr/bin/mythfrontend)
==6194==    by 0x634F973: (below main) (in /lib/tls/libc-2.3.2.so)
X Error: BadLength (poly request too large or internal Xlib length error) 16
  Major opcode:  147
  Minor opcode:  3
  Resource id:  0x115
==6194==
==6194== Invalid write of size 4
==6194==    at 0x611D95A: (within /usr/lib/libGL.so.1.0.6111)
==6194==  Address 0xAF88 is not stack'd, malloc'd or (recently) free'd
==6194==
==6194== Process terminating with default action of signal 11 (SIGSEGV)
==6194==  Access not within mapped region at address 0xAF88
==6194==    at 0x611D95A: (within /usr/lib/libGL.so.1.0.6111)
==6194==
==6194== Thread 2:
==6194== Invalid read of size 1
==6194==    at 0x6442E06: _dl_close (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x6443DDA: (within /lib/tls/libc-2.3.2.so)
==6194==    by 0x400C015: _dl_catch_error (in /lib/ld-2.3.2.so)
==6194==    by 0x6443CFE: __libc_dlclose (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x64478FC: (within /lib/tls/libc-2.3.2.so)
==6194==    by 0x64476C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x40184C1: _vgnU_freeres (vg_preloaded.c:60)
==6194==  Address 0x1E7 is not stack'd, malloc'd or (recently) free'd
==6194==
==6194== Process terminating with default action of signal 11 (SIGSEGV)
==6194==  Access not within mapped region at address 0x1E7
==6194==    at 0x6442E06: _dl_close (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x6443DDA: (within /lib/tls/libc-2.3.2.so)
==6194==    by 0x400C015: _dl_catch_error (in /lib/ld-2.3.2.so)
==6194==    by 0x6443CFE: __libc_dlclose (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x64478FC: (within /lib/tls/libc-2.3.2.so)
==6194==    by 0x64476C4: __libc_freeres (in /lib/tls/libc-2.3.2.so)
==6194==    by 0x40184C1: _vgnU_freeres (vg_preloaded.c:60)
==6194==
==6194== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 134 from 3)

-- 
Eyal Lebedinsky (eyal at eyal.emu.id.au) <http://samba.org/eyal/>
	attach .zip as .dat


More information about the mythtv-users mailing list