Banksia GUI released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Gabor Szots wrote: ↑Sat Apr 18, 2020 8:17 pm At the moment I can't find a pattern for the crashes. Below I show two samples from Windows event logging. The second one is a translation by me, for you to understand better, I may not have found the appropriate English terms. Common in the error logs is the modul which caused the error: C:\WINDOWS\System32\ucrtbase.dll

A hibát okozó alkalmazás neve: BanksiaGui.exe, verzió: 0.0.0.0, időbélyeg: 0x5e969884
A hibát okozó modul neve: ucrtbase.dll, verzió: 10.0.18362.387, időbélyeg: 0x4361b720
Kivételkód: 0xc0000409
Hiba pozíciója: 0x000000000006db8e
A hibát okozó folyamat azonosítója: 0xec8
A hibát okozó alkalmazás indításának időpontja: 0x01d6159925b35ede
A hibát okozó alkalmazás elérési útja: E:\Sakk\Banksia\BanksiaGui.exe
A hibát okozó modul elérési útja: C:\WINDOWS\System32\ucrtbase.dll
Jelentés azonosítója: b0f26e6c-0869-4614-9625-5b9ff8b62b53
A hibát okozó csomag teljes neve:
A hibát okozó csomag relatív alkalmazásazonosítója:

Application causing the error: BanksiaGui.exe, verzió: 0.0.0.0, time stamp: 0x5e969884
Module causing the error: ucrtbase.dll, verzió: 10.0.18362.387, time stamp: 0x4361b720
Exception code: 0xc0000409
Error position: 0x000000000006db8e
Process ID causing the error: 0x914
Start time of the application that caused the error: 0x01d6156010b7e339
Path to application causing the error: E:\Sakk\Banksia\BanksiaGui.exe
Path to module causing the error: C:\WINDOWS\System32\ucrtbase.dll
Report identifier: a7bcd4ed-4692-4592-9751-ef040e05a142
Full name of package causing the error:
Relative application identifier of the package causing the error:
I'm going to investigate further as time allows.
RubiChess wrote: ↑Sat Apr 18, 2020 9:47 pm 0xc0000409 ist "stack overflow". Too many functions called putting too much data on the stack. Usually you can give the linker an option for the needed stack size but I don't know anything about how Banksia is build so this is just a hint for the author.

Andreas
Dann Corbit wrote: ↑Sun Apr 19, 2020 12:28 am
RubiChess wrote: ↑Sat Apr 18, 2020 9:47 pm 0xc0000409 ist "stack overflow". Too many functions called putting too much data on the stack. Usually you can give the linker an option for the needed stack size but I don't know anything about how Banksia is build so this is just a hint for the author.

Andreas
For a windows program you can also enlarge the stack of an existing executable
Thanks all for your effort and info. Look like crash logs don't provide a good clue to guess the bug. Please try with limited tournaments (limit number of engines, games, turn off all logs, openings, syzygy...) to find the point/pattern of the crash. Thanks again.
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Version 0.21 released

Post by phhnguyen »

Version 0.21 released
  • Fixed bugs: almost all known bugs: can’t remember adjudication parameters, tech table can’t be sorted, crash if opening games when the main window minimized…
  • Some small improvements/adjustments
  • New feature: support French (translated by Arnaud Loheac)
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
Jonathan003
Posts: 247
Joined: Fri Jul 06, 2018 4:23 pm
Full name: Jonathan Cremers

Re: Banksia GUI released

Post by Jonathan003 »

Hi,
I wanted to try the new book merging options for pgn books, in Banksia 0.21
When I tried to make a bgdb from a pgn database, the pgn database is not listed.
I made a video capture of it:
Rom77
Posts: 53
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Banksia GUI released

Post by Rom77 »

phhnguyen, here is another problem:

When I launched Banksia on another computer and tried to install the engines, after restarting the GUI, the records about these engines disappeared. Banksia has returned to its original state. Only the general settings are saved. Verification showed that the GUI cannot create .json files in the directory where all the settings are stored. And if .json files are forced to be created, then they are not changed. But at the same time, the rest of the configuration files are created and modified without problems.

The only difference the other computer that I noticed is that the path to the directory with the Banksia settings contains non-Latin characters - Cyrillic. The path is something like this: "c:/Users/Имя_пользователя/AppDataRoaming/BanksiaGUI/" Unfortunately, Cyrillic characters indicate the Username of the user in Windows. Therefore, if the problem really consists in using non-Latin characters, then it looks quite serious and can affect many users.

Here I remembered that I had previously encountered a similar problem. It is resolved, but apparently not completely. Files under "Logs:" were not previously saved in directories whose path contained non-Latin characters. Now they are saved, everything is fine, but the path to them still looks strange:

For example, the real way is this:
"C:/Загрузки/Chess/BanksiaGui/Tests/logresults.txt"

But when you click "JSON" in the "New tournament" window, the path is displayed as
"path": "C:/u0417/u0430/u0433/u0440/u0443/u0437/u043a/u0438/Chess/BanksiaGui/Tests/logresults.txt"

I wanted to put the Banksia settings directory in a different place. But unfortunately this is not possible, since in the "File => Settings => General => Configuration files" window you cannot change the location of the directory (by the way, this would be useful in any case). So I can’t even test my hypothesis.
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Jonathan003 wrote: ↑Sat Apr 25, 2020 1:34 pm Hi,
I wanted to try the new book merging options for pgn books, in Banksia 0.21
When I tried to make a bgdb from a pgn database, the pgn database is not listed.
I made a video capture of it:
Thanks for the report!

For creating a database, BSG works with a folder (which may have multi PGN files) thus you need to select a folder, not a PGN file. Can you verify that? Thanks
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Banksia GUI released

Post by phhnguyen »

Rom77 wrote: ↑Sat Apr 25, 2020 5:48 pm phhnguyen, here is another problem:

When I launched Banksia on another computer and tried to install the engines, after restarting the GUI, the records about these engines disappeared. Banksia has returned to its original state. Only the general settings are saved. Verification showed that the GUI cannot create .json files in the directory where all the settings are stored. And if .json files are forced to be created, then they are not changed. But at the same time, the rest of the configuration files are created and modified without problems.

The only difference the other computer that I noticed is that the path to the directory with the Banksia settings contains non-Latin characters - Cyrillic. The path is something like this: "c:/Users/Имя_пользователя/AppDataRoaming/BanksiaGUI/" Unfortunately, Cyrillic characters indicate the Username of the user in Windows. Therefore, if the problem really consists in using non-Latin characters, then it looks quite serious and can affect many users.

Here I remembered that I had previously encountered a similar problem. It is resolved, but apparently not completely. Files under "Logs:" were not previously saved in directories whose path contained non-Latin characters. Now they are saved, everything is fine, but the path to them still looks strange:

For example, the real way is this:
"C:/Загрузки/Chess/BanksiaGui/Tests/logresults.txt"

But when you click "JSON" in the "New tournament" window, the path is displayed as
"path": "C:/u0417/u0430/u0433/u0440/u0443/u0437/u043a/u0438/Chess/BanksiaGui/Tests/logresults.txt"

I wanted to put the Banksia settings directory in a different place. But unfortunately this is not possible, since in the "File => Settings => General => Configuration files" window you cannot change the location of the directory (by the way, this would be useful in any case). So I can’t even test my hypothesis.
Thanks a lot for the report. I have been fixing that bug. In the next version, users can:
- Use Unicode folder for configuration/JSON files (hope it works ;) )
- Store configuration/JSON files in a custom/new folder to avoid Unicode problem (I am using some std C++ library and they are not good at Unicode) or for having more choices
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
supersharp77
Posts: 1271
Joined: Sat Jul 05, 2014 7:54 am
Location: Southwest USA

Re: Version 0.20 beta released

Post by supersharp77 »

phhnguyen wrote: ↑Sun Apr 19, 2020 11:31 am
Charly wrote: ↑Sat Apr 18, 2020 5:12 pm
phhnguyen wrote: ↑Wed Apr 15, 2020 8:54 am Version 0.20 beta released

1) Fixed bugs: almost all known bugs so far such as bugs on loading ongoing tournaments, tournament games on from round 2 have no openings, buttons for moving tournament records don’t work…

2) Some small improvements/adjustments

3) Some improvements
  • Configurable adjudication by scores
  • Play via Internet Chess Server such as FICS: show more info, result tables, summary; game can abort; Seek can use formula; Auto seek to continue playing event the account is a computer one.
4) New features
  • Merge opening books in formats PGN and EDP
  • Support multi-languages: it still needs translated language files. if you can, please help us and other people to translate BSG into your languages
Hi,
I just sent you the french translation (format .qm) to your gmail address :D
Wow, you are so fast. Thank you very much. I got it and am going to publish it soon. I believe the community will get benefits and highly appreciate your work!
Banksia GUI.......Issues.....my Swiss system Tourneys are running pretty well....some engines that do not crash are crashing including ExChess 4.03 (wb & uci) Fairy Stockfish (working in Fritz Gui) Gullydeckel 2.15 pl10 (never crashes wb &uci)...Mace II v0.22 (illegal move crash)....Human Engine Fairy Stockfish & other engines seem to be missing the Full engine parameters (seen this also in Shredder GUI) ELO box missing and in Fairy Stockfish chess variant box seems to be missing....so engines will not run properly or not at all

PSSS: Tourney Game adjudication box is still not added to the GUI...(very important)....Thx AR :) :wink:
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Re: Version 0.20 beta released

Post by phhnguyen »

Thanks a lot for the report and the list of problem engines. I am going to run those engines for testing.
supersharp77 wrote: ↑Tue Apr 28, 2020 7:37 pm
Banksia GUI.......Issues.....my Swiss system Tourneys are running pretty well....some engines that do not crash are crashing including ExChess 4.03 (wb & uci) Fairy Stockfish (working in Fritz Gui) Gullydeckel 2.15 pl10 (never crashes wb &uci)...Mace II v0.22 (illegal move crash)....Human Engine Fairy Stockfish & other engines seem to be missing the Full engine parameters (seen this also in Shredder GUI) ELO box missing and in Fairy Stockfish chess variant box seems to be missing....so engines will not run properly or not at all

PSSS: Tourney Game adjudication box is still not added to the GUI...(very important)....Thx AR :) :wink:
- BSG ignores only some special options (start with UCI_ such as UCI_Variant). Otherwise, it should full the options. If you see some options missing, please post its image here
- BSG doesn't support any chess variants but only standard one (the next release will support Chess960 and support special option UCI_Variant and UCI_Chess960)
- BSG can show ELO, game adjudication setup as below image

Image
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
User avatar
phhnguyen
Posts: 1543
Joined: Wed Apr 21, 2010 4:58 am
Location: Australia
Full name: Nguyen Hong Pham

Version 0.22 beta released

Post by phhnguyen »

Version 0.22 beta released

* Fixed bugs: almost all known bugs, e.g., adjudicate with shorter ply range 
* Some small improvements/adjustments: such as showing ponderhits
* New features:
- Support Chess960
- Changeable configuration folder (the folder to store all BSG’s JSON, init files) by using command line parameter -configpath PATH

Notes:
- Chess960 is the first chess variant we support, affected so many functions. Likely there are some bugs. Please help us to test and find them out.
- When creating a new Chess960 game, users can select the starting positions from a sortable list with some extra info such as win/draw rates (data calculated from CCRL games) as Fig. 1
- For the older versions, BSG did not support and ignore the engine option UCI_Chess960. Now users need to update option lists of engines thus BSG can know which one supports Chess960. Use the button "All" from Settings dialog as Fig. 2.

Image
Fig. 1: select openings for a Chess60 game

Image
Fig. 2: auto update option lists for all engines
https://banksiagui.com
The most features chess GUI, based on opensource Banksia - the chess tournament manager
Rom77
Posts: 53
Joined: Wed Oct 24, 2018 7:37 am
Full name: Roman Zhukov

Re: Banksia GUI released

Post by Rom77 »

phhnguyen wrote: ↑Tue Apr 28, 2020 5:32 pm Thanks a lot for the report. I have been fixing that bug. In the next version, users can:
- Use Unicode folder for configuration/JSON files (hope it works ;) )
This works for a path with non-Latin characters. Everything is fine.
phhnguyen wrote: ↑Wed Apr 29, 2020 5:22 pm - Changeable configuration folder (the folder to store all BSG’s JSON, init files) by using command line parameter -configpath PATH
1. This does not work for a path with non-Latin characters. The GUI does not find the directory:
https://prnt.sc/s8duws

2. I hope this method will be written somewhere, since not everyone will know about it. And besides, it’s easy to forget about this method and command that it uses.