You are here: Home » Topic » 20060319 segfault on startup

20060319 segfault on startup

This topic contains 1 reply, has 1 voice, and was last updated by  rpedde 11 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #210

    rick

    Fedora Core 5 i386
    mt-daapd 20060319

    Upgraded from fc4 to fc5 and the 3/19 nightly started crashing. I recompiled in fc5 and continue to see the same.

    $ gdb /usr/local/sbin/mt-daapd
    GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
    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-redhat-linux-gnu”…Using host libthread_db library “/lib/libthread_db.so.1”.

    (gdb) r -f
    Starting program: /usr/local/sbin/mt-daapd -f
    Reading symbols from shared object read from target memory…done.
    Loaded system supplied DSO at 0x59a000
    [Thread debugging using libthread_db enabled]
    [New Thread -1208064336 (LWP 31500)]
    Starting with debuglevel 1
    Starting rendezvous daemon
    Detaching after fork from child process 31503.
    Starting signal handler
    [New Thread -1208067168 (LWP 31504)]
    [New Thread -1218557024 (LWP 31505)]
    Can’t get db version. New database?
    Initializing database

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1208064336 (LWP 31500)]
    db_sql_fetch_row (pe=0x0, row=0xbfaf04c4, fmt=0x807f59d “%s”) at db-sql.c:186
    186 DPRINTF(E_SPAM,L_DB,”Error: enum_fetch failed: %sn”,*pe);
    (gdb)
    (gdb)
    (gdb) bt
    #0 db_sql_fetch_row (pe=0x0, row=0xbfaf04c4, fmt=0x807f59d “%s”) at db-sql.c:186
    #1 0x08077355 in db_sql_fetch_int (pe=0x0, result=0xbfaf0524, fmt=0x8086037 “select count(*) FROM %q”) at db-sql.c:211
    #2 0x08077414 in db_sql_get_count (pe=0x0, count=0xbfaf0524, type=countSongs) at db-sql.c:1792
    #3 0x080791d8 in db_sql_init (reload=0) at db-sql.c:312
    #4 0x0804ae83 in main (argc=Cannot access memory at address 0x0
    ) at main.c:347
    (gdb)

    #4128

    rpedde
    Participant

    Fixed in svn, try sqlite2 over sqlite3, or wait for next nightly.

    — Ron

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.