Closed slacknk closed 8 years ago
Thanks for reporting this! Hmm.. Does it segfault immediately on startup? And just to be clear, by "git current" you mean latest in master (as opposed to downloading a release)?
Does it segfault immediately on startup?
immediately
...latest in master ...a release
This segfault since Ryochan7/antimicro version 2.21 (on slackware). I've tried to build 2.21 by hands: it's also failed, but version 2.20.2 of antimicro works.
My SlackBuild for Make the package: https://github.com/slacknk/slackware/blob/master/slackbuilds/_games/antimicro/antimicro.SlackBuild
//sorry for bad english
Thanks!
My SlackBuild for ...
Very helpful! I don't see any problems in your SlackBuild... I'll try installing 14.2 in a VM and see if I can track it down...
//sorry for bad english
Not a problem! I apologize for not having very much time to work on this. It may take a little while for me to track this down. Thanks for such a detailed bug report. :smile:
You know, I don't think I've used Slack since the kernel was at 2.2. Brings back memories. ... and wow, Fedora has really spoiled me! :innocent:
Good news - I'm able to reproduce it in a VM with slackware 14.2 32bit. Trying to track down the commit that broke things...
Looks like the problem was introduced in commit 05413d0...
Looks like issues are in src/common.h
and src/common.cpp
. @Ryochan7 converted them from const QString to extern QString. Not sure why... hmm...
Possible fix in commit 883a2037b.
Hi, @slacknk. I think I have a fix. Would you please try the dev branch? i.e. change line 140 of your SlackBuild to use origin/dev
instead of origin/master
. (This is temporary, you'll want to change it back after we're done). Thanks!
Thx, it's works. Tried to build and started on slackware32-14.2 (upgrated 14.1) - I've tried to build origin/dev of antimicro works. And tried to build with qt4 and 5.
use origin/dev instead of origin/master.
Hmm, maybe for first time created and shared patches for slackware (qt_slack)?..
~upd
Tried to build on slackware64 14.2/current (qt5 + kde5) - works fine!
2.21
SDL 2.0.4
Qt 5.6.1
Using Event Handler: XTest
@slacknk Great! I'm so glad it works!
use origin/dev instead of origin/master.
Hmm, maybe for first time created and shared patches for slackware (qt_slack)?..
Yes, origin/master
will contain the latest stable but unreleased and origin/dev
will contain the latest work that may not work.
Thanks again for all of your help!
@jsbackus , hi, i'm about https://github.com/AntiMicro/antimicro/commit/6f241c9b9fa4e884f48ce3882db664883270865f maintainer from _SBo is not I'm, maybe in README.md: "AntiMicro is currently available for SlackWare via SlackBuilds, thanks to NK and Klaatu"
and SlackWare -> Slackware "AntiMicro is currently available for Slackware via SlackBuilds, thanks to NK and Klaatu"
or just "AntiMicro is currently available for Slackware via SlackBuilds, thanks to Klaatu"
... and command(s), how from Fedora/Download section: # sbopkg -i antimicro
link too https://slackbuilds.org/result/?search=antimicro&sv=
AntiMicro is currently available for Slackware via SlackBuilds, thanks to NK and Klaatu https://slackbuilds.org/result/?search=antimicro&sv=
# sbopkg -i antimicro
@slacknk Whoops! Thanks for the correction! I've updated the README. My apologies!
Thx) Ok, But one moment maybe without
sbopkg -i antimicro
Now i'm know is not full commands for install, antimico require: SDL2 ...without this commands, ...or
AntiMicro is currently available for Slackware via SlackBuilds, thanks to NK and Klaatu: https://slackbuilds.org/result/?search=antimicro&sv=
- slackware-14.2, If you used sbopkg and SBo-repostory :
# sbopkg -Bki "SDL2 antimicro"
and top/up for Fedora # SuDo: $ sudo dnf install antimicro
or just, w/o
AntiMicro is currently available for Slackware via SlackBuilds, thanks to NK and Klaatu: https://slackbuilds.org/result/?search=antimicro&sv=
And i'm try contacts with Klaatu for slack_SBo updates) this time
@slacknk ah, yes, good point. Yes, we would need the command for a full install. I think you're right, we might be better off with just the link. I've updated the README again. Would you please check it? Thanks!
checked, allright and thanks for release and continued dev
~upd // oh, not about slackware. In Desc:
This program is currently supported under various Linux distributions, Windows (Vista and later), and FreeBSD. At the time of writing this, antimicro works in Windows XP but, since Windows XP is no longer supported, running the program in Windows XP will not be officially supported. However, efforts will be made to not intentionally break compatibility with Windows XP.
Also, FreeBSD support will be minimal for now. I don't use BSD on a daily basis so the main support for FreeBSD is being offered by Anton. He has graciously made a port of antimicro for FreeBSD that you can find at the following URL: http://www.freshports.org/x11/antimicro/.
Next time, maybe this is in Download section ?.. or w/o Win, only about FreeBSD http://www.freshports.org/x11/antimicro/
@slacknk Ooooh. Good point. That FreeBSD version is quite out of date and the homepage needs updated. I'll e-mail them. Thanks!
Last version that works - 2.20.2. I've tried both 2.21 and git current but I'm getting segmentation fault with the same stacktrace:
slackware32-14.1 and qt4(-4.8.7):
slackware64-current and qt5(-5.6.1):