On Sat, Oct 08, 2011 at 18:08:22 +0200, LEVAI Daniel wrote:
> On Sat, Oct 08, 2011 at 08:00:35 +0400, Vadim Zhukov wrote:
> [...]
> > Looks like it's not the first time Clementine fails on database update: 
> > http://code.google.com/p/clementine-player/issues/detail?id=2127
> > 
> > What version did you have before update? Could you provide a backtrace?
> 
> It was 0.5.x (.3 maybe), but I've deleted the config directory and the
> trace file as soon as it happened :\
> I'll try to restore the config directory (and thus the db) from an old
> backup, but I can't promise anything.

I've managed to restore my old Clementine configs and database, so I've
attached the backtrace for the segfault which happens when starting this
new version of Clementine with the old version database. The old version
remains a mistery, but I think it was 0.5.3.


HTH,
Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F
$ gdb /usr/local/bin/clementine clementine.core
GNU gdb 6.3
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 "i386-unknown-openbsd5.0"...
Core was generated by `clementine'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libpthread.so.13.1...done.
Loaded symbols for /usr/lib/libpthread.so.13.1
Reading symbols from /usr/local/lib/libswmhack.so.0.0...done.
Loaded symbols for /usr/local/lib/libswmhack.so.0.0
Reading symbols from /usr/local/lib/libGLEW.so.3.0...done.
Loaded symbols for /usr/local/lib/libGLEW.so.3.0
Reading symbols from /usr/X11R6/lib/libGLU.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libGLU.so.7.0
Reading symbols from /usr/X11R6/lib/libGL.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libGL.so.10.0
Reading symbols from /usr/X11R6/lib/libSM.so.8.0...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.8.0
Reading symbols from /usr/X11R6/lib/libICE.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.9.0
Reading symbols from /usr/X11R6/lib/libXext.so.12.0...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.12.0
Reading symbols from /usr/local/lib/libgobject-2.0.so.2992.0...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.2992.0
Reading symbols from /usr/local/lib/libgthread-2.0.so.2992.0...done.
Loaded symbols for /usr/local/lib/libgthread-2.0.so.2992.0
Reading symbols from /usr/local/lib/libglib-2.0.so.2992.0...done.
Loaded symbols for /usr/local/lib/libglib-2.0.so.2992.0
Reading symbols from /usr/local/lib/libintl.so.5.0...done.
Loaded symbols for /usr/local/lib/libintl.so.5.0
Reading symbols from /usr/local/lib/libiconv.so.6.0...done.
Loaded symbols for /usr/local/lib/libiconv.so.6.0
Reading symbols from /usr/local/lib/libtag.so.8.0...done.
Loaded symbols for /usr/local/lib/libtag.so.8.0
Reading symbols from /usr/local/lib/libgstbase-0.10.so.2.4...done.
Loaded symbols for /usr/local/lib/libgstbase-0.10.so.2.4
Reading symbols from /usr/local/lib/libgstreamer-0.10.so.2.4...done.
Loaded symbols for /usr/local/lib/libgstreamer-0.10.so.2.4
Reading symbols from /usr/local/lib/libgmodule-2.0.so.2992.0...done.
Loaded symbols for /usr/local/lib/libgmodule-2.0.so.2992.0
Reading symbols from /usr/local/lib/libxml2.so.12.0...done.
Loaded symbols for /usr/local/lib/libxml2.so.12.0
Reading symbols from /usr/lib/libz.so.4.1...done.
Loaded symbols for /usr/lib/libz.so.4.1
Reading symbols from /usr/local/lib/liblastfm.so.0.3...done.
Loaded symbols for /usr/local/lib/liblastfm.so.0.3
Reading symbols from /usr/local/lib/libgio-2.0.so.2992.0...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.2992.0
Reading symbols from /usr/local/lib/libmtp.so.4.0...done.
Loaded symbols for /usr/local/lib/libmtp.so.4.0
Reading symbols from /usr/local/lib/libusb.so.9.0...done.
Loaded symbols for /usr/local/lib/libusb.so.9.0
Reading symbols from /usr/local/lib/qt4/libQtOpenGL.so.7.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtOpenGL.so.7.0
Reading symbols from /usr/local/lib/qt4/libQtWebKit.so.2.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtWebKit.so.2.0
Reading symbols from /usr/local/lib/qt4/libQtGui.so.10.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtGui.so.10.0
Reading symbols from /usr/local/lib/qt4/libQtDBus.so.2.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtDBus.so.2.0
Reading symbols from /usr/local/lib/qt4/libQtXml.so.8.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtXml.so.8.0
Reading symbols from /usr/local/lib/qt4/libQtSql.so.8.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtSql.so.8.0
Reading symbols from /usr/local/lib/qt4/libQtXmlPatterns.so.0.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtXmlPatterns.so.0.0
Reading symbols from /usr/local/lib/qt4/libQtNetwork.so.9.1...done.
Loaded symbols for /usr/local/lib/qt4/libQtNetwork.so.9.1
Reading symbols from /usr/local/lib/qt4/libQtCore.so.9.0...done.
Loaded symbols for /usr/local/lib/qt4/libQtCore.so.9.0
Reading symbols from /usr/X11R6/lib/libX11.so.15.0...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.15.0
Reading symbols from /usr/lib/libstdc++.so.52.0...done.
Loaded symbols for /usr/lib/libstdc++.so.52.0
Reading symbols from /usr/lib/libm.so.7.0...done.
Loaded symbols for /usr/lib/libm.so.7.0
Symbols already loaded for /usr/lib/libpthread.so.13.1
Reading symbols from /usr/lib/libc.so.60.1...done.
Loaded symbols for /usr/lib/libc.so.60.1
Reading symbols from /usr/X11R6/lib/libXmu.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.10.0
Reading symbols from /usr/X11R6/lib/libXi.so.11.0...done.
Loaded symbols for /usr/X11R6/lib/libXi.so.11.0
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.5.0
Reading symbols from /usr/X11R6/lib/libXdamage.so.3.1...done.
Loaded symbols for /usr/X11R6/lib/libXdamage.so.3.1
Reading symbols from /usr/X11R6/lib/libXfixes.so.5.1...done.
Loaded symbols for /usr/X11R6/lib/libXfixes.so.5.1
Reading symbols from /usr/X11R6/lib/libdrm.so.2.6...done.
Loaded symbols for /usr/X11R6/lib/libdrm.so.2.6
Reading symbols from /usr/X11R6/lib/libxcb.so.2.2...done.
Loaded symbols for /usr/X11R6/lib/libxcb.so.2.2
Reading symbols from /usr/local/lib/libpcre.so.2.5...done.
Loaded symbols for /usr/local/lib/libpcre.so.2.5
Reading symbols from /usr/local/lib/libffi.so.0.0...done.
Loaded symbols for /usr/local/lib/libffi.so.0.0
Reading symbols from /usr/X11R6/lib/libfreetype.so.18.0...done.
Loaded symbols for /usr/X11R6/lib/libfreetype.so.18.0
Reading symbols from /usr/X11R6/lib/libXrender.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.5.0
Reading symbols from /usr/X11R6/lib/libXinerama.so.5.0...done.
Loaded symbols for /usr/X11R6/lib/libXinerama.so.5.0
Reading symbols from /usr/X11R6/lib/libfontconfig.so.7.0...done.
Loaded symbols for /usr/X11R6/lib/libfontconfig.so.7.0
Reading symbols from /usr/lib/libexpat.so.9.0...done.
Loaded symbols for /usr/lib/libexpat.so.9.0
Reading symbols from /usr/local/lib/libsqlite3.so.15.1...done.
Loaded symbols for /usr/local/lib/libsqlite3.so.15.1
Reading symbols from /usr/local/lib/libphonon.so.4.1...done.
Loaded symbols for /usr/local/lib/libphonon.so.4.1
Reading symbols from /usr/local/lib/libpng.so.12.1...done.
Loaded symbols for /usr/local/lib/libpng.so.12.1
Reading symbols from /usr/X11R6/lib/libXt.so.10.1...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.10.1
Reading symbols from /usr/X11R6/lib/libpthread-stubs.so.1.0...done.
Loaded symbols for /usr/X11R6/lib/libpthread-stubs.so.1.0
Reading symbols from /usr/X11R6/lib/libXau.so.9.0...done.
Loaded symbols for /usr/X11R6/lib/libXau.so.9.0
Reading symbols from /usr/X11R6/lib/libXdmcp.so.10.0...done.
Loaded symbols for /usr/X11R6/lib/libXdmcp.so.10.0
Reading symbols from /usr/libexec/ld.so...done.
Loaded symbols for /usr/libexec/ld.so
Reading symbols from /usr/X11R6/lib/libXrandr.so.6.1...done.
Loaded symbols for /usr/X11R6/lib/libXrandr.so.6.1
Reading symbols from /usr/X11R6/lib/libXcursor.so.4.0...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.4.0
#0  0x01f0389d in kill () at qfuturewatcher.h:60
60      {
(gdb) list
55      
56      class QEvent;
57      
58      class QFutureWatcherBasePrivate;
59      class Q_CORE_EXPORT QFutureWatcherBase : public QObject
60      {
61          Q_OBJECT
62          Q_DECLARE_PRIVATE(QFutureWatcherBase)
63      
64      public:
(gdb) frame 
#0  0x01f0389d in kill () at qfuturewatcher.h:60
60      {
(gdb) bt
#0  0x01f0389d in kill () at qfuturewatcher.h:60
#1  0x01f6a085 in abort () at qfuturewatcher.h:60
#2  0x0e6de1b9 in qt_message_output () at qfuturewatcher.h:60
#3  0x0e6de3f3 in qt_message_output () at qfuturewatcher.h:60
#4  0x0e6de4f9 in qFatal () at qfuturewatcher.h:60
#5  0x1c053a68 in Database::ExecCommands (this=0x85128640, schema=@0x8578ccec, 
db=@0x8578cf54)
    at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:541
#6  0x1c0540b3 in Database::ExecFromFile (this=0x85128640, 
filename=@0x8578cd44, db=@0x8578cf54)
    at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:519
#7  0x1c0541d8 in Database::UpdateDatabaseSchema (this=0x85128640, version=18, 
db=@0x8578cf54)
    at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:510
#8  0x1c0543d6 in Database::UpdateMainSchema (this=0x85128640, db=0x8578cf54) 
at /usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:465
#9  0x1c055504 in Database::Connect (this=0x85128640) at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:430
#10 0x1c055fd0 in Database (this=0x85128640, parent=0x0, 
database_name=@0x8578cfa8) at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:344
#11 0x1c04b34a in BackgroundThreadImplementation<Database, Database>::run 
(this=0x87da93c0) at backgroundthread.h:168
#12 0x0e6e87e4 in QThreadPrivate::start () at qfuturewatcher.h:60
#13 0x0e07c72e in _thread_start () at qfuturewatcher.h:60
#14 0x0000002b in ~RunFunctionTaskBase (this=Cannot access memory at address 0x7
) at qfutureinterface.h:161
Previous frame inner to this frame (corrupt stack?)
(gdb) bt full
#0  0x01f0389d in kill () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#1  0x01f6a085 in abort () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#2  0x0e6de1b9 in qt_message_output () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#3  0x0e6de3f3 in qt_message_output () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#4  0x0e6de4f9 in qFatal () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#5  0x1c053a68 in Database::ExecCommands (this=0x85128640, schema=@0x8578ccec, 
db=@0x8578cf54)
    at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:541
        new_command = {static null = {<No data fields>}, static shared_null = 
{ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x3c487262, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 
0, array = {0}}, static shared_empty = {ref = {_q_value = 4}, alloc = 0, size = 
0, 
    data = 0x2e730bca, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 
0, capacity = 0, reserved = 0, array = {0}}, d = 0x86c94800, 
  static codecForCStrings = 0x0}
        query = {d = 0x7cc68f20}
        commands = {<QList<QString>> = {{p = {static shared_null = {ref = 
{_q_value = 117}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
        d = 0x7c94d9c0}, d = 0x7c94d9c0}}, <No data fields>}
        tables = {<QList<QString>> = {{p = {static shared_null = {ref = 
{_q_value = 117}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, 
        d = 0x7d3bfea0}, d = 0x7d3bfea0}}, <No data fields>}
#6  0x1c0540b3 in Database::ExecFromFile (this=0x85128640, 
filename=@0x8578cd44, db=@0x8578cf54)
    at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:519
        schema_file = {<QIODevice> = {<QObject> = {_vptr$QObject = 0x2e7361e8, 
static staticMetaObject = {d = {superdata = 0x0, stringdata = 0x2e6a5380 
"QObject", 
          data = 0x2e6a5420, extradata = 0x2e732114}}, d_ptr = {d = 
0x86196100}, static staticQtMetaObject = {d = {superdata = 0x0, stringdata = 
0x2e718960 "Qt", 
          data = 0x2e71c200, extradata = 0x0}}}, static staticMetaObject = {d = 
{superdata = 0x3c487a50, stringdata = 0x2e721060 "QIODevice", data = 
0x2e7210c0, 
        extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 
0x3c4874a0, stringdata = 0x2e720fe0 "QFile", data = 0x2e721000, extradata = 
0x0}}}
#7  0x1c0541d8 in Database::UpdateDatabaseSchema (this=0x85128640, version=18, 
db=@0x8578cf54)
    at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:510
        filename = {static null = {<No data fields>}, static shared_null = {ref 
= {_q_value = 85}, alloc = 0, size = 0, data = 0x3c487262, clean = 0, 
simpletext = 0, 
    righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
static shared_empty = {ref = {_q_value = 4}, alloc = 0, size = 0, data = 
0x2e730bca, 
    clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, 
reserved = 0, array = {0}}, d = 0x854ed240, static codecForCStrings = 0x0}
        t = {<boost::noncopyable_::noncopyable> = {<No data fields>}, db_ = 
0x8578cf54, pending_ = true}
#8  0x1c0543d6 in Database::UpdateMainSchema (this=0x85128640, db=0x8578cf54) 
at /usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:465
        v = 18
        q = {d = 0x853a1e60}
        schema_version = 17
#9  0x1c055504 in Database::Connect (this=0x85128640) at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:430
        t = {<boost::noncopyable_::noncopyable> = {<No data fields>}, db_ = 
0x81f01800, pending_ = 24}
        q = {d = 0x853a1310}
        db = (QSqlDatabase &) @0x8578cf54: {static defaultConnection = 
0x2701d1c4 "qt_sql_default_connection", d = 0x85128cc0}
        connection_id = {static null = {<No data fields>}, static shared_null = 
{ref = {_q_value = 85}, alloc = 0, size = 0, data = 0x3c487262, clean = 0, 
    simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 
0, array = {0}}, static shared_empty = {ref = {_q_value = 4}, alloc = 0, size = 
0, 
    data = 0x2e730bca, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 
0, capacity = 0, reserved = 0, array = {0}}, d = 0x81f01c00, 
  static codecForCStrings = 0x0}
        set_fts_tokenizer = {d = 0x7cc68370}
#10 0x1c055fd0 in Database (this=0x85128640, parent=0x0, 
database_name=@0x8578cfa8) at 
/usr/ports/pobj/clementine-0.7.1/clementine-0.7.1/src/core/database.cpp:344
No locals.
#11 0x1c04b34a in BackgroundThreadImplementation<Database, Database>::run 
(this=0x87da93c0) at backgroundthread.h:168
No locals.
#12 0x0e6e87e4 in QThreadPrivate::start () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#13 0x0e07c72e in _thread_start () at qfuturewatcher.h:60
        __ioinit = {static _S_refcount = 325, static _S_synced_with_stdio = 
true}
#14 0x0000002b in ~RunFunctionTaskBase (this=Cannot access memory at address 0x7
) at qfutureinterface.h:161
---Type <return> to continue, or q <return> to quit---
No locals.

Reply via email to