Topic: Possible segmentation fault in gweled?
I was somewhat randomly checking packages by installing them and saw that gweled may not boot up though can be installed with pacman as root and FlightGear needed more packages installed to boot up after installed.
Now I think FlightGear works after I installed those packages, but I do not know about gweled.
I have gweled 0.9.1-2 installed with pacman.
I clicked on the icon in the Lumina start menu / Browse Applications (I think) and the game does not come up.
I than typed gweled
in the LXTerminal and saw
[cody@localhost ~]$ gweled
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Segmentation fault
But TuxPaint shows
[cody@localhost ~]$ tuxpaint
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Could not open joystick device 0: There are 0 joysticks available
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: iCCP: too many profiles
libpng warning: bKGD: invalid gray level
libpng warning: bKGD: invalid gray level
libpng warning: bKGD: invalid gray level
libpng warning: bKGD: invalid gray level
libpng warning: iCCP: profile 'Photoshop ICC profile': 'GRAY': Gray color space not permitted on RGB PNG
libpng warning: iCCP: profile 'Photoshop ICC profile': 'GRAY': Gray color space not permitted on RGB PNG
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
libpng warning: Interlace handling should be turned on when using png_read_image
but still works. So no segmentation fault showed in TuxPaint when started this way.
I thought it was because of the "ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave" part, but both showed that.
So than I installed libopenmpt
thinking that libopenmpt had some sort of pcm
https://www.hyperbola.info/packages/?so … p;flagged=
but still saw
gweled
ALSA lib pcm_dmix.c:1032:(snd_pcm_dmix_open) unable to open slave
Segmentation fault
This reminds me of the problem I had running FlightGear, but that showed the extra packages I had to install when I checked it using LXTerminal and typed flightgear in it, and after I installed them for FlightGear that program ran, or at least booted up.
I did not test all of flightgear 2020.3.6-1 and it's flightgear-data 2020.3.6-1, but the Preflight Tutorial seems to work.
I have
libsndfile 1.0.31-2
libsndio 1.8.1-1
alsa-lib 1.2.6.1-1
alsa-topology-conf 1.2.5.1-1
alsa-ucm-conf 1.2.5.1-1
installed.
But I do not know what causes the Segmentation fault in gweled 0.9.1-2.
I have
gtk2
hicolor-icon-theme
libmikmod
librsvg
gettext-tiny
intltool
installed.
I tried
cd /home/cody/Desktop/Building/gweled
[cody@localhost gweled]$ makepkg
==> Making package: gweled 0.9.1-2 (Tue 09 Jul 2024 12:15:00 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading gweled-0.9.1.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 278 100 278 0 0 51 0 0:00:05 0:00:05 --:--:-- 65
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading http://launchpad.net/gweled/trunk/0.9.1 … 9.1.tar.gz
Aborting...
The link https://launchpad.net/gweled/legacy/0.9 … 9.1.tar.gz
may help. As this can be downloaded with wget.
I copied the gweled package build folder to /home/cody/Desktop/Building/gweled
from https://git.hyperbola.info:50100/packages/extra.git/
Though
git clone https://git.launchpad.net/gweled
works to download the repository.
wget https://mirror.fsf.org/hyperbola/gnu-pl … src.tar.lz
also can help get the source code.
I did not yet check the source code from the git repository, as I was used to using gitk to browse a repository, and the git repository may show code later than this code.
I'm reporting it at the forum because I tried to login to the https://issues.hyperbola.info/
and saw
Error #23: User or group not enabled for login.
The https://launchpad.net/gweled/1.0/1.0-beta1
shows in part
Features:
* Fixed 0 points on a intersect of two perpendicular lines (fixes lp#926449)
* Restored board filling animation on new game
* Removed level bonuses on endless game mode
* Improved gem animations and better timing of subsequent gem destroy
* Renamed icon and appdata to org.gweled.gweled
* Avoids spawning 3 or more gems of the same type in a row
* Started Flatpak support
* Updated Italian, Spanish and Norwegian Bokmal translations
* Other small improvements...Known bugs:
* No custom messages if your score is not in the first 10 ones
But I think this is likely only being made into a Flatpak software thing, so gweled may be distribute on Flatpak's Flathub, and not being used by the gweled developers to distribute extra things in gweled, though I do not know what Flatpak support will be used for.
I do not know much about Flatpak or what it is used for.
I see partly on https://en.wikipedia.org/wiki/Flatpak
Applications using Flatpak need permissions to have access to resources such as Bluetooth, sound (with PulseAudio), network, and files. These permissions are configured by the maintainer of the Flatpak and can be added or removed by users on their system.[8][9]
and
Another key feature of Flatpak is that it allows application developers to directly provide updates to users without going through distributions, and without having to package and test the application separately for each distribution.[10]
So if Flatpak needs permissions to access Bluetooth, sound (with PulseAudio), network, and files.
And it also allows application developers to directly provide "updates" to end users, I see why hyperbola does not have Flatpak.
As than the application developers could directly "update" things using Flatpak or possibly have access to the end user's Bluetooth, sound (with PulseAudio), network, and files.
https://wiki.hyperbola.info/doku.php?id … e_packages
The project itself would bring up another way to distribute software, but as there is no source available without non-free packages and also no restriction to be implemented: Possible non-free dependencies and software would be then provided direct on the system.
I do not yet have more information about the gweled segmentation fault.