20060313 segfault on start …

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #205
    eddieb
    Participant

    builded 20060313 on OSX with sqlite3 and all is fine,
    tried the same on linux (YDL on PPC)


    #mt-daapd -d 9 -f
    Loading new config file.
    Starting with debuglevel 9
    Starting rendezvous daemon
    get_ifi_info
    intf 268780188 name=lo AF=2, flags=00000002
    intf 268780188 name=br0 AF=2, flags=00000002
    intf 268780188 name=br0:0 AF=2, flags=00000002
    intf 268780188 name=tap1 AF=2, flags=00000002
    SetupInterfaceList
    mDNS_RegisterInterface: InterfaceID 100597F8 192.168.0.242 not represented in list; marking active and retriggering queries
    Adding 10059808 home.local. (Addr) to active record list
    Adding 10059AB4 242.0.168.192.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetupOneInterface: br0 192.168.0.242 Registered
    SetupOneInterface: br0 192.168.0.243 is an alias of 192.168.0.242
    mDNS_RegisterInterface: InterfaceID 100597F8 192.168.0.243 already represented in list; marking inactive for now
    Adding 1005B430 home.local. (Addr) to active record list
    Adding 1005B6DC 243.0.168.192.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetupOneInterface: br0 192.168.0.243 Registered
    mDNS_RegisterInterface: InterfaceID 1005BC70 172.28.1.200 not represented in list; marking active and retriggering queries
    Adding 1005BC80 home.local. (Addr) to active record list
    Adding 1005BF2C 200.1.28.172.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetupOneInterface: tap1 172.28.1.200 Registered
    Segmentation fault

    last piece of the strace …


    open("/lib/libdl.so.2", O_RDONLY) = 3
    read(3, "177ELF121324117344"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=22984, ...}) = 0
    mmap(0xfe40000, 76444, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xfe40000
    mprotect(0xfe43000, 64156, PROT_NONE) = 0
    mmap(0xfe50000, 12288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xfe50000
    close(3) = 0
    open("/lib/libresolv.so.2", O_RDONLY) = 3
    read(3, "177ELF121324117300"..., 512) = 512
    fstat64(3, {st_mode=S_IFREG|0755, st_size=90172, ...}) = 0
    mmap(0xfc00000, 148496, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x30185000
    mprotect(0x30197000, 74768, PROT_NONE) = 0
    mmap(0x301a5000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0x301a5000
    mmap(0x301a7000, 9232, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x301a7000
    close(3) = 0
    munmap(0x30001000, 112975) = 0
    rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
    rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0
    geteuid() = 0
    futex(0xfbb2b38, FUTEX_WAKE, 2147483647) = 0
    stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++

    # ll -d /var/tmp
    drwxrwxrwt 2 root root 4096 Mar 19 21:20 /var/tmp

    huh ???
    suggestions ???

    Eddie

    #4116
    rpedde
    Participant

    /var/tmp? Is that your db_dir?

    If so, make sure it’s writable. And you’ll probably have better luck with sqlite2 than sqlite3, unless you are using sqlite3 < 3.3.0. — Ron

    #4117
    eddieb
    Participant

    No, /var/tmp is not my db dir, it is /var/cache/mt-daapd
    And that is writable …

    I rebuilded with sqlite2 and got exactly the same error …

    🙁

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.