From owner-freebsd-multimedia@FreeBSD.ORG Sun Jan 25 20:02:57 2015 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C513FD1F for ; Sun, 25 Jan 2015 20:02:57 +0000 (UTC) Received: from mail-ob0-x242.google.com (mail-ob0-x242.google.com [IPv6:2607:f8b0:4003:c01::242]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83C5EE1 for ; Sun, 25 Jan 2015 20:02:57 +0000 (UTC) Received: by mail-ob0-f194.google.com with SMTP id nt9so1355674obb.1 for ; Sun, 25 Jan 2015 12:02:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=rSe1Yc9hEuJTS41eeeXsW53GCONe3Kv8UU5A153k5Uw=; b=cnArKU8/hhe3mrdHLay3FfrFmDNRLgeSoU5eAuexW0TfHXPtRKPfumGrPRfJwxjZjW KJ2X0G+vtF4X8dCspitv1FtfKqLV1OAh1QQiTBhtqYNXEMNbugQ0IsZ9qBmFayg7L5gF l9cbHeiu0d9b7Y4WpY6Ihrjo3P+Ah572lfLsDfowboDWJTuMltw9toP7G/hK7vqmtaUy IbvyvZGmEuOIIl6aE/vkGefyFmIIAsfqObhnxJtS1OK44xMir5WgkpXVWkjAt3JMEM0u jQ15p7xyoW10f0huc4Kv7yQZZa3M+HUYEy7DJ2/2I0mD+YdGWc7C4iiPfmTxisHSJsQR F6QQ== MIME-Version: 1.0 X-Received: by 10.202.174.69 with SMTP id x66mr9238507oie.79.1422216176813; Sun, 25 Jan 2015 12:02:56 -0800 (PST) Sender: tom.lislegaard@gmail.com Received: by 10.202.230.65 with HTTP; Sun, 25 Jan 2015 12:02:56 -0800 (PST) Date: Sun, 25 Jan 2015 21:02:56 +0100 X-Google-Sender-Auth: I4AgomxQeWX6O1bd0LUvKlBDui4 Message-ID: Subject: Mythfrontend fails with segfault after system upgrade From: Tom Lislegaard To: freebsd-multimedia@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2015 20:02:57 -0000 After doing some upgrades my mythfrontend fails to start with a segmentation fault. What I've done in particular is to update 10.1-Stable (from one compiled in mid-december), and upgraded the nvidia-driver from 331.67 to the current 340.65. When I noticed the error I tried to downgrade both the system and driver to the previous state, but oddly mythfrontend kept failing the same way. As I'm not much of a programmer myself I hope someone can make sense of the log below. I'm grateful for any hints or tips that might help in resolving this. -tom gong:~% gdb /usr/local/bin/mythfrontend GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) r Starting program: /usr/local/bin/mythfrontend [New LWP 100316] [New Thread 816406400 (LWP 100316/mythfrontend)] 2015-01-25 20:11:40.949794 I Setup Interrupt handler 2015-01-25 20:11:40.950058 I Setup Terminated handler 2015-01-25 20:11:40.950080 I Setup Segmentation fault handler 2015-01-25 20:11:40.950086 I Setup Abort trap handler 2015-01-25 20:11:40.950094 I Setup Bus error handler 2015-01-25 20:11:40.950100 I Setup Floating point exception handler 2015-01-25 20:11:40.950108 I Setup Illegal instruction handler 2015-01-25 20:11:40.950115 I Setup Unknown signal: 65 handler 2015-01-25 20:11:40.950123 I Setup User defined signal 1 handler 2015-01-25 20:11:40.950130 I Setup User defined signal 2 handler 2015-01-25 20:11:40.950700 C mythfrontend version: fixes/0.27 [5a5e1cd] www.mythtv.org 2015-01-25 20:11:40.950711 C Qt version: compile: 4.8.6, runtime: 4.8.6 2015-01-25 20:11:40.950716 N Enabled verbose msgs: general 2015-01-25 20:11:40.950741 N Setting Log Level to LOG_INFO 2015-01-25 20:11:40.951727 N Using runtime prefix = /usr/local 2015-01-25 20:11:40.951755 N Using configuration directory = /h/tl/.mythtv 2015-01-25 20:11:40.951818 I Added logging to the console 2015-01-25 20:11:40.952314 I Assumed character encoding: en_US.ISO8859-1 2015-01-25 20:11:40.952323 W This application expects to be running a locale that specifies a UTF-8 codeset, and many features may behave improperly with your current language settings. Please set the LC_ALL or LC_CTYPE, and LANG variable(s) in the environment in which this program is executed to include a UTF-8 codeset (such as 'en_US.UTF-8'). 2015-01-25 20:11:40.955632 I Using localhost value of gong 2015-01-25 20:11:40.956782 I Starting IO manager (read) 2015-01-25 20:11:40.956761 I Starting process manager 2015-01-25 20:11:40.956796 I Starting IO manager (write) [New Thread 819038800 (LWP 100409/mythfrontend)] [New Thread 819038400 (LWP 100404/mythfrontend)] 2015-01-25 20:11:41.165936 N Setting QT default locale to en_US 2015-01-25 20:11:41.166036 I Current locale en_US 2015-01-25 20:11:41.166815 N Reading locale defaults from /usr/local/share/mythtv//locales/en_us.xml 2015-01-25 20:11:41.191016 I Starting mythlogserver 2015-01-25 20:11:41.317733 I ScreenSaverX11Private: DPMS is active. 2015-01-25 20:11:41.343386 N Desktop video mode: 1920x1080 60.000 Hz 2015-01-25 20:11:41.471139 I Added logging to mythlogserver at TCP:35327 2015-01-25 20:11:41.545451 I Listening on TCP 172.16.0.18:6547 2015-01-25 20:11:41.545555 I Listening on TCP 127.0.0.1:6547 2015-01-25 20:11:41.545636 I Listening on TCP [::1]:6547 2015-01-25 20:11:41.545696 I Listening on TCP [fe80::1%lo0]:6547 2015-01-25 20:11:45.167237 E Bonjour: Error: -65563 2015-01-25 20:11:45.167244 E Bonjour: Failed to register service. 2015-01-25 20:11:45.174126 I Loading en_us translation for module mythfrontend 2015-01-25 20:11:45.190381 E LIRC: Failed to connect to Unix socket '/var/run/lirc/lircd' eno: No such file or directory (2) 2015-01-25 20:11:45.190727 I UDPListener: Enabling 2015-01-25 20:11:45.192260 I Binding to UDP 172.16.0.18:6948 2015-01-25 20:11:45.192355 I Binding to UDP 127.0.0.1:6948 2015-01-25 20:11:45.192418 I Binding to UDP [::1]:6948 2015-01-25 20:11:45.192473 I Binding to UDP [fe80::1%lo0]:6948 2015-01-25 20:11:45.192516 I Binding to UDP 172.16.0.255:6948 2015-01-25 20:11:45.268879 I Using Full Screen Window 2015-01-25 20:11:45.277930 E MythUIHelper: LoadScalePixmap(/h/tl/.mythtv/themes/MythAeon/images/backgrounds/livetv/livetv.jpg) invalid image dimensions 2015-01-25 20:11:45.282674 I Trying the OpenGL painter 2015-01-25 20:11:45.284574 I OpenGL: Sync to VBlank is enabled (good!) 2015-01-25 20:11:45.341120 I OpenGL1: Fragment program support available 2015-01-25 20:11:45.341172 I OpenGL: OpenGL vendor : NVIDIA Corporation 2015-01-25 20:11:45.341179 I OpenGL: OpenGL renderer: GeForce 9500 GT/PCIe/SSE2 2015-01-25 20:11:45.341182 I OpenGL: OpenGL version : 3.3.0 NVIDIA 340.65 2015-01-25 20:11:45.341188 I OpenGL: Max texture size: 8192 x 8192 2015-01-25 20:11:45.341192 I OpenGL: Max texture units: 4 2015-01-25 20:11:45.341231 I OpenGL: Direct rendering: Yes 2015-01-25 20:11:45.341234 I OpenGL: PixelBufferObject support available 2015-01-25 20:11:45.341237 I OpenGL: Initialised MythRenderOpenGL 2015-01-25 20:11:46.008445 E MythUITextEdit: active state doesn't exist 2015-01-25 20:11:46.121953 I MythUIWebBrowser: Loading css from - file:///h/tl/.mythtv/themes/MythAeon/htmls/mythbrowser.css 2015-01-25 20:11:46.122604 E MythUIWebBrowser: failed to find our parent screen 2015-01-25 20:11:46.124969 I MythUIWebBrowser: enabling plugins 2015-01-25 20:11:46.181438 I MythCoreContext: Connecting to backend server: 172.16.0.20:6543 (try 1 of 1) 2015-01-25 20:11:46.183422 I Using protocol version 77 2015-01-25 20:11:46.218474 I MythUIWebBrowser: Loading css from - file:///h/tl/.mythtv/themes/MythAeon/htmls/mythbrowser.css 2015-01-25 20:11:46.218688 E MythUIWebBrowser: failed to find our parent screen 2015-01-25 20:11:46.218732 I MythUIWebBrowser: enabling plugins 2015-01-25 20:11:46.234521 E XMLParseBase: Unable to load window 'backgroundwindow' from base 2015-01-25 20:11:46.237624 I AirPlay: Created airplay objects. 2015-01-25 20:11:46.237772 E RAOP Device: Aborting startup - no key found. 2015-01-25 20:11:46.238053 I Listening on TCP 172.16.0.18:5100 2015-01-25 20:11:46.238089 I Listening on TCP 127.0.0.1:5100 2015-01-25 20:11:46.238165 I Listening on TCP [::1]:5100 2015-01-25 20:11:46.238213 I Listening on TCP [fe80::1%lo0]:5100 2015-01-25 20:11:46.243343 I Current MythTV Schema Version (DBSchemaVer): 1317 2015-01-25 20:11:47.468403 W Key F11 is bound to multiple actions in context TV Playback. 2015-01-25 20:11:47.511299 N Registering Internal as a media playback plugin. 2015-01-25 20:11:47.525312 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:48.028461 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:48.530450 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:49.035696 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:49.244924 E Bonjour: Error: -65563 2015-01-25 20:11:49.244949 E Bonjour: Failed to register service. 2015-01-25 20:11:49.244954 E AirPlay: Failed to register service. 2015-01-25 20:11:49.537479 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:50.038468 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:50.548515 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:51.052636 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:51.554424 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:52.055890 A MMUnix:CheckMountable: DBus interface error: The name org.freedesktop.UDisks was not provided by any .service files 2015-01-25 20:11:52.590121 W No libraries in plugins directory /usr/local/lib/mythtv/plugins 2015-01-25 20:11:52.592670 I Listening on TCP 172.16.0.18:6546 2015-01-25 20:11:52.592704 I Listening on TCP 127.0.0.1:6546 2015-01-25 20:11:52.592768 I Listening on TCP [::1]:6546 2015-01-25 20:11:52.592819 I Listening on TCP [fe80::1%lo0]:6546 2015-01-25 20:11:52.622884 N Found mainmenu.xml for theme 'MythAeon' 2015-01-25 20:11:52.629560 I Starting HouseKeeper. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 816406400 (LWP 100316/mythfrontend)] 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00000008041971e8 in MythRenderOpenGL::CreateVBO (this=0x8164dfc40) at mythrender_opengl.cpp:1042 #2 0x00000008041964e4 in MythRenderOpenGL::CreateTexture (this=0x8164dfc40, act_size={wd = 1920, ht = 1080}, use_pbo=false, type=34037, data_type=5121, data_fmt=6408, internal_fmt=32856, filter=9987, wrap=33071) at mythrender_opengl.cpp:400 #3 0x000000080419244b in MythOpenGLPainter::GetTextureFromCache (this=0x816687e40, im=0x81e37a500) at mythpainter_ogl.cpp:154 #4 0x0000000804192a31 in MythOpenGLPainter::DrawImage (this=0x816687e40, r=@0x7fffffffc3d0, im=0x81e37a500, src=@0x7fffffffc330, alpha=255) at mythpainter_ogl.cpp:189 #5 0x000000080402c19b in MythUIImage::DrawSelf (this=0x861ce6380, p=0x816687e40, xoffset=0, yoffset=0, alphaMod=255, clipRect=) at mythuiimage.cpp:1223 #6 0x0000000804018bf9 in MythUIType::Draw (this=0x861ce6380, p=0x816687e40, xoffset=0, yoffset=0, alphaMod=255, clipRect=) at mythuitype.cpp:499 #7 0x0000000804018d65 in MythUIType::Draw (this=0x861cf4600, p=0x816687e40, xoffset=0, yoffset=0, alphaMod=255, clipRect=) at mythuitype.cpp:505 #8 0x0000000803fb0faa in MythMainWindow::draw (this=0x81664e5e0) at mythmainwindow.cpp:824 #9 0x0000000803fa8051 in MythMainWindow::drawScreen (this=0x81664e5e0) at mythmainwindow.cpp:792 #10 0x0000000803fa799d in MythPainterWindowGL::paintEvent (this=0x8167edc00, pe=0x7fffffffd1d8) at mythmainwindow.cpp:397 #11 0x000000080b6db9d0 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4 #12 0x000000080b1b241d in QGLWidget::event () from /usr/local/lib/qt4/libQtOpenGL.so.4 #13 0x000000080b68f49d in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4 #14 0x000000080b692529 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4 #15 0x000000080c700d24 in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4 #16 0x000000080b6d698d in QWidgetPrivate::drawWidget () from /usr/local/lib/qt4/libQtGui.so.4 #17 0x000000080b8aba42 in QWidgetPrivate::repaint_sys () from /usr/local/lib/qt4/libQtGui.so.4 #18 0x000000080b6ce58a in QWidgetPrivate::syncBackingStore () from /usr/local/lib/qt4/libQtGui.so.4 #19 0x000000080b6dbc71 in QWidget::event () from /usr/local/lib/qt4/libQtGui.so.4 #20 0x000000080b1b241d in QGLWidget::event () from /usr/local/lib/qt4/libQtOpenGL.so.4 #21 0x000000080b68f49d in QApplicationPrivate::notify_helper () from /usr/local/lib/qt4/libQtGui.so.4 #22 0x000000080b692529 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4 #23 0x000000080c700d24 in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4 #24 0x000000080c7047e3 in QCoreApplicationPrivate::sendPostedEvents () from /usr/local/lib/qt4/libQtCore.so.4 #25 0x000000080c734d63 in QEventDispatcherGlib::registeredTimers () from /usr/local/lib/qt4/libQtCore.so.4 #26 0x00000008139fcfb8 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0 #27 0x00000008139fd34e in g_main_context_pending () from /usr/local/lib/libglib-2.0.so.0 #28 0x00000008139fd3d4 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0 #29 0x000000080c734f5c in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4 #30 0x000000080b72e47d in QX11Info::isCompositingManagerRunning () from /usr/local/lib/qt4/libQtGui.so.4 #31 0x000000080c6ffcbd in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.4 #32 0x000000080c700096 in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4 #33 0x000000080c704cbe in QCoreApplication::exec () from /usr/local/lib/qt4/libQtCore.so.4 #34 0x000000000045281c in main (argc=1, argv=0x7fffffffe7a8) at main.cpp:1769 (gdb)