Hey
I tend to use threads to make things smooth ;) In this particular case I use Tk, ImageQuick and Thread::Queue::Any; Now, runing the script I get this error:
Attempt to free non-existent shared string '_ErrorInfo_',Perl interpre
+ter: 0x27491c at C:\Perl\site\lib/Tk.pm line 411.
Free to wrong pool 272c80 not 5a07858 at C:\Perl\site\lib/Tk.pm line 4
+11.
Free to wrong pool 5a07858 not 272c80 at C:\Perl\site\lib/Tk/Widget.pm
+ line 98 during global destruction.
Now, my question isnt whats wrong (its quite much code, although I could break it down), but is there some way to debug what is freed and such, so I know what object/scalar/variable that makes this happen? If I knew this, I could solve many problems, instead of solving one. Knowing the way to solve is better than to know how to solve one problem eh?
I know its something about leaving a sub or so, perl wants to free mem used, but something aint there... or something :)
Thanks,
Ace
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.