Jump to content

Running on opensuse leap 15


Maxim
 Share

Recommended Posts

Hello all.

After purchasing and install Leadwerks engine on opensuse leap 15.0 x64, the engine can't run.

I try start it from terminal window, but without success. Only - 'Segmentation fault (core dumped)' message. Any coredumps didnt find on my system.

Thanks for any help.

Link to comment
Share on other sites

Have nvidia/ati drivers installed.

Run glxinfo program will be lot of output , should be opengl higher then 4 , i have 4.6.

https://www.leadwerks.com/community/topic/17061-compiling-c-on-linux/

Need to find/install those corresponding packages from opensuse package manager.

I made this with Leadwerks/UAK:

Structura Stacky Desktop Edition

Website:

Binary Station

Link to comment
Share on other sites

Hello.

Thank you for your response.

I checked glxinfo, below part of it output:

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 520 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.2
OpenGL core profile shading language version string: 4.50

Next, I try running Leadwerks executable via gdb:

maxim@linux-max-suse:~/.local/share/Steam/steamapps/common/Leadwerks> export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:."
maxim@linux-max-suse:~/.local/share/Steam/steamapps/common/Leadwerks> gdb ./Leadwerks
(gdb) r
Program received signal SIGSEGV, Segmentation fault.
0xf6fc1450 in __longjmp_chk () from /lib/libc.so.6
(gdb) bt

And, finally, get this:

#0  0xf6fc1450 in __longjmp_chk () from /lib/libc.so.6
#1  0xf3eac739 in ?? () from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
#2  0x08276b9e in png_error ()
#3  0x082735dc in png_create_read_struct_2 ()
#4  0xf3ead62b in ?? () from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so
#5  0xf73663b2 in gdk_pixbuf_new_from_file () from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0xf64e4fe7 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#7  0xf7d2d813 in g_cache_insert () from /usr/lib/libglib-2.0.so.0
#8  0xf64e5ecd in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#9  0xf64e5fab in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#10 0xf64e30da in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#11 0xf64e3dda in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#12 0xf7a1911f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xf794e4c7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xf76c05c7 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#15 0xf76d3765 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0xf76dc4cb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#17 0xf76dcf65 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#18 0xf7a67144 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xf78d3b16 in gtk_container_propagate_expose () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xf78d3b35 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xf789e8cc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xf78d2287 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xf78d247e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xf794e4c7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xf76c05c7 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0xf76d3765 in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0xf76dc4cb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0xf76dcf65 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0xf7a67144 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xf78d3b16 in gtk_container_propagate_expose () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xf78d3b35 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0xf78d2287 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xf78d247e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xf794e4c7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xf76c06a8 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#36 0xf76d3765 in ?? () from /usr/lib/libgobject-2.0.so.0
#37 0xf76dc4cb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#38 0xf76dcf65 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#39 0xf7a67144 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xf794cf57 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xf77a2d0a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#42 0xf77d226c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#43 0xf779f746 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#44 0xf77a005f in gdk_window_process_all_updates () from /usr/lib/libgdk-x11-2.0.so.0
#45 0xf78d20f3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xf777e62f in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#47 0xf7d5ea14 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#48 0xf7d5ee29 in ?? () from /usr/lib/libglib-2.0.so.0
#49 0xf7d5eed4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#50 0xf794bd6b in gtk_main_iteration_do () from /usr/lib/libgtk-x11-2.0.so.0
#51 0x089678a1 in ?? ()
#52 0x0898d44a in ?? ()
#53 0x089543cd in ?? ()
#54 0x0889ed46 in ?? ()
#55 0x08805125 in ?? ()
#56 0x082950a8 in ?? ()
#57 0x088018ec in ?? ()
#58 0x087ffcf0 in ?? ()
#59 0x08064804 in ?? ()
#60 0xf6ece7b3 in __libc_start_main () from /lib/libc.so.6
#61 0x08068829 in ?? ()

I'm not sure if this is related for OpenGL.

Link to comment
Share on other sites

glxinfo looks ok. definitely not related to opengl.

I tried to run the editor from that directory you use and doesnt work no crash but it cant find some so files. From steam works.

png_create_read_struct_2 i think is function from libpng.

Try update your system to latest just to be sure.

Lets see output from this commands:

gcc -v

ldd --version

And on binary:

ldd ./Leadwerks

Look here if it shows missing so entries.

 

I made this with Leadwerks/UAK:

Structura Stacky Desktop Edition

Website:

Binary Station

Link to comment
Share on other sites

Everething updated to the latest versions.

gcc -v
------
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/7/lto-wrapper
OFFLOAD_TARGET_NAMES=hsa:nvptx-none
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,ada,go --enable-offload-targets=hsa,nvptx-none=/usr/nvptx-none, --without-cuda-driver --enable-checking=release --disable-werror --with-gxx-include-dir=/usr/include/c++/7 --enable-ssp --disable-libssp --disable-libvtv --disable-libcc1 --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --with-gcc-major-version-only --enable-linker-build-id --enable-linux-futex --enable-gnu-indirect-function --program-suffix=-7 --without-system-libunwind --enable-multilib --with-arch-32=x86-64 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 7.3.1 20180323 [gcc-7-branch revision 258812] (SUSE Linux)
ldd --version
--------------
ldd (GNU libc) 2.26
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
ldd ./Leadwerks  
----------------
linux-gate.so.1 (0xf771b000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xf7592000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xf758b000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf745b000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xf6f70000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xf6eae000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xf6e59000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xf6df9000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xf6df4000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xf6d8d000)
libopenal.so.1 => /usr/lib/libopenal.so.1 (0xf6ccb000)
libsteam_api.so (0xf6c7b000)
libXft.so.2 => /usr/lib/libXft.so.2 (0xf6c60000)
libdl.so.2 => /lib/libdl.so.2 (0xf6c5b000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xf6c45000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xf6c35000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xf6acd000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xf6aa2000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf6a96000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf6910000)
libm.so.6 => /lib/libm.so.6 (0xf6815000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf67f9000)
libpthread.so.0 => /lib/libpthread.so.0 (0xf67da000)
libc.so.6 => /lib/libc.so.6 (0xf65fd000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf65d0000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0xf653f000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf6538000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xf6510000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xf6329000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xf630f000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf62c3000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf62bf000)
libXi.so.6 => /usr/lib/libXi.so.6 (0xf62ac000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf629f000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf6291000)
libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xf628d000)
libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xf6289000)
libthai.so.0 => /usr/lib/libthai.so.0 (0xf627e000)
libffi.so.7 => /usr/lib/libffi.so.7 (0xf6275000)
libGLX.so.0 => /usr/lib/libGLX.so.0 (0xf6252000)
libGLdispatch.so.0 => /usr/lib/libGLdispatch.so.0 (0xf61f3000)
librt.so.1 => /lib/librt.so.1 (0xf61e9000)
/lib/ld-linux.so.2 (0xf771d000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf613c000)
libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xf608e000)
libEGL.so.1 => /usr/lib/libEGL.so.1 (0xf6076000)
libpng16.so.16 => /usr/lib/libpng16.so.16 (0xf6027000)
libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0xf6022000)
libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0xf6013000)
libz.so.1 => /lib/libz.so.1 (0xf5ffa000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf5ff5000)
libselinux.so.1 => /lib/libselinux.so.1 (0xf5fc8000)
libresolv.so.2 => /lib/libresolv.so.2 (0xf5fb0000)
libmount.so.1 => /usr/lib/libmount.so.1 (0xf5f4a000)
libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0xf5e97000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf5e63000)
libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0xf5e5a000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0xf5e3e000)
libblkid.so.1 => /usr/lib/libblkid.so.1 (0xf5de5000)
libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0xf5dbc000)
libuuid.so.1 => /usr/lib/libuuid.so.1 (0xf5db3000)

 

Link to comment
Share on other sites

ldd output looks ok , its similar to what i have.

Im using ubuntu 18.04 and has sligthly older gcc 7.3.0.

Hmm this could be libc incompatibility or some problem with the newest libpng.

I would try putting on the system an older libpng.

Try from package manager if its posible.Or just backup include and lib files for libpng and replace.

 

I think Josh said Leadwerks supports Ubuntu 16.04.

I dont have other idea at the moment.

I made this with Leadwerks/UAK:

Structura Stacky Desktop Edition

Website:

Binary Station

Link to comment
Share on other sites

I have installed the oldest version of libpng, but Leadwerks editor requires libpng16.so.16.

Thanks for the help!

This is my first experience with Leadwerks, unfortunately unsuccessful :)

I think my problem worth for email to supports.

Kind regards!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...