Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#194 Tabs and tab grouping bug

1.2.0
closed
nobody
None
5
2014-04-28
2014-03-19
Luca Daniel
No

I like to have tabs on the bottom all grouped together like:
Databases+Game List+Events+Players+ECO
But on this release there is a bug that crashed the application with the output:
"Segmentation fault (core dumped)"
I must mention that the crash happens only when I load a database for example "2700chess.com.pgn"
If I don't group them on the bottom from one edge to another and I group them lets say next to "Game Text" then it does not crash.
If I put "Players" or "Events" on bottom alone with no other view/tab near them the application crashes upon loading a database.
I've tried different combinations of tabs/view on the bottom:
--OK, no crash:
ECO
Databases+ECO
Databases+Gamelist+Analysis 1+Analysis 2+Opening Tree
--Crash:
Players
Events
Databases+Gamelist+ECO
It seems that any combination of "Players" or "Events" with other view/tabs crash but ECO can be put next to "Databases" and don't crash or if it's alone on bottom.
Either way it's a bug.
I was puzzled when I updated ChessX then suddenly the application crashed, then I moved the configs and started anew and tracked when the bug happened upon gradually configuring and loading a database. Weird...
The problem might be deeper than this but this is what I've discovered so far...

Discussion

  • Jens Nissen
    Jens Nissen
    2014-03-20

    Which OS (Mac/Windows) are you using?
    Can you post a (preferably) small database, which causes the issue?
    I do not believe, that the position is correlated with this, probably it has something to do with the combination of open widgets, even though I usually have them all open and did not see the crash so far.
    Is the opening tree widget open? I made the last changes there.

     
  • Luca Daniel
    Luca Daniel
    2014-03-20

    I'm using Arch Linux.
    There is no need of posting a database since every PGN file crashed ChessX, be it a file with just one game or hundreds or more games, be it if the PGN file has variations or the starting position is not the default one. You name it and it will crash the application.
    I have the widgets (grouped in tabs) below the board and below the "Game View" , basically at the bottom across the length of the hole windows application.
    I don't have opening widget / opening tree opened and I've already posted a combination of widgets where the "Opening Tree" is opened in tabs near others:
    Databases+Gamelist+Analysis 1+Analysis 2+Opening Tree
    If it's needed I will make a youtube video to demonstrate different combinations of widgets that work or don't work and crash ChessX, and also show that a simple or any PGN file (non empty PGN file) will crash the app with the specific combo widgets stacked at the bottom.

     
  • Luca Daniel
    Luca Daniel
    2014-03-20

    Here's a 2 game PGN file:
    http://pastebin.com/q9RYNLd9
    Copy and put it in a PGN file, when opening the PGN file with the 2 games ChessX crashes but when is only one game in the PGN file it does not crash.
    This bug is not present on Windows XP ... only on Linux.
    I've tracked the SVN development and it's there for some time but I thought that it will be fixed until a stable release, but I can't point exactly when or what commit but it's relatively recent.

     
  • Luca Daniel
    Luca Daniel
    2014-03-23

    I've made another discovery !
    The bug is related with the theme I use, maybe the way widgets are displayed.
    For example I use the Mate desktop (gnome2 fork) and I use the clearlooks-phenix gtk theme and qt apps are made to sync with gtk apps in regard to desktop theme so if I change to another theme then ChessX does not crash anymore. Some themes provoke the crash some don't, or if I confing in qtconfig that qt apps don't sync to the gtk theme then regardless what gtk theme I use ChessX won't crash anymore...
    But still this problem is recent since I didn't change my theme for quite some time and didn't have problems before...
    Sorry to bother you with such minute things.

     
  • Jens Nissen
    Jens Nissen
    2014-04-05

    It looks like a bug in Qt on Linux. As there is no way I can reproduce or debug the issue, I will close this one (as unresolved)

     
  • Jens Nissen
    Jens Nissen
    2014-04-05

    • status: open --> pending
     
  • Luca Daniel
    Luca Daniel
    2014-04-27

    Yup, you can close this one, it's not related to ChessX it might be related with Qt.

     
  • Jens Nissen
    Jens Nissen
    2014-04-28

    • status: pending --> closed