in reply to Re^4: Tk fonts crash on Fedora
in thread Tk fonts crash on Fedora
If done correctly, it will tell you the exact error and line of code where it was caused in the Tk source code.> 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 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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Tk fonts crash on Fedora
by wulvrine (Friar) on Nov 30, 2007 at 18:43 UTC |