Ceph::RADOS list_pools causes sefgault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello All,

I would like to control my Ceph cluster via Perl scripts.  After a bit of searching, I found a Perl module that was started back in 2011 [1].

It seems to work great except for the list_pools function which causes a segfault.

We can observe this behavior when running a stacktrace on the testrados2.pl script that comes with the attachment [2] (I added a print "Testing list_pools\n" before the actual call to $c->list_pools to make debugging easier):

>> write(1, "Testing list_pools\n", 19Testing list_pools
>>  )    = 19
>>  --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7fffd5dd5000} ---
>>  +++ killed by SIGSEGV (core dumped) +++
>>  Segmentation fault (core dumped)

Running this code through gdb I get possibly a little more helpful error:
( gdb ; set args testrados2.pl ; run )

>>  Testing list_pools
>>  
>>  Program received signal SIGSEGV, Segmentation fault.
>>  __memset_sse2 () at ../sysdeps/x86_64/multiarch/../memset.S:913
>>  913     ../sysdeps/x86_64/multiarch/../memset.S: No such file or directory.

But googling that error has landed me at a dead end.

I think this error is coming from the c function "list_pools_c" because of the nature of the error.

I was hoping someone could help me debug the error and possibly point me in a direction for extending librbd to manage images.

Thanks,
Jon A


[1]  http://www.spinics.net/lists/ceph-devel/msg04147.html
[2]  http://www.spinics.net/lists/ceph-devel/attachments/gzP0nHuUkx0f.gz

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux