Re: Trying to build Cassandra for FreeBSD 10.1
On 11/18/2014 04:58 PM, William Arbaugh wrote: Happy to do so - but the ticket indicates that FreeBSD is unsupported and thus this is unlikely to get fixed. I'm the person that said that in the JIRA ticket :) I also quoted it to indicate that it's really not officially unsupported - it's unix and it should Just Work. If there's a way to track down the problem and fix it, let's do that! I'm simply asking for help in identifying the problem, since I don't spend much^Hany time in FreeBSD these days, so I'm going to rely on folks that are using it. That would be y'all. ;) -- Warm regards, Michael https://issues.apache.org/jira/browse/CASSANDRA-8325
Re: Trying to build Cassandra for FreeBSD 10.1
William and Graham - I appreciate the notes! Would both of you be so kind as to comment/attach/etc on that jira? I'm a bit out of my element on this particular topic, so this would be super helpful to get your insight :) https://issues.apache.org/jira/browse/CASSANDRA-8325 -- Michael On 11/17/2014 08:41 PM, graham sanderson wrote: Only thing I can see from looking at the exception, is that it looks like - I didn’t disassemble the code from hex - that the “peer” value in the RefCountedMemory object is probably 0 Given that Unsafe.allocateMemory /should/ not return 0 even on allocation failure (which should throw OOM) - though you should add a log statement to the Memory class to check that - I’d suggest logging to see if anyone is calling SSTableReader.releaseSummary, which could set the peer to 0 On Nov 17, 2014, at 7:30 PM, Michael Shuler mich...@pbandjelly.org mailto:mich...@pbandjelly.org wrote: On 11/17/2014 07:19 PM, William Arbaugh wrote: I've successfully built 2.1.2 for FreeBSD, but the JVM crashes upon start-up. Here's the snippet from the top of the log file (attached) # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000802422655, pid=76732, tid=34384931840 # Any hints on how to get 2.1.2 working on FreeBSD is appreciated. Not a very helpful hint, other than the fact you are not alone :) https://issues.apache.org/jira/browse/CASSANDRA-8325 -- Michael
Re: Trying to build Cassandra for FreeBSD 10.1
Happy to do so - but the ticket indicates that FreeBSD is unsupported and thus this is unlikely to get fixed. On Nov 18, 2014, at 3:45 PM, Michael Shuler mich...@pbandjelly.org wrote: William and Graham - I appreciate the notes! Would both of you be so kind as to comment/attach/etc on that jira? I'm a bit out of my element on this particular topic, so this would be super helpful to get your insight :) https://issues.apache.org/jira/browse/CASSANDRA-8325 -- Michael On 11/17/2014 08:41 PM, graham sanderson wrote: Only thing I can see from looking at the exception, is that it looks like - I didn’t disassemble the code from hex - that the “peer” value in the RefCountedMemory object is probably 0 Given that Unsafe.allocateMemory /should/ not return 0 even on allocation failure (which should throw OOM) - though you should add a log statement to the Memory class to check that - I’d suggest logging to see if anyone is calling SSTableReader.releaseSummary, which could set the peer to 0 On Nov 17, 2014, at 7:30 PM, Michael Shuler mich...@pbandjelly.org mailto:mich...@pbandjelly.org wrote: On 11/17/2014 07:19 PM, William Arbaugh wrote: I've successfully built 2.1.2 for FreeBSD, but the JVM crashes upon start-up. Here's the snippet from the top of the log file (attached) # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000802422655, pid=76732, tid=34384931840 # Any hints on how to get 2.1.2 working on FreeBSD is appreciated. Not a very helpful hint, other than the fact you are not alone :) https://issues.apache.org/jira/browse/CASSANDRA-8325 -- Michael
Re: Trying to build Cassandra for FreeBSD 10.1
On 11/17/2014 07:19 PM, William Arbaugh wrote: I've successfully built 2.1.2 for FreeBSD, but the JVM crashes upon start-up. Here's the snippet from the top of the log file (attached) # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000802422655, pid=76732, tid=34384931840 # Any hints on how to get 2.1.2 working on FreeBSD is appreciated. Not a very helpful hint, other than the fact you are not alone :) https://issues.apache.org/jira/browse/CASSANDRA-8325 -- Michael
Re: Trying to build Cassandra for FreeBSD 10.1
Only thing I can see from looking at the exception, is that it looks like - I didn’t disassemble the code from hex - that the “peer” value in the RefCountedMemory object is probably 0 Given that Unsafe.allocateMemory should not return 0 even on allocation failure (which should throw OOM) - though you should add a log statement to the Memory class to check that - I’d suggest logging to see if anyone is calling SSTableReader.releaseSummary, which could set the peer to 0 On Nov 17, 2014, at 7:30 PM, Michael Shuler mich...@pbandjelly.org wrote: On 11/17/2014 07:19 PM, William Arbaugh wrote: I've successfully built 2.1.2 for FreeBSD, but the JVM crashes upon start-up. Here's the snippet from the top of the log file (attached) # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000802422655, pid=76732, tid=34384931840 # Any hints on how to get 2.1.2 working on FreeBSD is appreciated. Not a very helpful hint, other than the fact you are not alone :) https://issues.apache.org/jira/browse/CASSANDRA-8325 -- Michael smime.p7s Description: S/MIME cryptographic signature