ExplosBlue / CoinKiller

NSMB2 level editor!
GNU General Public License v3.0
52 stars 19 forks source link

Clicking on a path sometimes crashes CoinKiller #59

Closed mariomadproductions closed 1 year ago

mariomadproductions commented 3 years ago

See this level for example:

1-2.sarc.zip

ExplosBlue commented 3 years ago

I took a look at the provided level but was unable to produce any kind of crash relating to selecting/interacting with paths.

Are you using a pre-built CoinKiller binary, or are you building from source? If you are using a pre-built binary, please ensure you are using the latest version.

Could you also provide more information on exactly what you did before the crash occurred?

mariomadproductions commented 3 years ago

I built from the latest source. I've uploaded the built in case that helps. It requires Qt6 to be installed in /opt/Qt. CoinKiller.zip

To recreate it, I just have to click on the node 2 of path 1 (overlaying the lift), and if that doesn't trigger the crash on its own, then I need to do one of the following: move the mouse move the mouse over the the path settings move the mouse over the path settings and click on them Then in the console I get /home/user/bin/coinkiller: line 4: 6287 Segmentation fault (core dumped) $folder/CoinKiller. $folder/CoinKiller is just the command i use in the shell script to launch CoinKiller:

#!/usr/bin/env bash
folder=~/opt/CoinKiller
cd $folder
$folder/CoinKiller

(maybe CoinKiller can cope with the working directory not being in its folder, so this script may be unneeded)

ExplosBlue commented 1 year ago

Was fixed in 611a24db07d565d5f538f3596deb19bfaf988119