[sheepdog-users] SIGABRT when doing: dog vdi check

Marcin Mirosław marcin at mejor.pl
Tue Jan 7 13:29:40 CET 2014


W dniu 07.01.2014 12:50, Liu Yuan pisze:
> On Tue, Jan 07, 2014 at 11:14:09AM +0100, Marcin Mirosław wrote:
>> W dniu 07.01.2014 11:05, Liu Yuan pisze:
>>> On Tue, Jan 07, 2014 at 10:51:18AM +0100, Marcin Mirosław wrote:
>>>> W dniu 07.01.2014 03:00, Liu Yuan pisze:
>>>>> On Mon, Jan 06, 2014 at 05:38:41PM +0100, Marcin Mirosław wrote:
>>>>>> W dniu 2014-01-06 08:27, Liu Yuan pisze:
>>>>>>> On Sat, Jan 04, 2014 at 04:13:27PM +0100, Marcin Mirosław wrote:
>>>>>>>> W dniu 2014-01-04 06:28, Liu Yuan pisze:
>>>>>>>>> On Fri, Jan 03, 2014 at 10:51:26PM +0100, Marcin Mirosław wrote:
>>>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> Hi all!
>>>>>>>>
>>>>>>>>>> I'm new on "sheep-run";) I'm starting to try sheepdog so probably
>>>>>>>>>> I'm doing many things wrongly. I'm playing with sheepdog-0.7.6.
>>>>>>>>>>
>>>>>>>>>> First problem (SIGABRT): I started multi sheep daemeon on
>>>>>>>>>> localhost: # for x in 0 1 2 3 4; do sheep -c local -j size=128M
>>>>>>>>>> -p 700$x /mnt/sheep/metadata/$x,/mnt/sheep/storage/$x; done
>>>>>>>>>>
>>>>>>>>>> Next: # dog cluster info Cluster status: Waiting for cluster to
>>>>>>>>>> be formatted
>>>>>>>>>>
>>>>>>>>>> # dog cluster format -c 2:1
>>>>>>>>>
>>>>>>>>> 0.7.6 doesn't support erasure code. Try latest master branch
>>>>>>>>
>>>>>>>> Now I'm on 486ace8ccbb [master]. How I should check choosen redundancy?
>>>>>>>>  # cat /mnt/test/vdi/list
>>>>>>>>    Name        Id    Size    Used  Shared    Creation time   VDI id
>>>>>>>> Copies  Tag
>>>>>>>>    testowy      0  1.0 GB  0.0 MB  0.0 MB 2014-01-04 15:07   cac836     3
>>>>>>>>
>>>>>>>> Here I can see 3 copies, can't see info about how many parity strips
>>>>>>>> is configured. Probably this isn't implemented yet?
>>>>>>>
>>>>>>> Not yet. But currently you can 'dog cluster info -s' to see the global policy
>>>>>>> scheme x:y (that you 'dog cluster format -c x:y').
>>>>>>>
>>>>>>> With erasure coding, 'copies' will have another meaning that the number of total
>>>>>>> data + parity objects. In your case, it is 2+1=3. But as you said, this is
>>>>>>> confusing, I think of adding a extra field to indicate redundancy scheme per vid.
>>>>>>>
>>>>>>> Well, for about issue, I can't reproduce it. Could you give me more envronment
>>>>>>> information such as 32 or 64 bits of your OS? what is your distro?
>>>>>>
>>>>>> Hi!
>>>>>> I'm using Gentoo 64bits, gcc version 4.7.3 (Gentoo Hardened 4.7.3-r1
>>>>>> p1.4, pie-0.5.5), kernel 3.10 with Gentoo patches.
>>>>>>
>>>>>
>>>>> Does the problem still exist? I can't reproduce the issue yet. So how did you
>>>>> reproduce it step by step?
>>>>
>>>> Hi!
>>>> I'm installing sheepdog-0.7.x, next:
>>>> # mkdir -p /mnt/sheep/{metadata,storage}
>>>> # for x in 0 1 2 3 4; do sheep -c local -j size=128M -p 700$x
>>>> /mnt/sheep/metadata/$x,/mnt/sheep/storage/$x; done
>>>> # dog cluster format -c 2
>>>> using backend plain store
>>>> # dog vdi create testowy 5G
>>>> # dog  vdi check testowy
>>>> PANIC: can't find next new idx
>>>> dog exits unexpectedly (Aborted).
>>>> dog() [0x4058da]
>>>> [...]
>>>>
>>>> I'm getting SIGABRT on every try.
>>>>
>>>>
>>>
>>> On the same machine, with master branch(not stable-0.7), you mentioned you can't
>>> reproduce the problem?
>>
>> With master branch (commit  a79e69f9ad9c5) I'm getting such message:
>> # dog  vdi check testowy
>> PANIC: can't find a valid vnode
>> dog exits unexpectedly (Aborted).
>> dog() [0x4057fa]
>> /lib64/libpthread.so.0(+0xfd8f) [0x7f6d43cd0d8f]
>> /lib64/libc.so.6(gsignal+0x38) [0x7f6d43951368]
>> /lib64/libc.so.6(abort+0x147) [0x7f6d439526c7]
>> dog() [0x40336e]
>> dog() [0x409d9f]
>> dog() [0x40cea5]
>> dog() [0x403927]
>> /lib64/libc.so.6(__libc_start_main+0xf4) [0x7f6d4393dc04]
>> dog() [0x403c6c]
>>
>> Will be full gdb backtrace usefull?
> 
> Hmm, before you run 'dog vdi check', what is output of 'dog cluster info',
> 'dog node list', 'dog node md info --all'?

Output using master branch:
# dog cluster info
Cluster status: running, auto-recovery enabled

Cluster created at Tue Jan  7 13:21:53 2014

Epoch Time           Version
2014-01-07 13:21:54      1 [127.0.0.1:7000, 127.0.0.1:7001,
127.0.0.1:7002, 127.0.0.1:7003, 127.0.0.1:7004]

# dog node list
  Id   Host:Port         V-Nodes       Zone
   0   127.0.0.1:7000           128   16777343
   1   127.0.0.1:7001           128   16777343
   2   127.0.0.1:7002           128   16777343
   3   127.0.0.1:7003           128   16777343
   4   127.0.0.1:7004           128   16777343

# dog node md info --all
Id      Size    Used    Avail   Use%    Path
Node 0:
 0      4.4 GB  4.0 MB  4.4 GB    0%    /mnt/sheep/storage/0
Node 1:
 0      4.4 GB  0.0 MB  4.4 GB    0%    /mnt/sheep/storage/1
Node 2:
 0      4.4 GB  0.0 MB  4.4 GB    0%    /mnt/sheep/storage/2
Node 3:
 0      4.4 GB  0.0 MB  4.4 GB    0%    /mnt/sheep/storage/3
Node 4:
 0      4.4 GB  0.0 MB  4.4 GB    0%    /mnt/sheep/storage/4


I'm attaching gdb.txt generated by dog.

Marcin
-------------- next part --------------

==
== Jan 07 11:21:28 
== program: /usr/sbin/dog
== command: thread apply all where full
==

Thread 3 (Thread 0x7f49202fd700 (LWP 9804)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x0000000000415eab in sd_cond_wait (mutex=0x1fe9d08, cond=0x1fe9cd8) at ../include/util.h:371
No locals.
#2  worker_routine (arg=0x1fe9c60) at work.c:337
        wi = 0x1fe9c60
        work = <optimized out>
        tid = 9804
        __func__ = "worker_routine"
#3  0x00007f49206aeba2 in start_thread (arg=0x7f49202fd700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7f49202fd700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139952049346304, -433838533299026753, 0, 4096, 139952053254112, 139952049346304, 533943160445191359, 533943680697877695}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f49203e6acd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Thread 2 (Thread 0x7f491f6fa700 (LWP 9805)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x0000000000415eab in sd_cond_wait (mutex=0x1fe9f68, cond=0x1fe9f38) at ../include/util.h:371
No locals.
#2  worker_routine (arg=0x1fe9ec0) at work.c:337
        wi = 0x1fe9ec0
        work = <optimized out>
        tid = 9805
        __func__ = "worker_routine"
#3  0x00007f49206aeba2 in start_thread (arg=0x7f491f6fa700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7f491f6fa700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139952036751104, -433838533299026753, 0, 4096, 139952053254112, 139952036751104, 533831558404359359, 533943680697877695}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f49203e6acd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Thread 1 (Thread 0x7f4920ab1c40 (LWP 9803)):
#0  0x00007f49203b7f09 in __libc_waitpid (pid=9838, stat_loc=stat_loc at entry=0x7fff107e2b70, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
        resultvar = 140733470092144
        oldtype = 0
#1  0x00007f492034220b in do_system (line=line at entry=0x7fff107e2e80 "gdb -nw /usr/sbin/dog 9803 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 11:21:28 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: threa"...) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x7f49203424b0 <cancel_handler>, __arg = 0x7fff107e2b4c, __canceltype = 1, __prev = 0x0}
        _avail = 1
        status = -1
        save = <optimized out>
        pid = 9838
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7fff10803028}
        omask = {__val = {24, 139952057636096, 140733470092240, 140733470092224, 4287073986, 4200210, 4294967295, 139952050081841, 139952049390328, 139952057625376, 13, 140733470092672, 4312125, 9803, 139952057420808, 1}}
#2  0x00007f49203425c1 in __libc_system (line=line at entry=0x7fff107e2e80 "gdb -nw /usr/sbin/dog 9803 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 11:21:28 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: threa"...) at ../sysdeps/posix/system.c:189
        oldtype = 0
        result = <optimized out>
#3  0x00007f49206b5c65 in system (line=line at entry=0x7fff107e2e80 "gdb -nw /usr/sbin/dog 9803 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 11:21:28 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: threa"...) at pt-system.c:28
No locals.
#4  0x0000000000410289 in gdb_cmd (cmd=0x41cc3d "thread apply all where full") at logger.c:760
        time_str = "Jan 07 11:21:28 ", '\000' <repeats 239 times>
        cmd_str = "gdb -nw /usr/sbin/dog 9803 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 11:21:28 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: threa"...
        ti = 1389090088
        tm = {tm_sec = 28, tm_min = 21, tm_hour = 11, tm_mday = 7, tm_mon = 0, tm_year = 114, tm_wday = 2, tm_yday = 6, tm_isdst = 0, tm_gmtoff = 3600, tm_zone = 0x1fea920 "CET"}
#5  0x0000000000411078 in dump_stack_frames () at logger.c:774
No locals.
#6  sd_backtrace () at logger.c:824
        addrs = {0x410f3d <sd_backtrace+29>, 0x4057fb <crash_handler+43>, 0x7f49206b5d90 <__restore_rt>, 0x7f4920336369 <__GI_raise+57>, 0x7f49203376c8 <__GI_abort+328>, 0x40336f, 0x409da0 <check_cb>, 0x40cea6 <do_vdi_check+102>, 0x403928 <main+1464>, 0x7f4920322c05 <__libc_start_main+245>, 0x403c6d <_start+41>, 0x0 <repeats 1013 times>}
        i = <optimized out>
        n = <optimized out>
        __func__ = "sd_backtrace"
#7  0x00000000004057fb in crash_handler (signo=6) at dog.c:338
        __func__ = "crash_handler"
#8  <signal handler called>
No locals.
#9  0x00007f4920336369 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 9803
        selftid = 9803
#10 0x00007f49203376c8 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {140733470365104, 140733470365112, 139952055451655, 5, 0, 52, 139952049389416, 33385328, 140733470365112, 140733470365120, 139952055477301, 0, 139952053168048, 0, 139952053168048, 139952053162080}}, sa_flags = 548084800, sa_restorer = 0x7f4920428080 <__memcpy_ssse3+10112>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#11 0x000000000040336f in oid_to_vnodes (vnodes=0x7fff108255b0, nr_copies=2, root=<optimized out>, oid=<optimized out>) at ../include/sheep.h:95
No locals.
#12 0x0000000000409da0 in oid_to_vnodes (vnodes=0x7fff108255b0, nr_copies=2, root=<optimized out>, oid=<optimized out>) at vdi.c:1826
        next = <optimized out>
#13 queue_vdi_check_work (inode=inode at entry=0x7f491f6fb010, oid=<optimized out>, done=done at entry=0x0, wq=wq at entry=0x1fe9f90) at vdi.c:1816
        info = 0x1fea100
        tgt_vnodes = {0x1fd6b70, 0x7f491f6fa700, 0x7f49206b77e0 <default_attr>, 0x7f49206adf2a <do_clone+74>, 0x7f491f6fa9d0, 0x1, 0x0, 0x7f4920ae4000 <_rtld_global>, 0x1, 0x7f49206af204 <__pthread_create_2_1+1076>, 0x6e, 0x1000, 0x700000000, 0x801000 <i.8325+3996736>, 0x7fff10825698, 0x0, 0x415dc0 <worker_routine>, 0x1fe9ec0, 0x7f491eefa000, 0x7f491f6fa9c0, 0x108, 0x1fe9ec0, 0x1fe9f10, 0x1, 0x1fe9f68, 0x1fe9f10, 0x41c036, 0x4160b8 <create_worker_threads+136>, 0x2, 0x7f491f6fa700, 0x1fe9ec0}
        nr_copies = 2
#14 0x000000000040cea6 in do_vdi_check (inode=0x7f491f6fb010) at vdi.c:1867
        max_idx = <optimized out>
        done = 0
        vid = <optimized out>
        wq = 0x1fe9f90
        __func__ = "do_vdi_check"
#15 0x0000000000403928 in main (argc=<optimized out>, argv=0x7fff108259d8) at dog.c:506
        ch = <optimized out>
        longindex = 32767
        ret = <optimized out>
        flags = 2
        long_options = 0xc32760 <lopts.4767>
        commands = 0x1fd60a0
        short_options = 0xc34780 <sopts.4758> "s:a:p:h"
        p = 0x7f49206a0620 <main_arena> ""
        sdhost = "\003\000\000\000\000\000\000\000 \000\000\000\000\000\000"
        sdport = <optimized out>
        __func__ = "main"

==
== Jan 07 13:22:55 
== program: /usr/sbin/dog
== command: thread apply all where full
==

Thread 3 (Thread 0x7f002ef8f700 (LWP 19431)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x0000000000415eab in sd_cond_wait (mutex=0x2a7ad08, cond=0x2a7acd8) at ../include/util.h:371
No locals.
#2  worker_routine (arg=0x2a7ac60) at work.c:337
        wi = 0x2a7ac60
        work = <optimized out>
        tid = 19431
        __func__ = "worker_routine"
#3  0x00007f002f340ba2 in start_thread (arg=0x7f002ef8f700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7f002ef8f700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139638764795648, -531528334553644014, 0, 4096, 139638768703456, 139638764795648, 477377417109832722, 477381163891688466}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f002f078acd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Thread 2 (Thread 0x7f002e38c700 (LWP 19432)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x0000000000415eab in sd_cond_wait (mutex=0x2a7af68, cond=0x2a7af38) at ../include/util.h:371
No locals.
#2  worker_routine (arg=0x2a7aec0) at work.c:337
        wi = 0x2a7aec0
        work = <optimized out>
        tid = 19432
        __func__ = "worker_routine"
#3  0x00007f002f340ba2 in start_thread (arg=0x7f002e38c700) at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7f002e38c700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139638752200448, -531528334553644014, 0, 4096, 139638768703456, 139638752200448, 477379065840403474, 477381163891688466}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f002f078acd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
No locals.

Thread 1 (Thread 0x7f002f743c40 (LWP 19430)):
#0  0x00007f002f049f09 in __libc_waitpid (pid=19465, stat_loc=stat_loc at entry=0x7fffb5fb3030, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
        resultvar = 140736246526000
        oldtype = 0
#1  0x00007f002efd420b in do_system (line=line at entry=0x7fffb5fb3340 "gdb -nw /usr/sbin/dog 19430 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 13:22:55 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: thre"...) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x7f002efd44b0 <cancel_handler>, __arg = 0x7fffb5fb300c, __canceltype = 1, __prev = 0x0}
        _avail = 1
        status = -1
        save = <optimized out>
        pid = 19465
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7fffb5fd34e8}
        omask = {__val = {24, 139638773085440, 140736246526096, 140736246526080, 4287073986, 4200210, 4294967295, 139638765531185, 139638764839672, 139638773074720, 13, 140736246526528, 4312125, 19430, 139638772870152, 1}}
#2  0x00007f002efd45c1 in __libc_system (line=line at entry=0x7fffb5fb3340 "gdb -nw /usr/sbin/dog 19430 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 13:22:55 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: thre"...) at ../sysdeps/posix/system.c:189
        oldtype = 0
        result = <optimized out>
#3  0x00007f002f347c65 in system (line=line at entry=0x7fffb5fb3340 "gdb -nw /usr/sbin/dog 19430 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 13:22:55 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: thre"...) at pt-system.c:28
No locals.
#4  0x0000000000410289 in gdb_cmd (cmd=0x41cc3d "thread apply all where full") at logger.c:760
        time_str = "Jan 07 13:22:55 ", '\000' <repeats 239 times>
        cmd_str = "gdb -nw /usr/sbin/dog 19430 -batch >/dev/null 2>&1 -ex 'set logging on' -ex 'echo \\n' -ex 'echo ==\\n' -ex 'echo == Jan 07 13:22:55 \\n' -ex 'echo == program: /usr/sbin/dog\\n' -ex 'echo == command: thre"...
        ti = 1389097375
        tm = {tm_sec = 55, tm_min = 22, tm_hour = 13, tm_mday = 7, tm_mon = 0, tm_year = 114, tm_wday = 2, tm_yday = 6, tm_isdst = 0, tm_gmtoff = 3600, tm_zone = 0x2a7b920 "CET"}
#5  0x0000000000411078 in dump_stack_frames () at logger.c:774
No locals.
#6  sd_backtrace () at logger.c:824
        addrs = {0x410f3d <sd_backtrace+29>, 0x4057fb <crash_handler+43>, 0x7f002f347d90 <__restore_rt>, 0x7f002efc8369 <__GI_raise+57>, 0x7f002efc96c8 <__GI_abort+328>, 0x40336f, 0x409da0 <check_cb>, 0x40cea6 <do_vdi_check+102>, 0x403928 <main+1464>, 0x7f002efb4c05 <__libc_start_main+245>, 0x403c6d <_start+41>, 0x0 <repeats 1013 times>}
        i = <optimized out>
        n = <optimized out>
        __func__ = "sd_backtrace"
#7  0x00000000004057fb in crash_handler (signo=6) at dog.c:338
        __func__ = "crash_handler"
#8  <signal handler called>
No locals.
#9  0x00007f002efc8369 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 19430
        selftid = 19430
#10 0x00007f002efc96c8 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {140736246798960, 140736246798968, 139638770900999, 5, 0, 52, 139638764838760, 44465008, 140736246798968, 140736246798976, 139638770926645, 0, 139638768617392, 0, 139638768617392, 139638768611424}}, sa_flags = 796146752, sa_restorer = 0x7f002f0ba080 <__memcpy_ssse3+10112>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#11 0x000000000040336f in oid_to_vnodes (vnodes=0x7fffb5ff5a70, nr_copies=2, root=<optimized out>, oid=<optimized out>) at ../include/sheep.h:95
No locals.
#12 0x0000000000409da0 in oid_to_vnodes (vnodes=0x7fffb5ff5a70, nr_copies=2, root=<optimized out>, oid=<optimized out>) at vdi.c:1826
        next = <optimized out>
#13 queue_vdi_check_work (inode=inode at entry=0x7f002e38d010, oid=<optimized out>, done=done at entry=0x0, wq=wq at entry=0x2a7af90) at vdi.c:1816
        info = 0x2a7b100
        tgt_vnodes = {0x2a67b70, 0x7f002e38c700, 0x7f002f3497e0 <default_attr>, 0x7f002f33ff2a <do_clone+74>, 0x7f002e38c9d0, 0x1, 0x0, 0x7f002f776000 <_rtld_global>, 0x1, 0x7f002f341204 <__pthread_create_2_1+1076>, 0x6e, 0x1000, 0x700000000, 0x801000 <i.8325+3996736>, 0x7fffb5ff5b58, 0x0, 0x415dc0 <worker_routine>, 0x2a7aec0, 0x7f002db8c000, 0x7f002e38c9c0, 0x108, 0x2a7aec0, 0x2a7af10, 0x1, 0x2a7af68, 0x2a7af10, 0x41c036, 0x4160b8 <create_worker_threads+136>, 0x2, 0x7f002e38c700, 0x2a7aec0}
        nr_copies = 2
#14 0x000000000040cea6 in do_vdi_check (inode=0x7f002e38d010) at vdi.c:1867
        max_idx = <optimized out>
        done = 0
        vid = <optimized out>
        wq = 0x2a7af90
        __func__ = "do_vdi_check"
#15 0x0000000000403928 in main (argc=<optimized out>, argv=0x7fffb5ff5e98) at dog.c:506
        ch = <optimized out>
        longindex = 32767
        ret = <optimized out>
        flags = 2
        long_options = 0xc32760 <lopts.4767>
        commands = 0x2a670a0
        short_options = 0xc34780 <sopts.4758> "s:a:p:h"
        p = 0x7f002f332620 <main_arena> ""
        sdhost = "\003\000\000\000\000\000\000\000 \000\000\000\000\000\000"
        sdport = <optimized out>
        __func__ = "main"


More information about the sheepdog-users mailing list