Skip to content

Double free error while updating #193

@bma-vandijk

Description

@bma-vandijk

Hi,

I stumbled upon some other thing while running a LaMachine update which I think I'm not really equipped to handle.

fatal: [LAPTOP-5N7G0RHD.localdomain]: FAILED! => {
"changed": false,
"cmd": "#!/bin/bash\nexport LM_QUIET=1\nif [ -e /home/bmavd/bin/lamachine-lama-activate ]; then\n source /home/bmavd/bin/lamachine-lama-activate\nelse\n echo "Activation script /home/bmavd/bin/lamachine-lama-activate not found! ">&2\n exit 2\nfi\nhash -r #clear cache\necho "Run environment:">&2\necho " LM_NAME=$LM_NAME">&2\necho " PATH=$PATH">&2\necho " LD_LIBRARY_PATH=$LD_LIBRARY_PATH">&2\necho " VIRTUAL_ENV=$VIRTUAL_ENV">&2\necho " PYTHONPATH=$PYTHONPATH">&2\necho " PYTHON=$(which python3)">&2\necho " PIP=$(which pip3)">&2\necho " LANG=$LANG">&2\necho " LC_ALL=$LC_ALL">&2\necho "Running: python3 -c 'import frog'">&2\npython3 -c 'import frog'\n",
"delta": "0:00:00.379054",
"end": "2021-01-08 09:39:13.476208",
"rc": -6,
"start": "2021-01-08 09:39:13.097154"
}

STDERR:

Run environment:
LM_NAME=lama
PATH=/home/bmavd/lama/bin:/home/bmavd/bin:/home/bmavd/lama/bin:/home/bmavd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.812.0_x64__79rhkp1fndgsc:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Python38/Scripts/:/mnt/c/Python38/:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/dotnet/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/bma-v/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/bma-v/AppData/Roaming/Python/Python38/Scripts:/mnt/c/Users/bma-v/AppData/Local/GitHubDesktop/bin:/mnt/c/Users/bma-v/.dotnet/tools:/snap/bin
LD_LIBRARY_PATH=/home/bmavd/lama/lib/:/home/bmavd/lama/opt/Alpino/create_bin/extralibs/boost:/home/bmavd/lama/opt/Alpino/create_bin/extralibs
VIRTUAL_ENV=/home/bmavd/lama
PYTHONPATH=
PYTHON=/home/bmavd/lama/bin/python3
PIP=/home/bmavd/lama/bin/pip3
LANG=C.UTF-8
LC_ALL=en_US.UTF_8
Running: python3 -c 'import frog'
free(): double free detected in tcache 2

MSG:

non-zero return code

In Python I can still use the python-frog binding and properly parse text, but when I try to exit Python I get the following output:

double free or corruption (fasttop)
lAborted

Thanks in advance for your help.

log:
lamachine-lama-20210108_092746.log

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions