Re: [julia-users] How to debug "Illegal Instruction" in 0.4?

2015-06-25 Thread Sheehan Olver
See issue #11874 for a similar example that caused the segfault



> On 26 Jun 2015, at 1:11 pm, Sheehan Olver  wrote:
> 
> Actually, it turned out that the cause was another faulty convert 
> implementation, see other thread I started 
> 
> I'm filing an issue
> 
> 
> Sent from my iPhone
> 
> On 26 Jun 2015, at 1:07 pm, Tony Kelman  > wrote:
> 
>> What exactly is your code doing? Does it involve mmap?
>> 
>> 
>> On Thursday, June 25, 2015 at 8:27:34 PM UTC-4, Sheehan Olver wrote:
>> Switching to juliadebug, I get
>> 
>> ERROR: ReadOnlyMemoryError()
>> 
>> 
>> still with no further information.  I guess I can manually drill down to the 
>> offending line?
>> 
>> 
>> 
>>> On 25 Jun 2015, at 9:51 pm, Tony Kelman > 
>>> wrote:
>>> 
>>> If you built Julia from source, do make debug
>>> 
>>> 
>>> On Thursday, June 25, 2015 at 7:41:26 AM UTC-4, Sheehan Olver wrote:
>>> This is on OS X, julia v0.4 master
>>> 
>>> How do I do julia-debug?
>>> 
>>> 
 On 25 Jun 2015, at 9:06 pm, Tony Kelman > wrote:
 
 Is this in a VM or some other unusual environment? Old hardware?
 
 What was the context, what were you running? Can you try running the same 
 code with julia-debug, and/or inside gdb or lldb?
 
 
 On Thursday, June 25, 2015 at 12:08:51 AM UTC-4, Sheehan Olver wrote:
 I got the following crash
 
 signal (4): Illegal instruction: 4
 
 unknown function (ip: 0x316f9ff7a)
 
 Illegal instruction: 4
 
 
 with no other information given in 0.4 master.  I suppose this is a bug in 
 Julia itself, but without a stack trace it's hard to narrow down.  Any 
 suggestions?
>>> 
>> 



Re: [julia-users] How to debug "Illegal Instruction" in 0.4?

2015-06-25 Thread Sheehan Olver
Actually, it turned out that the cause was another faulty convert 
implementation, see other thread I started 

I'm filing an issue


Sent from my iPhone

> On 26 Jun 2015, at 1:07 pm, Tony Kelman  wrote:
> 
> What exactly is your code doing? Does it involve mmap?
> 
> 
>> On Thursday, June 25, 2015 at 8:27:34 PM UTC-4, Sheehan Olver wrote:
>> Switching to juliadebug, I get
>> 
>> ERROR: ReadOnlyMemoryError()
>> 
>> 
>> still with no further information.  I guess I can manually drill down to the 
>> offending line?
>> 
>> 
>> 
>>> On 25 Jun 2015, at 9:51 pm, Tony Kelman  wrote:
>>> 
>>> If you built Julia from source, do make debug
>>> 
>>> 
 On Thursday, June 25, 2015 at 7:41:26 AM UTC-4, Sheehan Olver wrote:
 This is on OS X, julia v0.4 master
 
 How do I do julia-debug?
 
 
> On 25 Jun 2015, at 9:06 pm, Tony Kelman  wrote:
> 
> Is this in a VM or some other unusual environment? Old hardware?
> 
> What was the context, what were you running? Can you try running the same 
> code with julia-debug, and/or inside gdb or lldb?
> 
> 
>> On Thursday, June 25, 2015 at 12:08:51 AM UTC-4, Sheehan Olver wrote:
>> I got the following crash
>> 
>> signal (4): Illegal instruction: 4
>> 
>> unknown function (ip: 0x316f9ff7a)
>> 
>> Illegal instruction: 4
>> 
>> 
>> with no other information given in 0.4 master.  I suppose this is a bug 
>> in Julia itself, but without a stack trace it's hard to narrow down.  
>> Any suggestions?
>> 


Re: [julia-users] How to debug "Illegal Instruction" in 0.4?

2015-06-25 Thread Tony Kelman
What exactly is your code doing? Does it involve mmap?


On Thursday, June 25, 2015 at 8:27:34 PM UTC-4, Sheehan Olver wrote:
>
> Switching to juliadebug, I get
>
> *ERROR: ReadOnlyMemoryError()*
>
>
> still with no further information.  I guess I can manually drill down to 
> the offending line?
>
>
>
> On 25 Jun 2015, at 9:51 pm, Tony Kelman > 
> wrote:
>
> If you built Julia from source, do make debug
>
>
> On Thursday, June 25, 2015 at 7:41:26 AM UTC-4, Sheehan Olver wrote:
>>
>> This is on OS X, julia v0.4 master
>>
>> How do I do julia-debug?
>>
>>
>> On 25 Jun 2015, at 9:06 pm, Tony Kelman  wrote:
>>
>> Is this in a VM or some other unusual environment? Old hardware?
>>
>> What was the context, what were you running? Can you try running the same 
>> code with julia-debug, and/or inside gdb or lldb?
>>
>>
>> On Thursday, June 25, 2015 at 12:08:51 AM UTC-4, Sheehan Olver wrote:
>>>
>>> I got the following crash
>>>
>>> signal (4): Illegal instruction: 4
>>>
>>> unknown function (ip: 0x316f9ff7a)
>>>
>>> Illegal instruction: 4
>>>
>>> with no other information given in 0.4 master.  I suppose this is a bug 
>>> in Julia itself, but without a stack trace it's hard to narrow down.  Any 
>>> suggestions?
>>>
>>
>>
>

Re: [julia-users] How to debug "Illegal Instruction" in 0.4?

2015-06-25 Thread Sheehan Olver
Switching to juliadebug, I get

ERROR: ReadOnlyMemoryError()


still with no further information.  I guess I can manually drill down to the 
offending line?



> On 25 Jun 2015, at 9:51 pm, Tony Kelman  wrote:
> 
> If you built Julia from source, do make debug
> 
> 
> On Thursday, June 25, 2015 at 7:41:26 AM UTC-4, Sheehan Olver wrote:
> This is on OS X, julia v0.4 master
> 
> How do I do julia-debug?
> 
> 
>> On 25 Jun 2015, at 9:06 pm, Tony Kelman > 
>> wrote:
>> 
>> Is this in a VM or some other unusual environment? Old hardware?
>> 
>> What was the context, what were you running? Can you try running the same 
>> code with julia-debug, and/or inside gdb or lldb?
>> 
>> 
>> On Thursday, June 25, 2015 at 12:08:51 AM UTC-4, Sheehan Olver wrote:
>> I got the following crash
>> 
>> signal (4): Illegal instruction: 4
>> 
>> unknown function (ip: 0x316f9ff7a)
>> 
>> Illegal instruction: 4
>> 
>> 
>> with no other information given in 0.4 master.  I suppose this is a bug in 
>> Julia itself, but without a stack trace it's hard to narrow down.  Any 
>> suggestions?
> 



[julia-users] How to debug "Illegal Instruction" in 0.4?

2015-06-24 Thread Sheehan Olver
I got the following crash

signal (4): Illegal instruction: 4

unknown function (ip: 0x316f9ff7a)

Illegal instruction: 4

with no other information given in 0.4 master.  I suppose this is a bug in 
Julia itself, but without a stack trace it's hard to narrow down.  Any 
suggestions?