Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8497911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:15:35+00:00 2026-06-11T00:15:35+00:00

I have the unfortunate task of maintaining an orphaned Perl program that uses Perl/TK

  • 0

I have the unfortunate task of maintaining an orphaned Perl program that uses Perl/TK to create a GUI and crashes in some situations with errors like

*** glibc detected *** /usr/bin/perl: corrupted double-linked list: 0x0000000003daf500 ***

Is it basically possible for a Perl program to contain a bug that causes such behaviour or can I safely assume that a bug in the Perl interpreter and/or Perl/Tk is responsible and waiting for a new version of those tools might be the best approach to get rid of this problem?

EDIT: To make my question more clear: would a bug like attempting to destroy a widget twice or calling a method on an already destroyed widget result in a clean error message or could it cause the problems I’m experiencing?

EDIT2: The Perl version is 5.10.0/x86_64-linux-thread-multi

And it uses this modules:

use Tie::Watch;
use Tk;
use Tk::Balloon;
use Tk::Compound;
use Tk::DialogBox;
use Tk::LabFrame;
use Tk::NoteBook;
use Tk::Pane;
use Tk::ROText;
use DBI;
use Data::Dumper;
use XML::Simple::DTDReader;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:15:37+00:00Added an answer on June 11, 2026 at 12:15 am

    Yes, it is possible but in this case unlikely.

    There are multiple ways to directly access (and modify) program memory in Perl (and for that matter, any programming language). There are extensions for this (Win32::Process::Memory for Windows), but under Linux the easiest way would be to open /proc/pid/map (process memory, mapped to a random-access file) and manipulate that.

    So, definitely possible.

    It is however very unlikely that your Perl program is using any of these tricks to manipulate its own memory directly. As you thought, the most likely culprit is one of the libraries used (Tk in this case).

    You could try to use Devel::Trace module to see what the program is trying to do just before its crashes.

    If you can find that it is always crashing on a particular line, you could try to alter its behavior to avoid triggering the bug in underlying libraries. That’s a bit of hit-and-miss affair, though.

    If someone has knowledge of this kind of bug in Perl/Tk that could be helpful. Is your program using other libraries using C libraries (e.g. not “pure perl” libraries) than Tk?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have a function that performs some task (this is in Python pseudocode):
I have the unfortunate task of sending e-mail through a client that needs to
I have an application which uses some external library for analytics. Problem is that
I have a template filter that performs a very simple task and works well,
I have the unfortunate task of cleaning up a bunch of old ColdFusion code.
I have the unfortunate task of having to import data from excel into a
I have the unfortunate task of doing (minimal) maintenance work on two legacy applications
I have a task that I am working on that has me stumped. Hoping
I have a MSBuild task that modifies an assembly. At the moment I place
I have been given the task of updating a rather ugly, dated site, that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.