Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault: #161

Open
P-Nishanth opened this issue Apr 9, 2024 · 6 comments
Open

Segmentation fault: #161

P-Nishanth opened this issue Apr 9, 2024 · 6 comments

Comments

@P-Nishanth
Copy link

Hey, every time I run an example apart from the simple wing I get the following error:

signal (11): Segmentation fault
in expression starting at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/examples/vahana/vahana.jl:376
unknown function (ip: 0x7fffed0735da)
Allocations: 6767744745 (Pool: 6767383817; Big: 360928); GC: 179
Segmentation fault (core dumped)

Sometimes, the system even crashes.

I have dual-booted Windows and Ubuntu 22 and I'm running flowunsteady on Ubuntu. I have a 24-core machine.

Is this a hardware issue? How do I fix this?
Thanks.

@cibinjoseph
Copy link
Member

Segfaults are really hard to debug. I wonder if you're running out of memory.
Try reducing the discretization on the wings and props and reducing the number of timesteps. See if the segfault exists for a really coarse case.

@P-Nishanth
Copy link
Author

P-Nishanth commented Apr 10, 2024

image

Thank you for the quick reply.

This is a snip of htop running parallel to FLOWunsteady and the memory consumption is super low.

Edit: I have noticed something strange. I do not get this error for the simple wing and for ALL the other cases I get the error during the timesteps ~150-200.

@P-Nishanth
Copy link
Author

Update: I set up FLOWUnsteady on WSL and I'm still getting the same error. Please find the attached error with a bigger message.

julia> import FLOWUnsteady as uns

julia> include(joinpath(uns.examples_path, "tetheredwing.jl"))
Generating geometry...
Generating vehicle...
Running simulation...

Folder tetheredwing-example already exists. Remove? (y/n) y


    SOLVER SETTINGS
              maxparticles----> 181944
               formulation----> formulation_rVPM
                   viscous----> (Symbol("*userfunction"), "FLOWVPM.Inviscid{Float64}(0.0)")
                    kernel----> gaussianerf
                        UJ----> UJ_fmm
                      Uinf----> (Symbol("*userfunction"), "#147")
                       SFS----> SFS_none
               integration----> rungekutta3
                transposed----> true
                relaxation----> pedrizzetti
                       fmm----> FLOWVPM.FMM(4, 50, 0.4, 0.5)

    SIMULATION SETTINGS
            dt:                     0.006588948345167912
            Runtime function:       Yes
            Static particles:       Yes
            nsteps_save:            1


START tetheredwing-example/tetheredwing-example_pfield
2024-04-10T16:07:39.247


    Time step 0 out of 360  Particles: 0
    Time step 10 out of 360 Particles: 4128
    Time step 20 out of 360 Particles: 8168
    Time step 30 out of 360 Particles: 12208
    Time step 40 out of 360 Particles: 16248
    Time step 50 out of 360 Particles: 20288
    Time step 60 out of 360 Particles: 24328
    Time step 70 out of 360 Particles: 28368
    Time step 80 out of 360 Particles: 32408
    Time step 90 out of 360 Particles: 36448
    Time step 100 out of 360        Particles: 40488
    Time step 110 out of 360        Particles: 44528
    Time step 120 out of 360        Particles: 48568
    Time step 130 out of 360        Particles: 52608
    Time step 140 out of 360        Particles: 56648
    Time step 150 out of 360        Particles: 60688
    Time step 160 out of 360        Particles: 64728
    Time step 170 out of 360        Particles: 68768
    Time step 180 out of 360        Particles: 72808
    Time step 190 out of 360        Particles: 76848
    Time step 200 out of 360        Particles: 80888
    Time step 210 out of 360        Particles: 84928

signal (11): Segmentation fault
in expression starting at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/examples/tetheredwing.jl:235
sincosf64 at /lib/x86_64-linux-gnu/libm.so.6 (unknown line)
evalMultipole at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/kernel.h:71
P2M_a at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/kernel.h:554
upwardPass at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:20
_ZN6exafmm10upwardPassEPNS_4CellE._omp_fn.0 at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:11
GOMP_task at /workspace/srcdir/gcc-12.1.0/libgomp/task.c:442
upwardPass at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:9
_ZN6exafmm10upwardPassEPNS_4CellE._omp_fn.0 at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:11
GOMP_task at /workspace/srcdir/gcc-12.1.0/libgomp/task.c:442
upwardPass at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:9
_ZN6exafmm10upwardPassEPNS_4CellE._omp_fn.0 at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:11
GOMP_taskwait at /workspace/srcdir/gcc-12.1.0/libgomp/task.c:1621
upwardPass at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:13
_ZN6exafmm10upwardPassEPNS_4CellE._omp_fn.0 at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:11
GOMP_taskwait at /workspace/srcdir/gcc-12.1.0/libgomp/task.c:1621
upwardPass at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:13
_ZN6exafmm10upwardPassEPNS_4CellE._omp_fn.0 at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:11
gomp_barrier_handle_tasks at /workspace/srcdir/gcc-12.1.0/libgomp/task.c:1463
gomp_team_barrier_wait_end at /workspace/srcdir/gcc-12.1.0/libgomp/config/linux/bar.c:116
gomp_team_end at /workspace/srcdir/gcc-12.1.0/libgomp/team.c:956
upwardPass at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/traverse_eager.h:26
calculate at /mnt/e/PhD/Softwares/FLOWExaFMM/build/3d/fmm.cxx:238
operator() at /usr/include/c++/11/bits/std_function.h:590 [inlined]
operator() at /home/nish/.julia/artifacts/a8624c529a0debd7fb53ab8585b87f29afdd6a33/include/jlcxx/module.hpp:58 [inlined]
apply at /home/nish/.julia/artifacts/a8624c529a0debd7fb53ab8585b87f29afdd6a33/include/jlcxx/module.hpp:72
calculate at /home/nish/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:618
unknown function (ip: 0x7f25ef4aafdb)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
#call_FLOWExaFMM#52 at /home/nish/.julia/packages/FLOWVPM/WA9ug/src/FLOWVPM_UJ.jl:154
call_FLOWExaFMM at /home/nish/.julia/packages/FLOWVPM/WA9ug/src/FLOWVPM_UJ.jl:148 [inlined]
#UJ_fmm#51 at /home/nish/.julia/packages/FLOWVPM/WA9ug/src/FLOWVPM_UJ.jl:119
UJ_fmm at /home/nish/.julia/packages/FLOWVPM/WA9ug/src/FLOWVPM_UJ.jl:116
unknown function (ip: 0x7f25ef4aadf2)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
#Vvpm_on_Xs#173 at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation.jl:438
Vvpm_on_Xs##kw at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation.jl:409
unknown function (ip: 0x7f25ef4b7ba8)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
#solve#113 at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation_types_unsteady.jl:120
solve##kw at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation_types_unsteady.jl:11 [inlined]
runtime_function#149 at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation.jl:287
runtime_function#161##kw at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation.jl:271 [inlined]
#run_vpm!#73 at /home/nish/.julia/packages/FLOWVPM/WA9ug/src/FLOWVPM_utils.jl:115
run_vpm!##kw at /home/nish/.julia/packages/FLOWVPM/WA9ug/src/FLOWVPM_utils.jl:41
unknown function (ip: 0x7f2604979da3)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
#run_simulation#146 at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation.jl:350
run_simulation##kw at /home/nish/.julia/packages/FLOWUnsteady/MpOG2/src/FLOWUnsteady_simulation.jl:107
unknown function (ip: 0x7f260492326b)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
do_call at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:126
eval_value at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:215
eval_stmt_value at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:166 [inlined]
eval_body at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:612
jl_interpret_toplevel_thunk at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:750
jl_toplevel_eval_flex at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:906
jl_toplevel_eval_flex at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:850
jl_toplevel_eval_flex at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:850
ijl_toplevel_eval_in at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
include_string at ./loading.jl:1428
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
_include at ./loading.jl:1488
include at ./client.jl:476
unknown function (ip: 0x7f27db966712)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
do_call at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:126
eval_value at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:215
eval_stmt_value at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:166 [inlined]
eval_body at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:612
jl_interpret_toplevel_thunk at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/interpreter.c:750
jl_toplevel_eval_flex at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:906
jl_toplevel_eval_flex at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:850
ijl_toplevel_eval_in at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
eval_user_input at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:151
repl_backend_loop at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:247
start_repl_backend at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:232
#run_repl#47 at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:369
run_repl at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:355
jfptr_run_repl_65104.clone_1 at /home/nish/Programs/julia-1.8.5/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
#967 at ./client.jl:419
jfptr_YY.967_33139.clone_1 at /home/nish/Programs/julia-1.8.5/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
jl_f__call_latest at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/builtins.c:774
#invokelatest#2 at ./essentials.jl:729 [inlined]
invokelatest at ./essentials.jl:726 [inlined]
run_main_repl at ./client.jl:404
exec_options at ./client.jl:318
_start at ./client.jl:522
jfptr__start_38041.clone_1 at /home/nish/Programs/julia-1.8.5/lib/julia/sys.so (unknown line)
_jl_invoke at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2377 [inlined]
ijl_apply_generic at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/gf.c:2559
jl_apply at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/julia.h:1843 [inlined]
true_main at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/jlapi.c:575
jl_repl_entrypoint at /cache/build/default-amdci4-2/julialang/julia-release-1-dot-8/src/jlapi.c:719
main at julia (unknown line)
unknown function (ip: 0x7f27f17b5d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x401098)
Allocations: 1501201816 (Pool: 1501139708; Big: 62108); GC: 381
Segmentation fault

Is it possible to tell me if this is a hardware issue or a code issue? I have an I9-14900k 24-core machine.

@cibinjoseph
Copy link
Member

cibinjoseph commented Apr 10, 2024

Your workstation's specs should be fine for these cases to run fine.
I would check in htop if the memory goes above the limits when it's close to throwing the segfault.

Since the simple wing case works fine, I would try running it for a longer time and see if it throws a segfault when there's close to the number of particles in this simulation. Or simplify this case and see if it runs for longer timesteps. I'm still inclined to think some sort of memory limit is being hit by these simulations. Not sure why/how though.
I've had issues with memory limits imposed by Linux on the stack size sometimes. The command ulimit -s unlimited resolves those. Again, I'm not sure if that's the cause here.

We're in the process of phasing out the FMM package (FLOWExaFMM) for a native Julia one because it has given us a lot of trouble. So hopefully this issue will also be resolved with that switch.

@EdoAlvarezR
Copy link
Collaborator

Really odd. The stack trace points out that the error is on the C++ part of FLOWExaFMM. As @cibinjoseph mentions, my guess is that there is an issue with the amount of memory that the process is allow to use.

@P-Nishanth
Copy link
Author

(@v1.8) pkg> test CxxWrap
Testing CxxWrap
Status /tmp/jl_M8GCHQ/Project.toml
[6e4b80f9] BenchmarkTools v1.5.0
⌃ [1f15a43c] CxxWrap v0.11.2
[1914dd2f] MacroTools v0.5.13
⌅ [3eaa8342] libcxxwrap_julia_jll v0.8.8+1
[8f399da3] Libdl @stdlib/Libdl
[8dfed614] Test @stdlib/Test
Status /tmp/jl_M8GCHQ/Manifest.toml
[6e4b80f9] BenchmarkTools v1.5.0
⌃ [1f15a43c] CxxWrap v0.11.2
[692b3bcd] JLLWrappers v1.5.0
[682c06a0] JSON v0.21.4
[1914dd2f] MacroTools v0.5.13
[69de0a69] Parsers v2.8.1
[aea7be01] PrecompileTools v1.2.1
[21216c6a] Preferences v1.4.3
⌅ [3eaa8342] libcxxwrap_julia_jll v0.8.8+1
[0dad84c5] ArgTools v1.1.1 @stdlib/ArgTools
[56f22d72] Artifacts @stdlib/Artifacts
[2a0f44e3] Base64 @stdlib/Base64
[ade2ca70] Dates @stdlib/Dates
[f43a241f] Downloads v1.6.0 @stdlib/Downloads
[7b1f6079] FileWatching @stdlib/FileWatching
[b77e0a4c] InteractiveUtils @stdlib/InteractiveUtils
[b27032c2] LibCURL v0.6.3 @stdlib/LibCURL
[76f85450] LibGit2 @stdlib/LibGit2
[8f399da3] Libdl @stdlib/Libdl
[37e2e46d] LinearAlgebra @stdlib/LinearAlgebra
[56ddb016] Logging @stdlib/Logging
[d6f4376e] Markdown @stdlib/Markdown
[a63ad114] Mmap @stdlib/Mmap
[ca575930] NetworkOptions v1.2.0 @stdlib/NetworkOptions
[44cfe95a] Pkg v1.8.0 @stdlib/Pkg
[de0858da] Printf @stdlib/Printf
[9abbd945] Profile @stdlib/Profile
[3fa0cd96] REPL @stdlib/REPL
[9a3f8284] Random @stdlib/Random
[ea8e919c] SHA v0.7.0 @stdlib/SHA
[9e88b42a] Serialization @stdlib/Serialization
[6462fe0b] Sockets @stdlib/Sockets
[2f01184e] SparseArrays @stdlib/SparseArrays
[10745b16] Statistics @stdlib/Statistics
[fa267f1f] TOML v1.0.0 @stdlib/TOML
[a4e569a6] Tar v1.10.1 @stdlib/Tar
[8dfed614] Test @stdlib/Test
[cf7118a7] UUIDs @stdlib/UUIDs
[4ec0a83e] Unicode @stdlib/Unicode
[e66e0078] CompilerSupportLibraries_jll v1.0.1+0 @stdlib/CompilerSupportLibraries_jll
[deac9b47] LibCURL_jll v7.84.0+0 @stdlib/LibCURL_jll
[29816b5a] LibSSH2_jll v1.10.2+0 @stdlib/LibSSH2_jll
[c8ffd9c3] MbedTLS_jll v2.28.0+0 @stdlib/MbedTLS_jll
[14a3606d] MozillaCACerts_jll v2022.2.1 @stdlib/MozillaCACerts_jll
[4536629a] OpenBLAS_jll v0.3.20+0 @stdlib/OpenBLAS_jll
[83775a58] Zlib_jll v1.2.12+3 @stdlib/Zlib_jll
[8e850b90] libblastrampoline_jll v5.1.1+0 @stdlib/libblastrampoline_jll
[8e850ede] nghttp2_jll v1.48.0+0 @stdlib/nghttp2_jll
[3f19e933] p7zip_jll v17.4.0+0 @stdlib/p7zip_jll
Info Packages marked with ⌃ and ⌅ have new versions available, but those with ⌅ are restricted by compatibility constraints from upgrading.
Testing Running tests...
Running tests from basic_types.jl...
char -> CxxChar
signed char -> Int8
unsigned char -> UInt8
short -> Int16
unsigned short -> UInt16
int -> Int32
unsigned int -> UInt32
long -> Int64
unsigned long -> UInt64
long long -> CxxLongLong
unsigned long long -> CxxULongLong
int8_t -> Int8
uint8_t -> UInt8
int16_t -> Int16
uint16_t -> UInt16
int32_t -> Int32
uint32_t -> UInt32
int64_t -> Int64
uint64_t -> UInt64
Running tests from containers.jl...
Displaying const matrix
3×2 ConstArray{Float64, 2}:
1.0 4.0
2.0 5.0
3.0 6.0

Displaying mutable matrix
3×2 Matrix{Float64}:
1.0 4.0
2.0 5.0
3.0 6.0

Running tests from cxxdereference.jl...
Running tests from except.jl...
exception 1
exception 2
exception 3
Running tests from extended_module.jl...
Running tests from functions.jl...
CxxWrap tests: Error During Test at /home/nish/.julia/packages/CxxWrap/OcN1Z/test/runtests.jl:15
Got exception outside of a @test
LoadError: ccall method definition: argument 2 type doesn't correspond to a C type
Stacktrace:
[1] top-level scope
@ none:1
[2] eval
@ ./boot.jl:368 [inlined]
[3] wrap_functions(functions::Vector{CxxWrap.CxxWrapCore.CppFunctionInfo}, julia_mod::Module)
@ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:695
[4] wrapfunctions(jlmod::Module)
@ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:712
[5] wrapmodule(so_path::String, funcname::Symbol, m::Module, flags::Nothing)
@ CxxWrap.CxxWrapCore ~/.julia/packages/CxxWrap/OcN1Z/src/CxxWrap.jl:731
[6] top-level scope
@ ~/.julia/packages/CxxWrap/OcN1Z/test/functions.jl:20
[7] include(fname::String)
@ Base.MainInclude ./client.jl:476
[8] macro expansion
@ ~/.julia/packages/CxxWrap/OcN1Z/test/runtests.jl:18 [inlined]
[9] macro expansion
@ ~/Programs/julia-1.8.5/share/julia/stdlib/v1.8/Test/src/Test.jl:1363 [inlined]
[10] top-level scope
@ ~/.julia/packages/CxxWrap/OcN1Z/test/runtests.jl:16
[11] include(fname::String)
@ Base.MainInclude ./client.jl:476
[12] top-level scope
@ none:6
[13] eval
@ ./boot.jl:368 [inlined]
[14] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:276
[15] _start()
@ Base ./client.jl:522
in expression starting at /home/nish/.julia/packages/CxxWrap/OcN1Z/test/functions.jl:17
Test Summary: | Pass Error Total Time
CxxWrap tests | 98 1 99 5.6s
basic_types | 71 71 0.5s
containers | 16 16 0.8s
cxxdereference | 4 4 0.1s
except | 6 6 0.0s
extended_module | 1 1 0.0s
ERROR: LoadError: Some tests did not pass: 98 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/nish/.julia/packages/CxxWrap/OcN1Z/test/runtests.jl:15
ERROR: Package CxxWrap errored during testing

@cibinjoseph The memory consumption does not shoot up at any point.
@EdoAlvarezR Since you indicated that the error might be in the C++ part I removed the package CxxWrap and added it back. Now I get this error.
Do you guys know how do I to fix this?

Thanks.

PS: Strange that I'm still able to run simulations with this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants