[Bugs] [Bug 1559794] weighted-rebalance

bugzilla at redhat.com bugzilla at redhat.com
Tue Apr 17 13:16:13 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1559794

Salamani <ravisalamani at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(ravisalamani at gmai |
                   |l.com)                      |



--- Comment #24 from Salamani <ravisalamani at gmail.com> ---
> (In reply to Cnaik from comment #22)
> > We have build glusterfs from github source on a linux system.
> 
> Can you tell me why are you working with a source install instead of the
> releases packages? Also why are you using the older version instead of the
> latest sources?
We are building the Glusterfs v4.0.1(latest) from github repo
(https://github.com/gluster/glusterfs/tree/v4.0.1) to check its working on
linux s390x system. 


> 
> > We are not clear on is "private: false" mentioned above. Could you please
> > tell where do we set this?
> 
> That was for the bugzilla comment and can be ignored.
> 
> > 
> > We tried make CFLAGS="-ggdb3 -O0" install and got the dump, following is the
> > output after doing t a a bt:
> 
> I still do not see any gluster symbols in the stack.

PFB steps to build and get the debugging symbols for glusterfs
•ulimit -c unlimited 
•sysctl -w kernel.core_pattern=/path_to_store_dump/core_%e_%p
•Installed glusterfs-dbg
•Built and installed the glusterfs
  git clone https://github.com/gluster/glusterfs
  cd glusterfs
  git checkout v4.0.1
  ./autogen.sh
  ./configure --enable-gnfs --enable-debug
  make
  make CFLAGS="-ggdb3 -O0" install
•Executed the weighted-rebalance.t 
•gdb -ex 'set sysroot ./' -ex 'core-file
/path_to_store_dump/core_glusteriotwr1_11231' /usr/local/sbin/glusterfsd

Do let us know if anything else needed?


> 
> > 
> > 
> > (gdb) t a a bt
> > 
> > Thread 21 (Thread 0x3ff8a77f910 (LWP 15676)):
> > #0  0x000003ff8b911b84 in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libpthread-2.23.so
> > #1  0x000003ff8bbbda64 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 20 (Thread 0x3ff88f7f910 (LWP 15679)):
> > #0  0x000003ff8b90db98 in __pthread_cond_timedwait (cond=0x12a457748,
> > mutex=0x12a457720, abstime=0x3ff88f7ef08) at pthread_cond_timedwait.c:198
> > #1  0x000003ff8bbec3aa in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 19 (Thread 0x3ff6defe910 (LWP 15692)):
> > #0  0x000003ff8b90db98 in __pthread_cond_timedwait (cond=0x3ff8008b3e0,
> > mutex=0x3ff8008b410, abstime=0x3ff6defdfa0)
> >     at pthread_cond_timedwait.c:198
> > #1  0x000003ff875a9fde in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 18 (Thread 0x3ff5ffff910 (LWP 15720)):
> > #0  0x000003ff8b7b93d0 in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8b7b92d8 in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55
> > #2  0x000003ff875ada78 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 17 (Thread 0x3ff6cefe910 (LWP 15719)):
> > #0  0x000003ff8b7ee3a4 in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8bc0d3a6 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 16 (Thread 0x3ff6efff910 (LWP 15690)):
> > #0  0x000003ff8b7e5d1c in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8711c20a in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 15 (Thread 0x3ff6ffff910 (LWP 15688)):
> > #0  0x000003ff8b7e5d1c in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8711c20a in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 14 (Thread 0x3ff6f7ff910 (LWP 15689)):
> > #0  0x000003ff8b7e5d1c in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8711c20a in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 13 (Thread 0x3ff8567f910 (LWP 15685)):
> > #0  0x000003ff8b90d7d4 in __pthread_cond_wait (cond=0x3ff80077108,
> > mutex=0x3ff800770e0) at pthread_cond_wait.c:186
> > ---Type <return> to continue, or q <return> to quit---
> > #1  0x000003ff87085e10 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 12 (Thread 0x3ff84e7f910 (LWP 15686)):
> > #0  0x000003ff8b90d7d4 in __pthread_cond_wait (cond=0x3ff80077180,
> > mutex=0x3ff80077158) at pthread_cond_wait.c:186
> > #1  0x000003ff870846de in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 11 (Thread 0x3ff8ba7f910 (LWP 15962)):
> > #0  0x000003ff8b90db98 in __pthread_cond_timedwait (cond=0x3ff8005ed88,
> > mutex=0x3ff8005ed60, abstime=0x3ff8ba7efa8)
> >     at pthread_cond_timedwait.c:198
> > #1  0x000003ff86d85682 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 10 (Thread 0x3ff8497b910 (LWP 15687)):
> > #0  0x000003ff8b90d7d4 in __pthread_cond_wait (cond=0x3ff8007bea8,
> > mutex=0x3ff8007be80) at pthread_cond_wait.c:186
> > #1  0x000003ff8711bfb2 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 9 (Thread 0x3ff87dff910 (LWP 15681)):
> > #0  0x000003ff8b7ee3a4 in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8bc0d3a6 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 8 (Thread 0x3ff6d6fe910 (LWP 15693)):
> > #0  0x000003ff8b90d7d4 in __pthread_cond_wait (cond=0x3ff8008b588,
> > mutex=0x3ff8008b560) at pthread_cond_wait.c:186
> > #1  0x000003ff875adfbe in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 7 (Thread 0x3ff8687f910 (LWP 15682)):
> > #0  0x000003ff8b90d7d4 in __pthread_cond_wait (cond=0x3ff8003fdb8,
> > mutex=0x3ff8003fd90) at pthread_cond_wait.c:186
> > #1  0x000003ff8bb0b248 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 6 (Thread 0x3ff8877f910 (LWP 15680)):
> > #0  0x000003ff8b90db98 in __pthread_cond_timedwait (cond=0x12a457748,
> > mutex=0x12a457720, abstime=0x3ff8877ef08) at pthread_cond_timedwait.c:198
> > #1  0x000003ff8bbec3aa in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 5 (Thread 0x3ff89f7f910 (LWP 15677)):
> > #0  do_sigwait (set=<optimized out>, set at entry=0x3ff89f7ef38,
> > sig=sig at entry=0x3ff89f7ef34) at ../sysdeps/unix/sysv/linux/sigwait.c:64
> > #1  0x000003ff8b91238a in __sigwait (set=0x3ff89f7ef38, sig=0x3ff89f7ef34)
> > at ../sysdeps/unix/sysv/linux/sigwait.c:96
> > #2  0x000000011240b4f6 in glusterfs_sigwaiter (arg=<optimized out>) at
> > glusterfsd.c:2157
> > #3  0x000003ff8b907934 in start_thread (arg=0x3ff89f7f910) at
> > pthread_create.c:335
> > #4  0x000003ff8b7edce2 in thread_start () at
> > ../sysdeps/unix/sysv/linux/s390/s390-64/clone.S:74
> > ---Type <return> to continue, or q <return> to quit---
> > 
> > Thread 4 (Thread 0x3ff8bd77750 (LWP 15675)):
> > #0  0x000003ff8b908bf2 in pthread_join (threadid=4396031146256,
> > thread_return=0x0) at pthread_join.c:90
> > #1  0x000003ff8bc0db7c in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 3 (Thread 0x3ff8577f910 (LWP 15683)):
> > #0  0x000003ff8b90d7d4 in __pthread_cond_wait (cond=0x3ff80051760,
> > mutex=0x3ff80051738) at pthread_cond_wait.c:186
> > #1  0x000003ff86b86e24 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 2 (Thread 0x3ff8977f910 (LWP 15678)):
> > #0  0x000003ff8b7b93d0 in ?? () at ../sysdeps/unix/syscall-template.S:84
> > from /lib/s390x-linux-gnu/libc-2.23.so
> > #1  0x000003ff8b7b92d8 in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55
> > #2  0x000003ff8bbd965a in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> > 
> > Thread 1 (Thread 0x3ff8bb7f910 (LWP 15684)):
> > #0  0x000003ff8b78147c in _int_malloc (av=av at entry=0x3ff7c000020,
> > bytes=bytes at entry=24) at malloc.c:3349
> > #1  0x000003ff8b783d00 in __GI___libc_malloc (bytes=24) at malloc.c:2913
> > #2  0x000003ff8b823536 in x_inline (xdrs=0x3ff8bb7d428, len=24) at
> > xdr_sizeof.c:89
> > #3  0x000003ff8ba8ef60 in ?? ()
> > Backtrace stopped: previous frame identical to this frame (corrupt stack?)
> 
> 
> Can you attach the /var/log/messages and /var/log/dmesg files to the BZ?

$cat /var/log/dmesg
(Nothing has been logged yet.)

$cat /var/log/messages
No such file

(In reply to Nithya Balachandran from comment #23)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list