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

No longer works on 1.11 #87

Open
PallHaraldsson opened this issue Dec 11, 2024 · 2 comments
Open

No longer works on 1.11 #87

PallHaraldsson opened this issue Dec 11, 2024 · 2 comments

Comments

@PallHaraldsson
Copy link

PallHaraldsson commented Dec 11, 2024

JuliaLang/julia#56805

JuliaLang/julia#56805 (comment)

@PallHaraldsson PallHaraldsson changed the title DoeNo longer works on 1.11 No longer works on 1.11 Dec 11, 2024
@PallHaraldsson
Copy link
Author

pkg> add https://github.com/Clemapfel/Mousetrap.jl
..
⌅ [3eaa8342] ↓ libcxxwrap_julia_jll v0.13.3+0 ⇒ v0.11.2+1
..
⌅ [1f15a43c] CxxWrap v0.14.2
..
┌ BinaryBuilderBase
│  WARNING: Method definition validate_tags(Base.Dict{K, V} where V where K) in module BinaryPlatforms at binaryplatforms.jl:194 overwritten in module BinaryBuilderBase at /home/pharaldsson/.julia/packages/BinaryBuilderBase/19Z63/src/riscv64.jl:28.
│  ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
└  
┌ BinaryBuilder
│  WARNING: Method definition validate_tags(Base.Dict{K, V} where V where K) in module BinaryPlatforms at binaryplatforms.jl:194 overwritten in module BinaryBuilderBase at /home/pharaldsson/.julia/packages/BinaryBuilderBase/19Z63/src/riscv64.jl:28.
│  ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation.
└  
     Testing Running tests...
[ERROR] In Mousetrap.main: MethodError: Cannot `convert` an object of type Nothing to an object of type Mousetrap.detail._Window
The function `convert` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  convert(::Type{Mousetrap.detail._Window}, ::Mousetrap.detail._WindowAllocated)
   @ Mousetrap ~/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:686
  convert(::Type{Mousetrap.detail._Window}, ::Mousetrap.detail._WindowDereferenced)
   @ Mousetrap ~/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:687
  convert(::Type{Mousetrap.detail._Window}, ::T) where T<:Mousetrap.detail._Window
   @ Mousetrap ~/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:682
  ...

Stacktrace:
  [1] Window(_internal::Nothing)
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:400
  [2] (::var"#176#180")(app::Application)
    @ Main ~/.julia/packages/Mousetrap/CHEs7/test/runtests.jl:2874
  [3] (::TypedFunction)(args::Application)
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:91
  [4] (::Mousetrap.var"#14#15"{TypedFunction})(app::Application)
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:1542
  [5] (::TypedFunction)(args::Application)
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:91
  [6] (::Mousetrap.var"#6#8"{TypedFunction})(x::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Application}})
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:657
  [7] safe_call(scope::String, f::Function, args::Tuple{CxxWrap.CxxWrapCore.CxxRef{Mousetrap.detail._Application}})
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:190
  [8] run!(arg1::Mousetrap.detail._ApplicationAllocated)
    @ Mousetrap.detail ~/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:624
  [9] run!(app::Application)
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:1511
 [10] main(f::Function, application_id::String)
    @ Mousetrap ~/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:1552
 [11] top-level scope
    @ ~/.julia/packages/Mousetrap/CHEs7/test/runtests.jl:2785
 [12] include(fname::String)
    @ Main ./sysimg.jl:38
 [13] top-level scope
    @ none:6
 [14] eval
    @ ./boot.jl:430 [inlined]
 [15] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:296
 [16] _start()
    @ Base ./client.jl:531

[2466091] signal 11 (128): Segmentation fault
in expression starting at /home/pharaldsson/.julia/packages/Mousetrap/CHEs7/test/runtests.jl:2785
shutdown_opengl at /workspace/srcdir/mousetrap/build/../src/render_area.cpp:113
g_closure_invoke at /home/pharaldsson/.julia/artifacts/6d8a1f48d4b47dc03fa048d88680be84ae15e5fc/lib/libgobject-2.0.so.0 (unknown line)
signal_emit_unlocked_R at /home/pharaldsson/.julia/artifacts/6d8a1f48d4b47dc03fa048d88680be84ae15e5fc/lib/libgobject-2.0.so.0 (unknown line)
signal_emit_valist_unlocked at /home/pharaldsson/.julia/artifacts/6d8a1f48d4b47dc03fa048d88680be84ae15e5fc/lib/libgobject-2.0.so.0 (unknown line)
g_signal_emit_valist at /home/pharaldsson/.julia/artifacts/6d8a1f48d4b47dc03fa048d88680be84ae15e5fc/lib/libgobject-2.0.so.0 (unknown line)
g_signal_emit at /home/pharaldsson/.julia/artifacts/6d8a1f48d4b47dc03fa048d88680be84ae15e5fc/lib/libgobject-2.0.so.0 (unknown line)
g_application_run at /home/pharaldsson/.julia/artifacts/6d8a1f48d4b47dc03fa048d88680be84ae15e5fc/lib/libgio-2.0.so (unknown line)
run at /workspace/srcdir/mousetrap/build/../src/application.cpp:132
operator() at /opt/x86_64-linux-gnu/bin/../x86_64-linux-gnu/sys-root/usr/local/include/jlcxx/module.hpp:1009
_M_invoke at /opt/x86_64-linux-gnu/x86_64-linux-gnu/include/c++/9.1.0/bits/std_function.h:285
operator() at /opt/x86_64-linux-gnu/x86_64-linux-gnu/include/c++/9.1.0/bits/std_function.h:690
operator() at /opt/x86_64-linux-gnu/bin/../x86_64-linux-gnu/sys-root/usr/local/include/jlcxx/module.hpp:47
apply at /opt/x86_64-linux-gnu/bin/../x86_64-linux-gnu/sys-root/usr/local/include/jlcxx/module.hpp:72
run! at /home/pharaldsson/.julia/packages/CxxWrap/5IZvn/src/CxxWrap.jl:624
unknown function (ip: 0x7fd3828e01f2)
run! at /home/pharaldsson/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:1511
main at /home/pharaldsson/.julia/packages/Mousetrap/CHEs7/src/Mousetrap.jl:1552
unknown function (ip: 0x7fd3828d56e6)
jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
do_call at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:126
eval_value at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:223
eval_stmt_value at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:174 [inlined]
eval_body at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:663
jl_interpret_toplevel_thunk at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:821
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:943
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:886
ijl_toplevel_eval_in at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:994
eval at ./boot.jl:430 [inlined]
include_string at ./loading.jl:2643
_include at ./loading.jl:2703
include at ./sysimg.jl:38
unknown function (ip: 0x7fd3828ca082)
jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
do_call at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:126
eval_value at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:223
eval_stmt_value at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:174 [inlined]
eval_body at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:663
jl_interpret_toplevel_thunk at /cache/build/builder-demeter6-6/julialang/julia-master/src/interpreter.c:821
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:943
jl_toplevel_eval_flex at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:886
ijl_toplevel_eval_in at /cache/build/builder-demeter6-6/julialang/julia-master/src/toplevel.c:994
eval at ./boot.jl:430 [inlined]
exec_options at ./client.jl:296
_start at ./client.jl:531
jfptr__start_72144.1 at /home/pharaldsson/.julia/juliaup/julia-1.11.1+0.x64.linux.gnu/lib/julia/sys.so (unknown line)
jl_apply at /cache/build/builder-demeter6-6/julialang/julia-master/src/julia.h:2157 [inlined]
true_main at /cache/build/builder-demeter6-6/julialang/julia-master/src/jlapi.c:900
jl_repl_entrypoint at /cache/build/builder-demeter6-6/julialang/julia-master/src/jlapi.c:1059
main at /cache/build/builder-demeter6-6/julialang/julia-master/cli/loader_exe.c:58
unknown function (ip: 0x7fd399cc0d8f)
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x4010b8)
Allocations: 11107754 (Pool: 11107454; Big: 300); GC: 12
ERROR: Package Mousetrap errored during testing (received signal: 11)

@HyperSphereStudio
Copy link

I made some patches on my fork that seemed allow it to run on 1.11, but the errors from the Gdk dbus became annoying popups on the latest julia version so I didnt compile any packages for 1.11 - feel free to compile my source though.

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

2 participants