[GRASS-user] gui not working in 7.9 after debian uprade to bullseye

Hello,

I have upgraded my distro from debian buster to bullseye. I had two grass release installed installed : 1- grass 7.8.5 from repository, still works fine. 2- a grass 7.9 compiled. When I run this one I get this message :

Lancement de l’interface graphique en tâche de fond, merci de patienter …
GRASS 7.9.dev (France_L93):~ > free(): double free detected in tcache 2
Impossible de déterminer la version de GRASS
free(): double free detected in tcache 2
Traceback (most recent call last):
File “/usr/local/grass79/scripts/g.extension”, line 2177, in
version = grass_version[‘version’].split(‘.’)
KeyError: ‘version’
free(): double free detected in tcache 2
Traceback (most recent call last):
File “/usr/local/grass79/gui/wxpython/wxgui.py”, line 106, in OnInit
mainframe = GMFrame(parent=None, id=wx.ID_ANY,
File “/usr/local/grass79/gui/wxpython/lmgr/frame.py”, line 143, in init
self.notebook = self._createNoteBook()
File “/usr/local/grass79/gui/wxpython/lmgr/frame.py”, line 337, in _createNoteBook
self.goutput = GConsoleWindow(
File “/usr/local/grass79/gui/wxpython/gui_core/goutput.py”, line 118, in init
self.cmdPrompt = GPromptSTC(parent=self, menuModel=self._menuModel)
File “/usr/local/grass79/gui/wxpython/gui_core/prompt.py”, line 138, in init
GPrompt.init(self, parent=parent, menuModel=menuModel)
File “/usr/local/grass79/gui/wxpython/gui_core/prompt.py”, line 56, in init
self.mapList = self._getListOfMaps()
File “/usr/local/grass79/gui/wxpython/gui_core/prompt.py”, line 100, in _getListOfMaps
result[‘raster’] = grass.list_strings(‘raster’)
File “/usr/local/grass79/etc/python/grass/script/core.py”, line 1347, in list_strings
for line in read_command(“g.list”,
File “/usr/local/grass79/etc/python/grass/script/core.py”, line 565, in read_command
return handle_errors(returncode, stdout, args, kwargs)
File “/usr/local/grass79/etc/python/grass/script/core.py”, line 392, in handle_errors
raise CalledModuleError(module=module, code=code,
grass.exceptions.CalledModuleError: Module run g.list g.list --q -m type=raster ended with error
Process ended with non-zero return code -6. See errors in the (error) output.
OnInit returned false, exiting…
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed at …/src/common/wincmn.cpp(477) in ~wxWindowBase(): any pushed event handlers must have been removed

Do you have an idea to solve this problem ?

Thank you

Frank