jmf Posted March 5, 2022 Share Posted March 5, 2022 Hi, I'm just getting started with Ultra App Kit from steam and I'm having a number of issue on Linux that I didn't notice right away, due to not using certain commands. I've tested and troubleshooted these issue in Manjaro, Ubuntu, and openSuse, with the same results on all three platforms. 1. In the new project dialog the ... ellipse folder picker button does nothing. 2. Application menus don't seem to work, straight copy pasted from the examples on the website(aside from minor changes where environment detection was done for plugin loading). When I click one of the menu items, e.g. "File", the menu appears near the center of the window detached from the menu bar, and clicking a menu item causes the program to hang. GDB doesn't show any output when this happens for a few seconds, before displaying "Warning: MapNotify is taking a long time to be received. This may cause window errors." I've tried breaking on any handled exception but I don't get any output. "(gdb) catch throw" aside from one instance in the "Advance Application Interface" tutorial, where I found that I needed to install "curl" and "zenity", but again failed when accessing the application menu. ctrl+c quitting the app and getting a backtrace, "(gdb) bt" doesn't show anything useful, because it's just related to the WaitEvent() in the while loop. $ gdb -q testapp_d Reading symbols from testapp_d... (gdb) run Starting program: /home/jmf/Documents/Ultra Engine/Projects/testapp/testapp_d [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Detaching after vfork from child process 68533] [Detaching after vfork from child process 68535] [Detaching after vfork from child process 68537] [Detaching after vfork from child process 68539] [Detaching after vfork from child process 68541] [Detaching after vfork from child process 68543] Loading icon "https://raw.githubusercontent.com/Leadwerks/Documentation/master/Assets/Icons/open.svg" [Detaching after vfork from child process 68545] Loading icon "https://raw.githubusercontent.com/Leadwerks/Documentation/master/Assets/Icons/save.svg" [Detaching after vfork from child process 68547] Loading icon "https://raw.githubusercontent.com/Leadwerks/Documentation/master/Assets/Icons/settings.svg" [Detaching after vfork from child process 68549] Loading icon "https://raw.githubusercontent.com/Leadwerks/Documentation/master/Assets/Icons/help.svg" [Detaching after vfork from child process 68551] [Detaching after vfork from child process 68553] [Detaching after vfork from child process 68560] [Detaching after vfork from child process 68562] [Detaching after vfork from child process 68600] Warning: MapNotify is taking a long time to be received. This may cause window errors. ^C # I use ctrl+c, program is hanging. Program received signal SIGINT, Interrupt. 0x00007ffff77a21e4 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffd6d0, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78 78 ../sysdeps/unix/sysv/linux/clock_nanosleep.c: No such file or directory. (gdb) bt #0 0x00007ffff77a21e4 in __GI___clock_nanosleep (clock_id=<optimized out>, clock_id@entry=0, flags=flags@entry=0, req=0x7fffffffd6d0, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:78 #1 0x00007ffff77a7ef7 in __GI___nanosleep (requested_time=<optimized out>, remaining=<optimized out>) at nanosleep.c:27 #2 0x0000000000433185 in UltraEngine::Sleep (milliseconds=1) at Source/Functions.cpp:1610 #3 0x000000000043bdfd in UltraEngine::EventQueue::Wait () at Source/Classes/GUI/EventQueue.cpp:279 #4 0x000000000043b79f in UltraEngine::WaitEvent () at Source/Classes/GUI/EventQueue.cpp:51 #5 0x0000000000411401 in main (argc=1, argv=0x7fffffffe0c8) at Source/main.cpp:228 (gdb) q 3. the compiler flags in the settings.json file for Linux should be: "makeArgs": ["CONFIGNAME=Debug","PRODUCT_SUFFIX=_d","CONFIGFLAGS=\"-ggdb\""]" 4. The Image Viewer tutorial seems to be missing a plugin, "FreeImage.so", (I can't determine where I'm supposed to be able to find plugins if there is a place), but that's just a guess, assuming it's not just necessary for windows (the dll version is there). The debug info is of no use. $ gdb -q testapp_d Reading symbols from testapp_d... (gdb) run Starting program: ~/Documents/Ultra Engine/Projects/testapp/testapp_d [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Loading plugin "Plugins/FITextureLoader.so" Error: Failed to load library "~/Documents/Ultra Engine/Projects/testapp/Plugins/FITextureLoader.so". Unloading plugin "Plugins/FITextureLoader.so". Failed to load FreeImage plugin. [Inferior 1 (process 69341) exited normally] (gdb) bt No stack. (gdb) All the output shown here is from a fresh & clean install of ubuntu 20.04.4 with all listed prerequisites installed + gdb, libc6 sources (for gdb), curl, and zenity. The output shown here is the same that I was getting on manjaro and opensuse. For this ubuntu test, I generated a new project from the launcher. Any info or guidance I can get would be greatly appreciated. Thank You. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.