Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@vatsamail

Description

@vatsamail
Issue body actions

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 dumpA 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.