Re: [rados-java] SIGSEGV librados.so Ubuntu

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

 




On 28-12-15 20:41, KeesBoog wrote:
> Hi Wido and Florent,
> 
> After going back into the error-report with my new knowledge, I think I
> found the problem.
> 
> It is the finalizer in com.ceph.rados.Rados.java
> Commenting out the finalize() method solved the problem.
> I have no idea why it causes all this trouble, and I don't know if
> commenting it out is the solution for every use case, but I think I can
> do without the finalizer.
> 

Ok, thanks for the pointer! No idea why that goes wrong, but OK. It
seems a garbage collection thing inside Java.

> I tried different versions of jna, including the latest one jna-4.2.1.
> That works.
> 
> ---
> *You asked:**
> *ceph --version
> ceph version 0.87.2 (87a7cec9ab11c677de2ab23a7668a77d2f5b955e)
> librados-config --version
> ceph version 0.87.2 (87a7cec9ab11c677de2ab23a7668a77d2f5b955e)
> 
> ---
> *One more thing**
> *When recompiling rados.jar according to the instructions on
> https://github.com/ceph/rados-java I encountered one test-error:
>   testCreateFormatOne(com.ceph.rbd.TestRbd): Failed to remove image
> imageformat1
> This may have to do with ceph.conf-setting: rbd default format = 2
>  rbd info rbd/imageformat1
> rbd image 'imageformat1':
>         size 10240 kB in 3 objects
>         order 22 (4096 kB objects)
>         block_name_prefix: rbd_data.1f6a9d7fdcc233
>         format: 2
>         features: layering, striping
>         stripe unit: 4096 kB
>         stripe count: 1
> I don't fully understand, as the "format 2" should have failed the
> previous test: assertTrue("The image wasn't the old (1) format", oldFormat).
> 
> and this documentation is obsolete:
> http://docs.ceph.com/docs/hammer/rados/api/librados-intro/#getting-librados-for-java
> ---
> 
> Thanks again! It great to get some friendly support; it kept me searching...
> 
> Best Regards,
> 
> Kees
> 
> 
> 
> Op 28-12-2015 om 15:28 schreef Wido den Hollander:
>>
>> On 28-12-15 15:25, KeesBoog wrote:
>>> Thank you Florent and Wido,
>>>
>>> It seems that the sigsegv error occurs regardless of the code. Even if I
>>> do not upload a file, the error occurs after a couple of minutes...
>>> Strange!
>>>
>> Did you open a RADOS context or connection in that case?
>>
>> What version of librados are you using on the system and what is the
>> Ceph cluster running?
>>
>> Wido
>>
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux