Opened 6 years ago

Closed 5 years ago

#57452 closed defect (fixed)

julia @0.6.2_3: destroot stage of install fails "no more memory"

Reported by: p-bro Owned by: essandess (Steve Smith)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ssllmit (ss), rurban (Reini Urban), VictorEijkhout (Victor Eijkhout)
Port: julia

Description

An install of the current version of julia fails in the destroot stage with the following error:

LoadError("sysimg.jl", 361, LoadError("dates/Dates.jl", 49, LoadError("dates/io.jl", 285, ErrorException("PCRE JIT error: no more memory"))))

This happens reproducibly with different variants (I used +gcc7 and +gcc8), after port clean --all julia.

The full log is attached.

System information:

:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.0
:debug:sysinfo SDK 10.13

Attachments (1)

main.log (158.7 KB) - added by p-bro 6 years ago.
Install log file

Download all attachments as: .zip

Change History (14)

Changed 6 years ago by p-bro

Attachment: main.log added

Install log file

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: ssllmit added

Has duplicate #57788.

comment:2 Changed 6 years ago by tacbio (TacBio)

Hi, i can confirm the same "no more memory" error. This is open now for 2 months. anybody?

:debug:sysinfo macOS 10.13 (darwin/17.7.0) arch i386
:debug:sysinfo MacPorts 2.5.4
:debug:sysinfo Xcode 10.1
:debug:sysinfo SDK 10.13
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.13
Last edited 6 years ago by tacbio (TacBio) (previous) (diff)

comment:3 Changed 6 years ago by kencu (Ken)

So this is not my area, but the log indicates

LoadError("sysimg.jl", 361, LoadError("dates/Dates.jl", 49, LoadError("dates/io.jl", 285, ErrorException("PCRE JIT error: no more memory"))))

which suggests the pcre JIT is running out of memory. This is a known issue, and there are no shortage of internet reports of similar errors in other software that uses pcre, for example in PHP <https://externals.io/message/87245>.

comment:4 Changed 6 years ago by rurban (Reini Urban)

How about updating julia to current 1.1.0? The JIT stack size was enhanced from the tiny 32K default several releases ago.

comment:5 Changed 6 years ago by rurban (Reini Urban)

Cc: rurban added

comment:6 Changed 6 years ago by mf2k (Frank Schima)

Owner: seanfarley deleted

comment:7 Changed 6 years ago by VictorEijkhout (Victor Eijkhout)

Cc: VictorEijkhout added

comment:8 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

julia was updated to 1.1.1. Do you still see this problem with that version?

comment:9 Changed 5 years ago by VictorEijkhout (Victor Eijkhout)

The "Staging julia into destroot" takes a long time, but "Activating julia @0.6.2_3+gcc9" then works for me.

comment:10 in reply to:  8 Changed 5 years ago by p-bro

Replying to ryandesign:

julia was updated to 1.1.1. Do you still see this problem with that version?

1.1.1 worked for me; building, staging, installation take time, but without a hitch.

comment:11 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to essandess

comment:12 Changed 5 years ago by jjstickel (Jonathan Stickel)

I think this can be closed. Julia versions >1.0 have been working in Macports for awhile.

comment:13 Changed 5 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.