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

wxwidgets app #191

Open
LeonB opened this issue Jul 3, 2019 · 3 comments
Open

wxwidgets app #191

LeonB opened this issue Jul 3, 2019 · 3 comments

Comments

@LeonB
Copy link

LeonB commented Jul 3, 2019

I'm trying to snap beersmith3 with uses wxwidgets. When executing it I get this output and the app never starts:

leon@polly:~/Dropbox/Persoonlijk/projects/beersmith-snap$ /snap/bin/beersmith3 
Gtk-Message: 00:59:12.662: Failed to load module "canberra-gtk-module"
Gtk-Message: 00:59:12.678: Failed to load module "canberra-gtk-module"
00:59:12: SLib::Init - logging started
00:59:12: BeerSmith3
12:59:12 AM: Debug: Failed to connect to session manager: None of the authentication protocols specified are supported
00:59:12: SLib::Init - Creating BResource
00:59:12: SLib::Init - Loading resources
Gtk-Message: 00:59:13.243: GtkDialog mapped without a transient parent. This is discouraged.
00:59:15: SLib::Init - Loading opts table
00:59:15: GetDocumentsDir() returning: /home/leon/snap/beersmith3/x1/.beersmith3/
00:59:15: BSApp: m_scale=1000, m_xpix=8, m_ypix=16
00:59:15: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:15.601: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
Gtk-Message: 00:59:17.768: GtkDialog mapped without a transient parent. This is discouraged.
sh: 1: addr2line: not found
00:59:22: Debug: cannot read address information for stack frame #0
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(beersmith3:19530): Gtk-CRITICAL **: 00:59:22.760: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed

(beersmith3:19530): Gtk-WARNING **: 00:59:22.760: gtk_widget_size_allocate(): attempt to allocate widget with width 12 and height -12

(beersmith3:19530): Gtk-CRITICAL **: 00:59:22.760: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

00:59:35: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:35.896: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
Gtk-Message: 00:59:37.687: GtkDialog mapped without a transient parent. This is discouraged.
00:59:38: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:39.001: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
Gtk-Message: 00:59:39.955: GtkDialog mapped without a transient parent. This is discouraged.
00:59:42: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:42.343: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
00:59:43: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:43.609: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
00:59:44: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:44.295: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
00:59:44: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:44.606: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
00:59:45: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:45.218: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
00:59:45: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:45.530: GtkDialog mapped without a transient parent. This is discouraged.
SLib.cpp(874): assert "0" failed in SAssert().
00:59:45: Debug: Assertion Failed! - [File BSchema.cpp:465 compiled Jul 30 2018]
Gtk-Message: 00:59:45.889: GtkDialog mapped without a transient parent. This is discouraged.
^C

I believe this is the core error: 12:59:12 AM: Debug: Failed to connect to session manager: None of the authentication protocols specified are supported

The snapcraft can be found here: https://github.com/LeonB/beersmith-snap

What am I doing wrong here?

@LeonB
Copy link
Author

LeonB commented Jul 3, 2019

ldd output:

$ ldd /usr/bin/beersmith3 
	linux-vdso.so.1 (0x00007ffdce6f4000)
	libwebkit2gtk-4.0.so.37 => /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37 (0x00007efd9e300000)
	libjavascriptcoregtk-4.0.so.18 => /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18 (0x00007efd9d085000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007efd9cd4d000)
	libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007efd9cb47000)
	libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007efd9c93f000)
	libgtk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-3.so.0 (0x00007efd9c037000)
	libgdk-3.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-3.so.0 (0x00007efd9bd41000)
	libpangocairo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0 (0x00007efd9bb34000)
	libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007efd9b817000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007efd9b5f3000)
	libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007efd9b254000)
	libpangoft2-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0 (0x00007efd9b03e000)
	libpango-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0 (0x00007efd9adf1000)
	libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007efd9ab9d000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007efd9a887000)
	libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007efd9a642000)
	libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007efd9a410000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007efd9a1f3000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efd99fef000)
	libssl.so.1.1 => /usr/lib/x86_64-linux-gnu/libssl.so.1.1 (0x00007efd99d62000)
	libcrypto.so.1.1 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 (0x00007efd99897000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007efd9950e000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efd99170000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007efd98f58000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007efd98d39000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efd98948000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007efd986bc000)
	libEGL.so.1 => /usr/lib/x86_64-linux-gnu/libEGL.so.1 (0x00007efd984a8000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007efd982a0000)
	libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007efd9807a000)
	libnotify.so.4 => /usr/lib/x86_64-linux-gnu/libnotify.so.4 (0x00007efd97e72000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007efd97ab1000)
	libxslt.so.1 => /usr/lib/x86_64-linux-gnu/libxslt.so.1 (0x00007efd97874000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007efd9756b000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007efd971b4000)
	libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007efd96d13000)
	libwoff2dec.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libwoff2dec.so.1.0.2 (0x00007efd96b08000)
	libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007efd96854000)
	libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007efd965b6000)
	libharfbuzz-icu.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so.0 (0x00007efd963b3000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007efd96098000)
	libgstapp-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-1.0.so.0 (0x00007efd95e89000)
	libgstbase-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so.0 (0x00007efd95c14000)
	libgstreamer-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so.0 (0x00007efd958d9000)
	libgstpbutils-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0 (0x00007efd956a1000)
	libgstaudio-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0 (0x00007efd9542c000)
	libgsttag-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0 (0x00007efd951f1000)
	libgstvideo-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0 (0x00007efd94f59000)
	libgstgl-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstgl-1.0.so.0 (0x00007efd94cf3000)
	libgstfft-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so.0 (0x00007efd94ae8000)
	libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007efd94880000)
	libwebp.so.6 => /usr/lib/x86_64-linux-gnu/libwebp.so.6 (0x00007efd94617000)
	libwebpdemux.so.2 => /usr/lib/x86_64-linux-gnu/libwebpdemux.so.2 (0x00007efd94412000)
	libenchant.so.1 => /usr/lib/x86_64-linux-gnu/libenchant.so.1 (0x00007efd94206000)
	libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007efd94002000)
	libsecret-1.so.0 => /usr/lib/x86_64-linux-gnu/libsecret-1.so.0 (0x00007efd93db2000)
	libsoup-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1 (0x00007efd93abf000)
	libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007efd938ac000)
	libhyphen.so.0 => /usr/lib/x86_64-linux-gnu/libhyphen.so.0 (0x00007efd936a6000)
	libXcomposite.so.1 => /usr/lib/x86_64-linux-gnu/libXcomposite.so.1 (0x00007efd934a3000)
	libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007efd932a0000)
	libwayland-server.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-server.so.0 (0x00007efd9308d000)
	libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007efd92e8b000)
	libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007efd92c7c000)
	/lib64/ld-linux-x86-64.so.2 (0x00007efda1ae9000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007efd92a54000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007efd92842000)
	libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007efd92627000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007efd92420000)
	libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007efd92210000)
	libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007efd9200a000)
	libcairo-gobject.so.2 => /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2 (0x00007efd91e01000)
	libatk-bridge-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0 (0x00007efd91bd0000)
	libepoxy.so.0 => /usr/lib/x86_64-linux-gnu/libepoxy.so.0 (0x00007efd918cf000)
	libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007efd916cc000)
	libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007efd914c1000)
	libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007efd912b7000)
	libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007efd91078000)
	libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007efd90e70000)
	libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007efd90bcb000)
	libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007efd909c8000)
	libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007efd907bb000)
	libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007efd905b1000)
	libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007efd90389000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007efd9016e000)
	libmount.so.1 => /lib/x86_64-linux-gnu/libmount.so.1 (0x00007efd8ff1a000)
	libthai.so.0 => /usr/lib/x86_64-linux-gnu/libthai.so.0 (0x00007efd8fd11000)
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007efd8fb09000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007efd8f897000)
	libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007efd8f665000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007efd8f434000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007efd8f17e000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007efd8ef58000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007efd8d3af000)
	libwoff2common.so.1.0.2 => /usr/lib/x86_64-linux-gnu/libwoff2common.so.1.0.2 (0x00007efd8d1ac000)
	libbrotlidec.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x00007efd8cfa0000)
	libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007efd8cd73000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007efd8cb5e000)
	liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007efd8c8e2000)
	libgstallocators-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgstallocators-1.0.so.0 (0x00007efd8c6de000)
	libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007efd8c4dc000)
	libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007efd8c2cb000)
	libgbm.so.1 => /usr/lib/x86_64-linux-gnu/libgbm.so.1 (0x00007efd8c0bd000)
	libgudev-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libgudev-1.0.so.0 (0x00007efd8beb3000)
	libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007efd8bc68000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007efd8ba64000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007efd8b85e000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007efd8b649000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007efd8b3fc000)
	libatspi.so.0 => /usr/lib/x86_64-linux-gnu/libatspi.so.0 (0x00007efd8b1cc000)
	libblkid.so.1 => /lib/x86_64-linux-gnu/libblkid.so.1 (0x00007efd8af7f000)
	libdatrie.so.1 => /usr/lib/x86_64-linux-gnu/libdatrie.so.1 (0x00007efd8ad78000)
	libbrotlicommon.so.1 => /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x00007efd8ab58000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007efd8a93a000)
	libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007efd8a664000)
	libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007efd8a432000)
	libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007efd8a22e000)
	libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007efd8a023000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007efd89d9f000)
	libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007efd89b9b000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007efd8997f000)

@brlin-tw
Copy link
Contributor

You might want to check out The wxWidgets SDK Stage Snaps - Snap documentation

@LeonB
Copy link
Author

LeonB commented Jul 25, 2019

@Lin-Buo-Ren thanks! I'll check it out

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