-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior
Milestone
Description
I'm running with a fresh "make" after updating to commit 8574723.
Snip out the code below and save it as a file. Load that file into a julia session.
This next line seems to run properly:
img = MyType(imgdata,"drc",szv,[],ones(1,1),[],[],zeros(0),"");
But then if you type "img" on the julia command line you get a segfault:
img
However, the next version does not produce the segfault:
img = MyType(imgdata,"drc",szv,[],ones(1,1),["mm"],[],zeros(0),"");
img
Code:
type MyType{DataType<:Number}
data::Array{DataType}
arrayi_order::ASCIIString
data_size::Vector{Int}
arrayi_range::Vector
arrayi2physc::Matrix{Float64}
physc_unit::Vector
physc_name::Vector
arrayti2physt::Vector{Float64}
t_unit::String
end
imgdata = rand(256,512,3)
sz = size(imgdata)
szv = vcat(sz...)
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behavior