public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14677] New: Mythtv-setup Segfaults
@ 2012-10-06 17:07 madams9 at gmail dot com
  2012-10-06 23:33 ` [Bug gdb/14677] " madams9 at gmail dot com
  2012-10-08 18:27 ` tromey at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: madams9 at gmail dot com @ 2012-10-06 17:07 UTC (permalink / raw)
  To: gdb-prs


http://sourceware.org/bugzilla/show_bug.cgi?id=14677

             Bug #: 14677
           Summary: Mythtv-setup Segfaults
           Product: gdb
           Version: 7.3
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: madams9@gmail.com
    Classification: Unclassified


I'm pretty sure I'm not doing this correctly. 

I upgraded my HTPC system to Mageia 2 and installed MythTV. All went well, but
MythTV will not run setup (or any other mythtv-related application for that
matter).

Trying to run it initially produces this:
$ mythtv-setup
2012-10-06 10:58:23.779603 C  mythtv-setup version: 
[0.25-20120418.3.mga2.tainted] www.mythtv.org
2012-10-06 10:58:23.779634 N  Enabled verbose msgs:  general
2012-10-06 10:58:23.779673 N  Setting Log Level to LOG_INFO
2012-10-06 10:58:23.779758 I  Added logging to the console
2012-10-06 10:58:23.779771 I  Added database logging to table logging
2012-10-06 10:58:23.779889 N  Setting up SIGHUP handler
2012-10-06 10:58:23.780178 N  Using runtime prefix = /usr
2012-10-06 10:58:23.780209 N  Using configuration directory =
/home/<user>/.mythtv
2012-10-06 10:58:23.780491 I  Assumed character encoding: en_US.UTF-8
Segmentation fault

I get the same thing running as user or root.


GDB shows me this:
gdb mythtv-setup -x gdbcommands > gdb_mythtv-setup.txt

****************************************************
 WARNING: -l has been removed as of MythTV 0.25
          This option has been removed as part of rewrite of the logging
interface. Please update your init scripts to use --syslog to interface wi
th your system's existing system logging daemon, or --logpath to specify a
dirctory for MythTV to write its logs to.
****************************************************

mythtv-setup version:  [0.25-20120418.3.mga2.tainted] www.mythtv.org

Mythtv-setup is the setup application for the backend server. It is
used to configure the backend, and manage tuner cards and storage.
Most settings will require a restart of the backend before they take
effect.


[ I DELETED THE REST OF MYTHTV-SETUP'S HELP SCREEN HERE. IT'S IRRELEVANT. ]

cat gdb_mythtv-setup.txt shows:

GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-mageia-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/mythtv-setup...(no debugging symbols
found)...done.
Function "qFatal" not defined.
Breakpoint 1 (qFatal) pending.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i686/libthread_db.so.1".
[Inferior 1 (process 20528) exited with code 0204]


The end of an strace on mythtv-setup shows this:

read(10, "R\0\0\0\n5.5.25-MariaDB\0\n\0\0\0B\\,b*Iq{"..., 16384) = 86
brk(0x9a69000)                          = 0x9a69000
stat64("/usr/share/mysql/charsets/Index.xml", {st_mode=S_IFREG|0644,
st_size=18261, ...}) = 0
open("/usr/share/mysql/charsets/Index.xml", O_RDONLY|O_LARGEFILE) = 11
read(11, "<?xml version='1.0' encoding=\"ut"..., 18261) = 18261
close(11)                               = 0
futex(0xaccfeb24, FUTEX_WAKE_PRIVATE, 2147483647) = 0
write(10,
"^\0\0\1\215\242\17\0\0\0\0@\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 98)
= 98
read(10, "\7\0\0\2\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=10, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(10, "\f\0\0\0\2mythconverg", 16)  = 16
read(10, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=10, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(10, "\17\0\0\0\3SET NAMES utf8", 19) = 19
read(10, "\7\0\0\1\0\0\0\2\0\0\0", 16384) = 11
poll([{fd=10, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
write(10, "\353\0\0\0\3SELECT COUNT(          INFO"..., 239) = 239
read(10, "\1\0\0\1\1S\0\0\2\3def\0\0\0=COUNT(         "..., 16384) = 117
--- {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x10} (Segmentation fault)
---
+++ killed by SIGSEGV +++



Environment:
uname -a
Linux pvr 3.3.8-desktop586-2.mga2 #1 SMP Mon Jul 30 21:35:45 UTC 2012 i686 i686
i386 GNU/Linux

(All packages installed via RPM)

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-mageia-linux-gnu/4.6.3/lto-wrapper
Target: i586-mageia-linux-gnu
Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib
--with-slibdir=/lib --with-bugurl=http://bugs.mageia.org/
--mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release
--enable-languages=c,c++,ada,fortran,objc,obj-c++,java --enable-linker-build-id
--build=i586-mageia-linux-gnu --host=i586-mageia-linux-gnu --with-cpu=generic
--with-system-zlib --enable-threads=posix --enable-shared --enable-objc-gc
--enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-clocale=gnu --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-gtk-cairo
--disable-libjava-multilib --enable-ssp --disable-libssp --disable-werror
--with-ppl --with-cloog --with-python-dir=/lib/python2.7/site-packages
--enable-lto
Thread model: posix
gcc version 4.6.3 (GCC)


vim gdbcommands

handle SIGPIPE nostop noprint
handle SIG33 nostop noprint
set logging on
set pagination off
set breakpoint pending on
break qFatal
set args -l myth.log -v record,channel,siparser
run
thread apply all bt full
set logging off


Just run "mythtv-setup"
Run it as a user, run it as root - makes no difference.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/14677] Mythtv-setup Segfaults
  2012-10-06 17:07 [Bug gdb/14677] New: Mythtv-setup Segfaults madams9 at gmail dot com
@ 2012-10-06 23:33 ` madams9 at gmail dot com
  2012-10-08 18:27 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: madams9 at gmail dot com @ 2012-10-06 23:33 UTC (permalink / raw)
  To: gdb-prs


http://sourceware.org/bugzilla/show_bug.cgi?id=14677

--- Comment #1 from Mark Adams <madams9 at gmail dot com> 2012-10-06 23:33:43 UTC ---
Okay, this should have probably been filed at bugs.mageia.com.

So, nevermind and thanks for the space.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/14677] Mythtv-setup Segfaults
  2012-10-06 17:07 [Bug gdb/14677] New: Mythtv-setup Segfaults madams9 at gmail dot com
  2012-10-06 23:33 ` [Bug gdb/14677] " madams9 at gmail dot com
@ 2012-10-08 18:27 ` tromey at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: tromey at redhat dot com @ 2012-10-08 18:27 UTC (permalink / raw)
  To: gdb-prs


http://sourceware.org/bugzilla/show_bug.cgi?id=14677

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tromey at redhat dot com
         Resolution|                            |INVALID

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-10-08 18:27:23 UTC ---
Reported as invalid.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-08 18:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-06 17:07 [Bug gdb/14677] New: Mythtv-setup Segfaults madams9 at gmail dot com
2012-10-06 23:33 ` [Bug gdb/14677] " madams9 at gmail dot com
2012-10-08 18:27 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).