All pastes #415659 Raw Edit

Stuff

public text v1 · immutable
#415659 ·published 2007-03-29 19:48 UTC
rendered paste body
Using username "avberk".
[avberk@meester root]$ ps
  PID  Uid     VmSize Stat Command
    1 avberk      504 S   /sbin/init
    2 avberk          SW  [keventd]
    3 avberk          SWN [ksoftirqd_CPU0]
    4 avberk          SW  [kswapd]
    5 avberk          SW  [bdflush]
    6 avberk          SW  [kupdated]
    7 avberk          SW  [mtdblockd]
   46 avberk      344 S   httpd
   51 avberk      352 S   syslogd -m 0 -O /tmp/syslog.log -S -l 7
   52 avberk      324 S   klogd
   53 avberk          SW  [khubd]
   66 avberk          SW  [usb-storage-0]
   67 avberk          SW  [scsi_eh_0]
   69 avberk      452 S   watchdog
   71 avberk      340 S   ntp
   77 avberk          SW  [kjournald]
   83 avberk      392 S   dropbear
   89 avberk      688 S   dropbear
   90 avberk      508 S   -sh
   94 avberk      728 R   dropbear
   95 avberk      540 S   -sh
   98 avberk      404 R   ps
[avberk@meester root]$ ulimit -c
0
[avberk@meester root]$ ulimit -c unlimited
[avberk@meester root]$ ulimit -c unlimited
[avberk@meester root]$ ulimit -c unlimited
[avberk@meester root]$ export HOME=$PWD
[avberk@meester root]$ gdb /opt/bin/mediatomb
GNU gdb 6.5
Copyright (C) 2006 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 "mipsel-linux-uclibc"...Using host libthread_db libra                                             ry "/opt/lib/libthread_db.so.1".

(gdb) run
Starting program: /opt/bin/mediatomb
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error
warning: Cannot initialize thread debugging library: generic error

  Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens.

MediaTomb UPnP Server version 0.9.0-pre - http://mediatomb.cc/

===============================================================================
Copyright 2005-2007 Gena Batsyan, Sergey Bostandzhyan, Leonhard Wimmer.
MediaTomb is free software, covered by the GNU General Public License version 2

2007-03-29 21:43:07    INFO: Loading configuration from: /tmp/local/root/.mediat                                             omb/config.xml
2007-03-29 21:43:08    INFO: Checking configuration...
2007-03-29 21:43:09    INFO: Config: option not found: /server/servedir using de                                             fault value:
2007-03-29 21:43:09    INFO: Config: option not found: /server/ui/attribute::pol                                             l-when-idle using default value: no
2007-03-29 21:43:09    INFO: Config: option not found: /server/ui/attribute::pol                                             l-interval using default value: 2
2007-03-29 21:43:09    INFO: Config: option not found: /server/ui/items-per-page                                             /attribute::default using default value: 25
2007-03-29 21:43:09    INFO: Config: option not found: /import/filesystem-charse                                             t using default value: ASCII
2007-03-29 21:43:10    INFO: Setting filesystem import charset to ASCII
2007-03-29 21:43:10    INFO: Config: option not found: /import/metadata-charset                                              using default value: ASCII
2007-03-29 21:43:10    INFO: Setting metadata import charset to ASCII
2007-03-29 21:43:10    INFO: Config: option not found: /server/ip using default                                              value:
2007-03-29 21:43:10    INFO: Config: option not found: /server/bookmark using de                                             fault value: mediatomb.html
2007-03-29 21:43:10    INFO: Config: option not found: /server/model using defau                                             lt value: MediaTomb
2007-03-29 21:43:10    INFO: Config: option not found: /server/manufacturerURL u                                             sing default value: http://mediatomb.cc/
2007-03-29 21:43:10    INFO: Config: option not found: /server/presentationURL u                                             sing default value:
2007-03-29 21:43:10    INFO: Config: option not found: /server/presentationURL/a                                             ttribute::append-to using default value: none
2007-03-29 21:43:10    INFO: Config: option not found: /server/upnp-string-limit                                              using default value: -1
2007-03-29 21:43:10    INFO: Config: option not found: /import/virtual-layout/at                                             tribute::type using default value: builtin
2007-03-29 21:43:10    INFO: Config: option not found: /import/virtual-layout/sc                                             ript/attribute::charset using default value: UTF-8
2007-03-29 21:43:11    INFO: Config: option not found: /import/virtual-layout/sc                                             ript using default value: /opt/share/mediatomb/js/import.js
2007-03-29 21:43:11    INFO: Config: option not found: /server/port using defaul                                             t value: 0
2007-03-29 21:43:11    INFO: Config: option not found: /server/alive using defau                                             lt value: 180
2007-03-29 21:43:11    INFO: Config: option not found: /import/autoscan using de                                             fault value:
2007-03-29 21:43:11    INFO: Config: option not found: /server/custom-http-heade                                             rs using default value:
2007-03-29 21:43:11    INFO: Config: option not found: /import/library-options/l                                             ibexif/auxdata using default value:
2007-03-29 21:43:11    INFO: Config: option not found: /import/magic-file using                                              default value:
2007-03-29 21:43:11    INFO: Configuration check succeeded.
2007-03-29 21:43:12    INFO: Config: option not found: /server/ip using default                                              value:

Program received signal SIG32, Real-time event 32.
0x2ae27224 in __rt_sigsuspend () from /opt/lib/libc.so.0
(gdb) set heuristic-fence-post 30000
(gdb) where full
#0  0x2ae27224 in __rt_sigsuspend () from /opt/lib/libc.so.0
No symbol table info available.
#1  0x2ad3d54c in __pthread_wait_for_restart_signal ()
   from /opt/lib/libpthread.so.0
No symbol table info available.
#2  0x2ad3de98 in pthread_create () from /opt/lib/libpthread.so.0
No symbol table info available.
#3  0x00497394 in Sqlite3Storage::init (this=0x2b36bfb8)
    at ../src/storage/sqlite3/sqlite3_storage.cc:84
        dbVersion = {base = 0x419860}
        __func__ = "init"
#4  0x0048f70c in Storage::getInstance () at ../src/storage.cc:63
        tmpInstance = {_ptr = 0x2b36bfb8}
        __func__ = "getInstance"
#5  0x0047f1e4 in Server::upnp_init (this=0x2b369fbc, ip=@0x7fff79a8, port=0)
    at ../src/server.cc:126
        ret = <value optimized out>
        config = {_ptr = 0x2b01cfdc}
        cb = <value optimized out>
        web_root = {base = 0x2b01cfe4}
        headers = {_ptr = 0x2b01cfe4}
        presentationURL = {base = 0x2b01cfdc}
        device_description = {base = 0x10008d30}
---Type <return> to continue, or q <return> to quit---
        __func__ = "upnp_init"
#6  0x0041a970 in main (argc=1, argv=0x7fff7e44, envp=<value optimized out>)
    at ../src/main.cc:397
        h = <value optimized out>
        ip = 0x0
        err = 0x0
        port = -1
        daemon = false
        action = {sa_flags = 0, __sigaction_handler = {
    sa_handler = 0x4199f0 <signal_handler(int)>,
    sa_sigaction = 0x4199f0 <signal_handler(int)>}, sa_mask = {__val = {
      4294967295 <repeats 32 times>}}, sa_restorer = 0, sa_resv = {0}}
        mask_set = {__val = {4294967295 <repeats 32 times>}}
        pwd = <value optimized out>
        grp = <value optimized out>
        opt_index = 0
        o = <value optimized out>
        config_file = {base = 0x0}
        home = {base = 0x2b016fd4}
        user = {base = 0x0}
        group = {base = 0x0}
        pid_file = {base = 0x0}
        singletonManager = {_ptr = 0x2b42bfdc}
---Type <return> to continue, or q <return> to quit---
        long_options = {{name = 0x57f888 "ip", has_arg = 1, flag = 0x0,
    val = 105}, {name = 0x57fb8c "port", has_arg = 1, flag = 0x0, val = 112}, {
    name = 0x57e994 "config", has_arg = 1, flag = 0x0, val = 99}, {
    name = 0x57e99c "user", has_arg = 1, flag = 0x0, val = 117}, {
    name = 0x57e9a4 "group", has_arg = 1, flag = 0x0, val = 103}, {
    name = 0x57e9ac "daemon", has_arg = 0, flag = 0x0, val = 100}, {
    name = 0x57e9b4 "pidfile", has_arg = 1, flag = 0x0, val = 80}, {
    name = 0x57e9bc "add", has_arg = 1, flag = 0x0, val = 97}, {
    name = 0x57e9c0 "logfile", has_arg = 1, flag = 0x0, val = 108}, {
    name = 0x57e9c8 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x0,
    has_arg = 0, flag = 0x0, val = 0}}
(gdb)