Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

(Windows) GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed #298

Closed
musm opened this issue Apr 2, 2017 · 15 comments
Closed

Comments

@musm
Copy link

musm commented Apr 2, 2017

Julia Version 0.6.0-pre.alpha.325
Commit 980119a* (2017-03-30 16:30 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, haswell)

julia> Pkg.test("Gtk")
INFO: Testing Gtk

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed
file info contains: 13

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed
Test Summary: | Pass  Total
gui           |   67     67
Test Summary: | Pass  Total
glib          |    7      7
The following messages:
   WARNING: Error in @guarded callback
are expected and a sign of normal operation.
WARNING: Error in @guarded callback
ERROR: UndefVarError: k not defined
WARNING: Error in @guarded callback
ERROR: UndefVarError: k not defined
WARNING: Error in @guarded callback
ERROR: UndefVarError: k not defined
WARNING: Error in @guarded callback
ERROR: UndefVarError: k not defined

(julia.exe:11844): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed
Test Summary: | Pass  Total
misc          |    9      9
INFO: Gtk tests passed
@lobingera
Copy link
Contributor

lobingera commented Apr 3, 2017

i'm not sure, but
The GModule-CRITICAL could be a non-connectivity (gtk to local rendering) issue. I get similar messages on linux with a setup that has no local desktop, as i run only a window-manager, but not desktop. The Error in "at guarded callback, UndefVarError" is a real problem.

@timholy
Copy link
Member

timholy commented Apr 3, 2017

Those are just tests for the @guarded functionality. Note that those are preceded with

The following messages:
   WARNING: Error in @guarded callback
are expected and a sign of normal operation.

@lobingera
Copy link
Contributor

I see.

@musm
Copy link
Author

musm commented Apr 3, 2017

I'm not sure why I'm getting the GModule errors in that case? I'm running this on windows in a terminal and not on a headless server...

@lobingera
Copy link
Contributor

@musm Do you see something not working?

@musm
Copy link
Author

musm commented Apr 3, 2017

Things work AFAIK but the endless critical warnings are annoying, this probably has to do with how things where built in WinRPM I suspect

@ChrisRackauckas
Copy link

julia> ProfileView.view()

(julia.exe:43564): GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed
Gtk.GtkWindowLeaf(name="", parent, width-request=-1, height-request=-1, visible=TRUE, sensitive=TRUE, app-paintable=FALSE, can-focus=FALSE, has-focus=FALSE, is-focus=FALSE, can-default=FALSE, has-default=FALSE, receives-default=FALSE, composite-child=FALSE, style, events=0, no-show-all=FALSE, has-tooltip=FALSE, tooltip-markup=NULL, tooltip-text=NULL, window, opacity=1.000000, double-buffered, halign=GTK_ALIGN_FILL, valign=GTK_ALIGN_FILL, margin-left, margin-right, margin-start=0, margin-end=0, margin-top=0, margin-bottom=0, margin=0, hexpand=FALSE, vexpand=FALSE, hexpand-set=FALSE, vexpand-set=FALSE, expand=FALSE, scale-factor=1, border-width=0, resize-mode, child, type=GTK_WINDOW_TOPLEVEL, title="Profile", role=NULL, resizable=TRUE, modal=FALSE, window-position=GTK_WIN_POS_NONE, default-width=-1, default-height=-1, destroy-with-parent=FALSE, hide-titlebar-when-maximized=FALSE, icon, icon-name=NULL, screen, type-hint=GDK_WINDOW_TYPE_HINT_NORMAL, skip-taskbar-hint=FALSE, skip-pager-hint=FALSE, urgency-hint=FALSE, accept-focus=TRUE, focus-on-map=TRUE, decorated=TRUE, deletable=TRUE, gravity=GDK_GRAVITY_NORTH_WEST, transient-for, attached-to, has-resize-grip, resize-grip-visible, application, is-active=TRUE, has-toplevel-focus=TRUE, startup-id, mnemonics-visible=FALSE, focus-visible=FALSE, is-maximized=FALSE)

I'm getting this on the v0.5.1 generic binary.

@lobingera
Copy link
Contributor

I can reproduce (after some downloading and installation and http_proxy issues ...) on:

julia> versioninfo()
Julia Version 0.6.0-pre.beta.30
Commit a5b993c* (2017-04-05 04:25 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, ivybridge)

and i'm pretty much convinced, that it's a Gtk3 problem, not a Gtk.jl or julia problem. Gtk3 assumes some other components available and fails in connecting to them. Maybe it's possible to build the library without the assertions, but that's really a different story.

@timholy
Copy link
Member

timholy commented Apr 5, 2017

@ChrisRackauckas are you also on Windows? If so, let's edit the title of this issue to indicate that it seems Windows-specific.

@ChrisRackauckas
Copy link

Yeah Windows.

@timholy timholy changed the title GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed (Windows) GModule-CRITICAL **: g_module_symbol: assertion 'symbol != NULL' failed Apr 5, 2017
@timholy
Copy link
Member

timholy commented Apr 5, 2017

OK, so it's probably how the library is built for Windows. Perhaps this is an OpenSUSE build service issue: https://build.opensuse.org/project/show/windows%3Amingw%3Awin64 (via WinRPM.jl)?

@lobingera
Copy link
Contributor

just for the record:

  1. I tried very hard, but even in a plain Xsession (X11 running, but not window-manager or desktop) i couldn't provoke similar messages on linux.
  2. my firefox started from a terminal:

(firefox:4536): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

(firefox:4536): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed

(firefox:4536): GLib-GObject-CRITICAL **: g_object_ref: assertion 'object->ref_count > 0' failed

(firefox:4536): GLib-GObject-CRITICAL **: g_object_unref: assertion 'object->ref_count > 0' failed
...

@timholy
Copy link
Member

timholy commented Apr 5, 2017

The firefox one, is that on linux or windows?

@lobingera
Copy link
Contributor

Linux

@musm
Copy link
Author

musm commented Oct 26, 2020

stale

@musm musm closed this as completed Oct 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants