Skip to content

Python 3.x crashes when you load a .so file in TCL through tkinter #118051

Open
@vatsamail

Description

@vatsamail

Crash report

What happened?

Python 3.x (3.9.7) is giving the following error if I try to load a shared object TCL file. If I run manually it works.

Manual method:

shell> tclsh
%load blah.so
%cmd_in_blah

Python method:

from tkinter import *
tcl = Tcl()
ret = tcl.eval("load blah.so")

Gives an error here >>>:

*** Error in `python': free(): invalid pointer: 0x00002ae034fc8d00 ***
Abort

Please help. Thanks in Advance.

CPython versions tested on:

3.9

Operating systems tested on:

Linux

Output from running 'python -VV' on the command line:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-tkintertype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions