Git Product home page Git Product logo

Comments (4)

mkitti avatar mkitti commented on September 28, 2024

On 1.10.0, this just segfaults for me. I will update later.


julia> versioninfo()
Julia Version 1.10.0
Commit 3120989f39b (2023-12-25 18:01 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (aarch64-linux-gnu)
  CPU: 6 × Cortex-A55
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, cortex-a55)
  Threads: 1 on 8 virtual cores

julia> t = Tuple(zeros(Int32, 1024*1024*4));

julia> convert(NTuple{1024*1024*4,UInt32}, t);

[15216] signal (11.1): Segmentation fault
in expression starting at REPL[2]:1
convert at ./essentials.jl:452
unknown function (ip: 0x746795e24b)
Allocations: 81932270 (Pool: 81932156; Big: 114); GC: 20
Segmentation fault

from julia.

Seelengrab avatar Seelengrab commented on September 28, 2024

1.10.1 doesn't segfault for me but I still get the stackoverflow. This suggests to me that this is some canary/return address being overwritten by accident, resulting in an empty stacktrace. I'll see if I can get an rr trace.

from julia.

Seelengrab avatar Seelengrab commented on September 28, 2024

rr trace is here: https://julialang-dumps.s3.amazonaws.com/reports/2024-05-24T15-42-56-Seelengrab.tar.zst

from julia.

Seelengrab avatar Seelengrab commented on September 28, 2024

Notably, printing a large struct containing such a tuple can work, so this suggests to me some more intricate problem:

julia> mutable struct LargeStruct
           size::UInt32
           data::NTuple{1024*1024*4,UInt32}
       end

julia> a = LargeStruct(1024*1024*4,Tuple(zeros(UInt32, 1024*1024*4)));

julia> show(stdout, a)
LargeStruct(0x00400000, (0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 [...]

(printing abbreviated here for obvious reasons)

from julia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.