Opened 12 years ago

Closed 11 years ago

#5267 closed defect (invalid)

Some issues I had when doing the setup again

Reported by: udovdh@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Some issues I had when doing the setup again

Attachments (1)

mythconfiglog.txt (25.5 KB) - added by udovdh@… 12 years ago.
config session logging

Download all attachments as: .zip

Change History (15)

Changed 12 years ago by udovdh@…

Attachment: mythconfiglog.txt added

config session logging

comment:1 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned

looks like we're trying to fix a legacy DB table which hasn't been created yet..

comment:2 Changed 12 years ago by sphery <mtdean@…>

If there is an issue (and I couldn't duplicate it--see other ticket), it's probably a dup of #5250.

comment:3 Changed 12 years ago by udovdh@…

Yes and no. Yes it has the same fults but with more info and *also* other issues I encountered.

comment:4 Changed 12 years ago by danielk

(In [17160]) Refs #5267. Fixes two chicken and egg problems with DB initialization.

The first is not to do the datadirect programid update if the DB is empty. This didn't do any harm, but caused some error messages to be logged. The second is not to do the database backup on an empty database, since it will fail to find settings and housekeeping tables.

There are some other problems running mythtv-setup to initialize the database, but these seem to be Qt4 port related. svn commit -m Refs

comment:5 Changed 12 years ago by danielk

The end of that commit message got messed up, it should read: "This also skips printing a 'would you like to upgrade the schema' message on empty databases." not "svn commit -m Refs"

comment:6 Changed 12 years ago by danielk

Status: assignedinfoneeded

udovdh, I need a backtrace to fix your other problem, the segfault. See TicketHowTo.

comment:7 Changed 12 years ago by Nigel

(In [17165]) Also test for DBSchemaVer of 0, which some users' setups are returning. See #5250, #5267

comment:8 Changed 12 years ago by Nigel

(In [17166]) Also test for DBSchemaVer of 0, which some users' setups are returning. See #5250, #5267

comment:9 Changed 12 years ago by udovdh@…

Which segfault exatcly? The qt4 one? This is 21-fixes so no qt4 but qt 3.3 AFAIK.

comment:10 Changed 12 years ago by anonymous

I assume Daniel meant the one at line 118 of your log:

Table 'mythconverg.settings' doesn't exist

2008-04-28 16:05:25.795 Couldn't upgrade database to new schema.

Here the setup crashed! Database connection is OK:

Hopefully, the original issue (not upgrading database) has now been fixed on 0-21-fixes and trunk.

comment:11 Changed 12 years ago by anonymous

So I try without rebuilding software (and provide bt) and then with latest 21-fixes to confirm?

comment:12 Changed 12 years ago by danielk

I didn't fix any segfaults, and I meant where you said "Here the setup crashed!" ... You only have to rebuild if the version you are running doesn't have debugging symbols.

comment:13 Changed 12 years ago by udovdh@…

I stalled the mythtv debuginfo rpm. I backed up my database, dropped the database, used mc.sql to recreate the empty dB and ran mythtv-setup from gdb. I got complaints about no debuginfo in the debug files so I dunno of there's enough info. Here's the trace:

(gdb) bt #0 0xb7f9c430 in kernel_vsyscall () #1 0x498a2690 in raise () from /lib/libc.so.6 #2 0x498a3f91 in abort () from /lib/libc.so.6 #3 0x4989b93e in assert_fail () from /lib/libc.so.6 #4 0xb6f901ae in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#5 0xb6f6b7dd in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#6 0xb6f6b8c6 in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#7 0xb6f6b65b in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#8 0xb6f2b2f0 in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#9 0xb6f20a80 in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#10 0xb6f2046e in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#11 0xb6f205d6 in ComboBoxSetting::qt_property ()

from /usr/lib/dri/unichrome_dri.so

#12 0x4fcaacc0 in ComboBoxSetting::qt_property () from /usr/lib/libGL.so.1 #13 0x4fcab0e8 in glXCreateContext () from /usr/lib/libGL.so.1 #14 0x482492d5 in QGLContext::chooseContext () #15 0x48243d59 in QGLContext::create () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #16 0x48249cc6 in QGLWidget::setContext ()

from /usr/lib/qt-3.3/lib/libqt-mt.so.3

#17 0x4824adff in QGLWidget::init () from /usr/lib/qt-3.3/lib/libqt-mt.so.3 #18 0x48245ef1 in QGLWidget::QGLWidget$base ()

from /usr/lib/qt-3.3/lib/libqt-mt.so.3

#19 0x4206ace3 in MythMainWindow::MythMainWindow? ()

from /usr/lib/libmythui-0.21.so.0

#20 0x4206d83e in MythMainWindow::getMainWindow ()

from /usr/lib/libmythui-0.21.so.0

#21 0x4206d8ed in GetMythMainWindow? () from /usr/lib/libmythui-0.21.so.0 #22 0x080654ab in main () #23 0x4988f390 in libc_start_main () from /lib/libc.so.6 #24 0x08051bf1 in _start ()

comment:14 Changed 11 years ago by danielk

Resolution: invalid
Status: infoneededclosed

this looks like a problem somewhere in unichrome or Qt

Note: See TracTickets for help on using tickets.