Changes between Version 1 and Version 3 of Ticket #7011


Ignore:
Timestamp:
Sep 18, 2009, 1:28:58 AM (11 years ago)
Author:
Nigel
Comment:

With a totally empty database, have reproduced (near enough) on Mac OS X:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x023bc180 in TriggeredConfigurationGroup::Save ()

and Linux:

2009-09-18 10:54:34.902 Driver error was [2/1146]:
QMYSQL3: Unable to prepare statement
Database error was:
Table 'mythconverg3.settings' doesn't exist

2009-09-18 10:54:34.903 DB Error (SimpleDBStorage::Save() query):
Query was:
SELECT * FROM settings WHERE value = ? AND hostname = ?;
Bindings were:
:WHEREHOSTNAME=macaque.ind.tansu.com.au, :WHEREVALUE=EndOfRecordingExitPrompt
No error type from QSqlError?  Strange...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1282136336 (LWP 18050)]
0xb66b0f8f in TriggeredConfigurationGroup::Save (this=0x82dd1e0) at mythconfiggroups.cpp:521
521             configStack->Save();
#0  0xb66b0f8f in TriggeredConfigurationGroup::Save (this=0x82dd1e0) at mythconfiggroups.cpp:521
#1  0xb66ab7ec in ConfigurationGroup::Save (this=0x8332a38) at mythconfiggroups.cpp:99
#2  0x080840cd in ConfigurationDialog::Save (this=0xbf87f744) at ../../libs/libmyth/mythconfigdialogs.h:111
#3  0x0807a6a8 in WriteDefaults () at main.cpp:640
#4  0x0807ecc5 in main (argc=1, argv=0xbf87fcb4) at main.cpp:1409

Interestingly, other programs that are supposedly not allowed to upgrade schema (like mythav and mythfilldatabase) do not exhibit the error, but they are also eventually populating the database, so there is also an error in the schema wizard logic?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7011

    • Property Severity changed from medium to high
    • Property Component changed from Ports - Windows to MythTV - General
    • Property Summary changed from segfault on startup of mythfrontend - win32 - backtrace attached. to segfault on startup of mythfrontend
  • Ticket #7011 – Description

    v1 v3  
    11using the standard mythfrontend.cmd file for debugging my mythfrontend.exe give me this backtrace on startup.  version is a newly downloaded 21709 ( ie current head).
    22{{{
    3 GNU gdb 6.8
    4 Copyright (C) 2008 Free Software Foundation, Inc.
    5 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    6 This is free software: you are free to change and redistribute it.
    7 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
    8 and "show warranty" for details.
    9 This GDB was configured as "i686-pc-mingw32"...
    10 [New thread 1628.0x82c]
    11 2009-09-08 10:54:52.596 mythfrontend version: trunk [21709] www.mythtv.org
    12 [New thread 1628.0x208]
    13 [New thread 1628.0x494]
    14 [New thread 1628.0x508]
    15 
    163Program received signal SIGSEGV, Segmentation fault.
    17 0x09666434 in TriggeredConfigurationGroup::Save (this=0xf12dbb0) at mythconfiggr
    18 oups.cpp:521
     40x09666434 in TriggeredConfigurationGroup::Save (this=0xf12dbb0) at mythconfiggroups.cpp:521
    195521             configStack->Save();
    206
    21 Thread 4 (thread 1628.0x508):
    22 #0  0x7c90e514 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll
    23 No symbol table info available.
    24 #1  0x7c90df4a in ntdll!ZwWaitForMultipleObjects () from C:\WINDOWS\system32\ntd
    25 ll.dll
    26 No symbol table info available.
    27 #2  0x7c809590 in KERNEL32!CreateFileMappingA () from C:\WINDOWS\system32\kernel
    28 32.dll
    29 No symbol table info available.
    30 #3  0x7c80a115 in WaitForMultipleObjects () from C:\WINDOWS\system32\kernel32.dl
    31 l
    32 No symbol table info available.
    33 #4  0x6a114bf4 in qt_adopted_thread_watcher_function () at thread/qthread_win.cp
    34 p:203
    35         handlesCopy = {{p = 0xf12ffb8, d = 0xf12ffb8}}
    36         ret = 258
    37         loops = 1
    38         offset = 0
    39         count = 2
    40         handleIndex = 0
    41 #5  0x77c3a243 in msvcrt!_endthread () from C:\WINDOWS\system32\msvcrt.dll
    42 No symbol table info available.
    43 #6  0x00000000 in ?? ()
    44 No symbol table info available.
    45 
    46 Thread 3 (thread 1628.0x494):
    47 #0  0x7c90e514 in ntdll!LdrAccessResource () from C:\WINDOWS\system32\ntdll.dll
    48 No symbol table info available.
    49 #1  0x7c90df5a in ntdll!ZwWaitForSingleObject () from C:\WINDOWS\system32\ntdll.
    50 dll
    51 No symbol table info available.
    52 #2  0x7c8025db in WaitForSingleObjectEx () from C:\WINDOWS\system32\kernel32.dll
    53 
    54 No symbol table info available.
    55 #3  0x00000528 in ?? ()
    56 No symbol table info available.
    57 #4  0x00000000 in ?? ()
    58 No symbol table info available.
     7...
    598
    609Thread 1 (thread 1628.0x82c):