Server Help

ASSS Questions - dead lock on starting zone

Anonymous - Thu Aug 11, 2011 1:06 am
Post subject: dead lock on starting zone
My zone has been running for 6 months.

Now all of a sudden I come home and its in a cycle of restarting the server with the script but dead locking on persist scoring.

I get nothing in the terminal, and I don't know what the backtrace even means, looks foreign to me..

Code: Show/Hide
[Thread debugging using libthread_db enabled]
[New Thread 0x7f7ddc79f700 (LWP 19138)]
[New Thread 0x7f7ddcfa0700 (LWP 19137)]
[New Thread 0x7f7ddd7a1700 (LWP 19136)]
[New Thread 0x7f7dddfa2700 (LWP 19135)]
[New Thread 0x7f7dde7a3700 (LWP 19134)]
[New Thread 0x7f7ddefa4700 (LWP 19133)]
[New Thread 0x7f7ddf7a5700 (LWP 19132)]
0x00007f7ddffadbe4 in __lll_lock_wait () from /lib/libpthread.so.0

Thread 8 (Thread 0x7f7ddf7a5700 (LWP 19132)):
#0  0x00007f7ddf8463ad in waitpid () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f7ddf7e4299 in ?? () from /lib/libc.so.6
No symbol table info available.
#2  0x00007f7ddf7e45d0 in system () from /lib/libc.so.6
No symbol table info available.
#3  0x0000000000460157 in handle_sigsegv (sig=6) at core/unixsignal.c:109
        cmd = "/bin/sh bin/backtrace bin/asss 19131 abrt", '\000' <repeats 86 times>
        type = 0x47f7c6 "abrt"
#4  <signal handler called>
No symbol table info available.
#5  0x00007f7ddf7d8165 in raise () from /lib/libc.so.6
No symbol table info available.
#6  0x00007f7ddf7daf70 in abort () from /lib/libc.so.6
No symbol table info available.
#7  0x000000000045fa35 in thread_check (dummy=0x0) at core/deadlock.c:35
        seen = 0
#8  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (Thread 0x7f7ddefa4700 (LWP 19133)):
#0  0x00007f7ddffab16c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x000000000040bf6d in MPRemove (q=0x696900) at main/util.c:1309
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0,
                8300318321377964717, 140178605412128, 0, 140178611888192, 3,
                8300318321390547629, -8229454223164018003},
              __mask_was_saved = 0}}, __pad = {0x7f7ddefa3f80, 0x0, 0x0, 0x0}}
        __cancel_routine = 0x7f7ddffaa510 <pthread_mutex_unlock>
        __cancel_arg = 0x696910
        not_first_call = 0
        data = 0x0
#2  0x00000000004153f9 in thread_main (dummy=0x0) at core/mainloop.c:156
        wd = 0x0
#3  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 0x7f7dde7a3700 (LWP 19134)):
#0  0x00007f7ddffab16c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x000000000040bf6d in MPRemove (q=0x696900) at main/util.c:1309
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0,
                8300317222403207853, 140178605412128, 0, 140178611888192, 3,
                8300317222415790765, -8229454223164018003},
              __mask_was_saved = 0}}, __pad = {0x7f7dde7a2f80, 0x0, 0x0, 0x0}}
        __cancel_routine = 0x7f7ddffaa510 <pthread_mutex_unlock>
        __cancel_arg = 0x696910
        not_first_call = 0
        data = 0x0
#2  0x00000000004153f9 in thread_main (dummy=0x0) at core/mainloop.c:156
        wd = 0x0
#3  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 0x7f7dddfa2700 (LWP 19135)):
#0  0x00007f7ddffab16c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x000000000040bf6d in MPRemove (q=0x696900) at main/util.c:1309
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0,
                8300311723234456237, 140178605412128, 0, 140178611888192, 3,
                8300311723247039149, -8229454223164018003},
              __mask_was_saved = 0}}, __pad = {0x7f7dddfa1f80, 0x0, 0x0, 0x0}}
        __cancel_routine = 0x7f7ddffaa510 <pthread_mutex_unlock>
        __cancel_arg = 0x696910
        not_first_call = 0
        data = 0x0
#2  0x00000000004153f9 in thread_main (dummy=0x0) at core/mainloop.c:156
        wd = 0x0
#3  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 4 (Thread 0x7f7ddd7a1700 (LWP 19136)):
#0  0x00007f7ddf86e8d3 in select () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000000417a9a in RecvThread (dummy=0x0) at core/net.c:1268
        tv = {tv_sec = 0, tv_usec = 778852}
        myfds = {fds_bits = {224, 0 <repeats 15 times>}}
        selfds = {fds_bits = {224, 0 <repeats 15 times>}}
        maxfd = 7
        l = 0x0
#2  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 0x7f7ddcfa0700 (LWP 19137)):
#0  0x00007f7ddf84678d in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f7ddf86f144 in usleep () from /lib/libc.so.6
No symbol table info available.
#2  0x0000000000418feb in SendThread (dummy=0x0) at core/net.c:1742
        conn = 0x0
        link = 0x0
        gtc = 307118263
        p = 0x0
        dropme = 0x0
        tofree = {start = 0x0, end = 0x0}
        tokill = {start = 0x0, end = 0x0}
#3  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 2 (Thread 0x7f7ddc79f700 (LWP 19138)):
#0  0x00007f7ddffab16c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
No symbol table info available.
#1  0x000000000040bf6d in MPRemove (q=0x6972c0) at main/util.c:1309
        __cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0,
                8300312847974822573, 140178605412128, 0, 140178611888192, 3,
                8300312847953851053, -8229454223164018003},
              __mask_was_saved = 0}}, __pad = {0x7f7ddc79ef80, 0x0, 0x0, 0x0}}
        __cancel_routine = 0x7f7ddffaa510 <pthread_mutex_unlock>
        __cancel_arg = 0x6972d0
        not_first_call = 0
        data = 0x0
#2  0x000000000041900e in RelThread (dummy=0x0) at core/net.c:1758
        conn = 0x0
        buf = 0x0
        spot = 0
#3  0x00007f7ddffa68ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4  0x00007f7ddf87502d in clone () from /lib/libc.so.6
No symbol table info available.
#5  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7f7de05cf700 (LWP 19131)):
#0  0x00007f7ddffadbe4 in __lll_lock_wait () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00007f7ddffa90e9 in _L_lock_953 () from /lib/libpthread.so.0
No symbol table info available.
#2  0x00007f7ddffa8f0b in pthread_mutex_lock () from /lib/libpthread.so.0
No symbol table info available.
#3  0x00007f7ddba404f3 in __db_pthread_mutex_lock () from /usr/lib/libdb-4.8.so
No symbol table info available.
#4  0x00007f7ddbad1dd0 in __lock_get_internal () from /usr/lib/libdb-4.8.so
No symbol table info available.
#5  0x00007f7ddbad2821 in __lock_get () from /usr/lib/libdb-4.8.so
No symbol table info available.
#6  0x00007f7ddbafe999 in __db_cursor () from /usr/lib/libdb-4.8.so
No symbol table info available.
#7  0x00007f7ddba4f7be in __bam_read_root () from /usr/lib/libdb-4.8.so
No symbol table info available.
#8  0x00007f7ddbb05d76 in __db_open () from /usr/lib/libdb-4.8.so
No symbol table info available.
#9  0x00007f7ddbafdf26 in __db_open_pp () from /usr/lib/libdb-4.8.so
No symbol table info available.
#10 0x00007f7ddbd96ba5 in init_db () at scoring/persist.c:939
        err = 0
#11 0x00007f7ddbd96cc1 in MM_persist (action=0, mm_=0x692600, arena=0x0)
    at scoring/persist.c:995
No locals.
#12 0x0000000000409487 in load_c_module (
    spec_=0x7fff39a93580 "scoring:persist", args=0x1a68b40) at main/cmod.c:178
        buf = "info_persist\000rivate_content/asss/bin/scoring.so\000g.so\000\177\000\000M\243\200\337}\177\000\000\"\222]\340}\177\000\000@%\251\071\377\177\000\000\000\000\000\000\000\000\000\000\200l@\000\001\000\000\000\260\067\251\071\377\177\000\000 \027\245\001\000\000\000\000@%\251\071\377\177\000\000\000\000\000\000\000\000\000\000\260\067\251\071\377\177\000\000\f\234@", '\000' <repeats 14 times>, "\001\000\000\000\000\000\000@%\251\071\377\177\000\000\200\065\251\071\377\177\000\000`5\251\071\377\177\000\000\240\344@", '\000' <repeats 18 times>, "\001\000\000\200\065\251\071\377\177\000\000 \026\245\001\000\000\000\000scoring:persist\000\000\000v"...
        spec = "scoring\000persist", '\000' <repeats 4080 times>
        modname = 0x7fff39a91468 "persist"
        filename = 0x7fff39a91460 "scoring"
        path = 0x7fff39a92460 "info_persist"
        ret = 0
        cmd = 0x1a68bb0
        lm = 0x692a00
#13 0x0000000000409702 in loader (action=0, args=0x1a68b40,
    line=0x7fff39a93580 "scoring:persist", arena=0x0) at main/cmod.c:228
        cmd = 0x0
#14 0x0000000000407b39 in LoadModule_ (spec=0x7fff39a93580 "scoring:persist")
    at main/module.c:208
        ret = 1
        mod = 0x1a68b40
        loadername = "c", '\000' <repeats 30 times>
        loader = 0x409692 <loader>
        t = 0x7fff39a93580 "scoring:persist"
#15 0x000000000040709f in LoadModuleFile (fname=0x460a08 "conf/modules.conf")
    at main/main.c:119
        line = "scoring:persist", '\000' <repeats 240 times>
        ret = 0
        ctx = 0x1a51620
#16 0x00000000004073f5 in main (argc=1, argv=0x7fff39a937b8) at main/main.c:272
        code = 0
A debugging session is active.

   Inferior 1 [process 19131] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]

Dr Brain - Thu Aug 11, 2011 8:07 am
Post subject:
Something is wrong with persist. Try moving the files in data/ somewhere else (like into data/corrupt/). This will remove player scores from the zone, though.

If you care about player scores, you can instead try to recover the data using db_recover. I don't know anything about this utility (other than its purpose), so you'll have to google it.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group