Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Tk fonts crash on Fedora

by wulvrine (Friar)
on Nov 29, 2007 at 16:39 UTC ( [id://653897]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Tk fonts crash on Fedora
in thread Tk fonts crash on Fedora

zentara
I actually did peek on google and saw that. I tried Helvetica, Courier etc and same issue.
I'm at a loss as to what to try next.

s&&VALKYRIE &&& print $_^q|!4 =+;' *|

Replies are listed 'Best First'.
Re^5: Tk fonts crash on Fedora
by zentara (Archbishop) on Nov 29, 2007 at 21:12 UTC
    Have you run the script thru strace, and see what happens when it crashes? Even better, run it thru a debugging-enabled Tk, and see what the gnu debugger outputs. That is what Slaven would need if you file a bug report.
    > From an old post by Slaven (annotated by me) Any help would be appreciated... A backtrace would be helpful: create Tk with debugging support (use perl Makefile.PL OPTIMIZE=-g #make a debugging Tk ), make sure that core dumps are written (e.g. by issuing ulimit -c unlimited #ensure you can get core dumps ), and for the backtrace you should try: #gdb /path/to/perl /path to core/ #start gdb telling it to run perl and #where the core dump should go gdb /usr/bin/perl ./core (gdb prompt) run ./my_tk_program #run your tk program bt # do the backtrace thru the core dump #Regards,Slaven
    If done correctly, it will tell you the exact error and line of code where it was caused in the Tk source code.

    If I were you, I would first try to upgrade to the latest Tk-804-027_500, in which many bugfixes have been applied. I've had to patch my vanilla Tk version, because it segfaulted when run with Gtk2 programs...... that patch is included in the _500 release.


    I'm not really a human, but I play one on earth. Cogito ergo sum a bum
      zentara
      Thanks! It now works!!
      With the help of liverpole I took your suggestion of updating to the latest Tk.
      Here is what we found.
      The Tk I installed on the Fedora system were installed with YUM!
      I had tried yum update but this wouldn't install anything else.
      With help from liverpole we moved the installed Tk directory andre- installed it using CPAN.
      And Viola! zee buttons zay are working!

      So apparently there are important differences between which version yum and cpan install.
      We did a force install on another machine (FC7) and that works too.
      Thank you very much!!

      s&&VALKYRIE &&& print $_^q|!4 =+;' *|

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://653897]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-23 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found