These did not work. In one of my functions I am returning a function
(myfunc) in output that is defined like myfunc(x;args...) =
g(x,y,z,m,n;args...). This was working up to now when I am using myfunc in
another function (and also when I use it directly in the global scope). I
guess that is causing some problems, but I can't figure out why yet. I am
using Debug package, but getting some weird outputs!
On Saturday, April 25, 2015 at 12:28:53 AM UTC-4, David P. Sanders wrote:
>
>
>
> El viernes, 24 de abril de 2015, 21:44:00 (UTC-5), Pooya escribió:
>>
>> I have been using julia in Mac Terminal and IJulia notebook for a while
>> and they have been fine. But now I am getting this error: "The kernel
>> appears to have died. It will restart automatically." in IJulia, and the
>> following in Terminal after I run one of my codes. It restarts the kernel
>> in both cases! Can anyone help?
>>
>> julia(8724,0x7fff7315e310) malloc: *** error for object 0x7feed745df10:
>> pointer being realloc'd was not allocated
>>
>> *** set a breakpoint in malloc_error_break to debug
>>
>> signal (6): Abort trap: 6
>>
>> __pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)
>>
>> Abort trap: 6
>>
>
> My usual solution for these kinds of problems (i.e. problems in which it's
> unclear what the problem is and it was previously working!) is the
> following sequence, testing if it now works after each step
>
> (i) Pkg.update()
>
> (ii) Pkg.build("IJulia")
>
> (iii) Remove entire .julia directory and reinstall IJulia with
> Pkg.add("IJulia"). (This is overkill for what would basically be "get the
> latest version of all dependencies", but it can't do any harm...)
>
> Of course it might be an actual bug, in which case these steps won't help
> at all...
>