Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526510 - dev-lang/julia-0.3.0 shows incomplete tracebacks
Summary: dev-lang/julia-0.3.0 shows incomplete tracebacks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 20:22 UTC by Andrey Golovizin
Modified: 2016-09-25 07:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Golovizin 2014-10-22 20:22:46 UTC
Julia-0.3.0 installed from portage shows incomplete tracebacks. The same version manually built from julia-v0.3.0_768187890c.tar.gz does not have this problem.


Reproducible: Always

Steps to Reproduce:
$ cat /tmp/crash.jl
function crash()
    x()
end

crash()
$ julia /tmp/crash.jl  # julia-0.3.0 installed from portage
ERROR: x not defined
 in include at /usr/bin/../lib/julia/sys.so
 in process_options at /usr/bin/../lib/julia/sys.so
 in _start at /usr/bin/../lib/julia/sys.so (repeats 2 times)
while loading /tmp/crash.jl, in expression starting on line 5

$ wget https://github.com/JuliaLang/julia/releases/download/v0.3.0/julia-v0.3.0_768187890c.tar.gz
$ tar xzf julia-v0.3.0_768187890c.tar.gz
$ cd julia-v0.3.0
$ make
$ ./julia /tmp/crash.jl
ERROR: x not defined
 in crash at /tmp/crash.jl:2
 in include at ./boot.jl:245
 in include_from_node1 at loading.jl:128
 in process_options at ./client.jl:285
 in _start at ./client.jl:354
 in _start_3B_1720 at /tmp/julia-v0.3.0/usr/bin/../lib/julia/sys.so
while loading /tmp/crash.jl, in expression starting on line 5
Comment 1 Matthias Maier gentoo-dev 2016-09-25 07:04:24 UTC
With 0.5.0 we finally have meaningful backtraces in the Gentoo package:

% julia crash.jl 
ERROR: LoadError: UndefVarError: x not defined
 in crash() at /tmp/crash.jl:2
while loading /tmp/crash.jl, in expression starting on line 5