The Wayback Machine - https://web.archive.org/web/20250616024537/https://github.com/python/cpython/issues/118049
Skip to content

Python 3.x fails to load a .so file in TCL through tkinter #118049

Closed as not planned
@vatsamail

Description

@vatsamail

Bug report

Bug description:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions