JuliaInterop / JuliaInterop/JavaCall.jl

union would crash after init

Open
#94 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Julia
Stars
125
Forks
53
PR merge metrics
No merged PRs in 30d

Description

after using JavaCall; JavaCall.init()
the following code would crash

union([1 for a in 1:1000]...)

(after using JavaCall and before JavaCall.init() won't)

linux 4.19.2
julia version 1.0.1
JavaCall v0.7.1

ldd julia:

    linux-vdso.so.1
    libjulia.so.1 => /usr/bin/../lib/libjulia.so.1
    libdl.so.2 => /usr/bin/../lib/libdl.so.2
    librt.so.1 => /usr/bin/../lib/librt.so.1
    libpthread.so.0 => /usr/bin/../lib/libpthread.so.0
    libc.so.6 => /usr/bin/../lib/libc.so.6
    libLLVM-6.0.so => /usr/bin/../lib/julia/libLLVM-6.0.so
    libstdc++.so.6 => /usr/bin/../lib/julia/libstdc++.so.6
    libm.so.6 => /usr/bin/../lib/libm.so.6
    libgcc_s.so.1 => /usr/bin/../lib/julia/libgcc_s.so.1
    /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shown union expression after JavaCall.init() on the reported Julia and JavaCall versions. Read the JavaCall.init entry point and trace the initialized runtime's interaction with this expression; the report names no source file or test. Done means the expression no longer crashes after initialization, with a regression check for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, julia
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.