Bug 97214 - xfs unnesessarily rebuilding fonts.dir due to fonts.cache-1
xfs unnesessarily rebuilding fonts.dir due to fonts.cache-1
Status: CLOSED NOTABUG
Product: Red Hat Raw Hide
Classification: Retired
Component: XFree86 (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-06-11 12:36 EDT by Rex Dieter
Modified: 2007-04-18 12:54 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-06-11 16:36:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rex Dieter 2003-06-11 12:36:12 EDT
Description of problem: 
xfs sometimes unessarily rebuilds fonts.dir only because of the presences of a 
newer fonts.cache-1 file, not for any actual new fonts. 
 
Version-Release number of selected component (if applicable): XFree-4.3.0-15 
 
Patch to xfs.init to ignore the presence of fonts.cache-1 file: 
34c34 
<          elif [ "$(find . -type f -cnewer fonts.dir 2>/dev/null)" != "" ];then 
--- 
>          elif [ "$(find . -type f -not -name fonts.cache-1 -cnewer fonts.dir 
2>/dev/null)" != "" ];then
Comment 1 matti aarnio 2003-06-11 12:36:12 EDT
Description of problem:
 Read into mutt a folder with messages containing
 a  multipart/mixed{ multipart/alternative{ text/plain, text/html },
                     application/anything }
 Attempting to "view" the message structure with "v" command results
 SEGV in  addch()  call, which lengthy debugging session did show up
 to be  slang-library  function  SLcurses_waddch()  via couple macro
 redirects.

 This appeared after I had updated kernel, glibc, lots of other
 libraries, and had restarted the system.  I hadn't updated either
 mutt, nor slang at that point.  After updating both, the problem
 didn't disappear.

 Recompining the mutt with slang removed from its SPEC file, the mutt
 with standard ncurses (-5 ?) does work just fine.

Version-Release number of selected component (if applicable):
  slang-1.4.5-17

How reproducible:
 Always

Steps to Reproduce:
  1. have suitably complex structured message in a test folder
     (e.g. text+html type accompanying letter + any attachment)
  2. current rawhide system
  3. mutt -f test.msg
  4. try to view ("v") message's structure
    

Actual Results:  SEGV

Expected Results:  view of the message structure..

Additional info:

Is this related somehow to glibc locale handling ? (maybe)
Or to slang-library bitrot ?  (hardly)
Or to a new  2.4.20-20.1.2007.nptl  kernel ?  (hardly)

Ah, indeed..

  LC_CTYPE=C        -> no problem
  LC_CTYPE=fi_FI    -> SEGV


Anyway, slang-source version is a bit oldish, and could
be updated.

This is POSSIBLY glibc locale screwup, but decoding that
has proven to be next to impossible.
Comment 2 matti aarnio 2003-06-11 12:41:11 EDT
BUGZILLA bugged, and mixed two separate bug entries together!
Comment 3 matti aarnio 2003-06-11 13:02:44 EDT
Apparently worse than that, bugzilla overwrote original bug report
with mine, which was supposed to go to bug# 97213 ...
Separate bug 97222 already entered for that.
Comment 4 Mike A. Harris 2003-06-11 13:05:25 EDT
dkl?
Comment 5 Rex Dieter 2003-06-11 14:18:17 EDT
I could just close this resport, and we could all just submit the munged items... (?) 
Comment 6 Mike A. Harris 2003-06-11 15:47:32 EDT
Yes, to avoid confusion, if you could both please submit new bug reports, that
would be best.
Comment 7 Rex Dieter 2003-06-11 16:36:21 EDT
report closed in deference to bug #97240. 

Note You need to log in before you can comment on or make changes to this bug.