Description of problem: I have tested tgif in various fedora 8 installation, but no one can properly run tgif by "yum install" command". In particular, on fedora 8 32bit after "yum install tgif" without problem, if I try to use tgif I got this error: [user@shrek ~]# tgif Warning: No type converter registered for 'String' to 'Bitmap' conversion. Cannot load fontset specified by Tgif.MenuFontSet: '-*-helvetica-medium-r-normal--12-*-*-*-*-*-*-*,-alias-*-medium-r-normal--12-*-*-*-*-*-*-*'. Warning: Cannot set InitialFont to 'Ryumin'. SIGFPE signal received. Version-Release number of selected component (if applicable): How reproducible: "yum install tgif" Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: Using the rpm on tgif's homepage ftp://bourbon.usc.edu/pub/tgif/bin/linux-glibc/4.1.45/tgif-4.1.45-1.i386.rpm I'm able to run it properly. I have contacted the tgif's developers and he has no idea what is the problem, he said:" So, I'm guessing that the executable may be compiled with different flags (or the code has been modified). I guess it would be difficult to figure"
/usr/share/X11/app-defaults/Tgif is bad for non-ja_JP locale users. I think /usr/share/X11/app-defaults/Tgif should be removed. As far as I tested, warning messages has been vanished after removing the app-defaults file on C locale. If you have not installed neither sazanami-fonts-gothic package (for -alias-*-medium... fonts) nor -*-helvetica-medium... fonts, Tgif.MenuFontSet warning may be shown. And if you have not installed fonts-japanese package, Ryumin warning may be shown. Anyway, removing /usr/share/X11/app-defaults/Tgif will (hopefully) fix this bug.
But I don't know what makes SIGFPE signal. Probably it is in the tgif source, not netpbm as you say at http://forums.fedoraforum.org/showthread.php?p=930125
(In reply to comment #1) > /usr/share/X11/app-defaults/Tgif is bad for non-ja_JP locale users. > I think /usr/share/X11/app-defaults/Tgif should be removed. > > As far as I tested, warning messages has been vanished after removing the > app-defaults file on C locale. > > If you have not installed neither sazanami-fonts-gothic package (for > -alias-*-medium... fonts) nor -*-helvetica-medium... fonts, Tgif.MenuFontSet > warning may be shown. > And if you have not installed fonts-japanese package, Ryumin warning may be shown. > > Anyway, removing /usr/share/X11/app-defaults/Tgif will (hopefully) fix this bug. Well, I - removed fonts-japanese, samazami fonts related packages - removed some 100dpi/75dpi xorg-x11-fonts packages - and executed tgif in en_US.UTF-8 locale Then I got the same warnings but still did not receive SIGFPE... For now this is not reproducible to me. Massimo, would you attach here the backtrace from gdb?
Well, - removing /usr/share/X11/app-defaults/Tgif everything works fine: no warnings nor SIGFPE - how can I generate backtrace? [mex@shrek games]$ gdb tgif GNU gdb Red Hat Linux (6.6-39.fc8rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... "/usr/bin/tgif": not in executable format: File format not recognized Cheers, M
Oh, sorry. Take gdb against /usr/libexec/tgif.
[mex@shrek games]$ gdb /usr/libexec/tgif GNU gdb Red Hat Linux (6.6-39.fc8rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... warning: Missing the separate debug info file: /usr/lib/debug/.build-id/f3/d9aa89b1f55da8e5bcda0a109967d8c199ca01.debug (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) bt No stack. (gdb) bt 5 No stack. (gdb) backtrace 5 No stack.
Please install needed debuginfo rpms. At least tgif-debuginfo rpm is needed. Perhaps the following URL is useful. https://www.redhat.com/archives/fedora-devel-list/2008-January/msg00307.html Also, you have to "run" tgif when gdb prompt appears.
Well, this time I removed Tgif.ad from non-Japanese locale and add Requires for xorg-x11-fonts-75dpi. Would you try below? http://koji.fedoraproject.org/koji/taskinfo?taskID=518677
tgif-4.1.45-6.fc7 has been submitted as an update for Fedora 7
tgif-4.1.45-6.fc8 has been submitted as an update for Fedora 8
tgif-4.1.45-6.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
tgif-4.1.45-6.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.