The FreeType Project - Bugs: bug #26849, navit crashes in freetype unless...
You are not allowed to post comments on this tracker with your current authentication level.
bug #26849: navit crashes in freetype unless freetype built with -fno-strict-aliasing
Submitter: | Adam Williamson <adamwill> | ||
Submitted: | Fri 19 Jun 2009 10:39:10 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Hack required |
Status: | Fixed | Privacy: | Public |
Assigned to: | wl | Open/Closed: | Closed |
Planned Release: | 2.3.10 |
( Jump to the original submission )
Wed 29 Jul 2009 06:41:38 PM UTC, comment #9: |
Adam Williamson <adamwill> |
Wed 29 Jul 2009 05:28:30 PM UTC, comment #8: Oops! Now pushed. Sorry. |
Werner LEMBERG <wl>![]() ![]() |
Wed 29 Jul 2009 04:38:10 PM UTC, comment #7: I had a look in git - both in cgit, and by checking out a local copy - and the patch doesn't appear to have been applied. src/cache/ftccache.h was last modified on May 16th, and the code in the file appears to be the 'before' state of the RH bug patch. |
Adam Williamson <adamwill> |
Wed 29 Jul 2009 09:52:07 AM UTC, comment #6: I think this is fixed now in the git repository. Please test.
|
Werner LEMBERG <wl>![]() ![]() |
Sat 20 Jun 2009 07:25:10 AM UTC, comment #5: I can give you a shell on my system if it would help. Martin Schaller is cp15 on freenode IRC, he could probably discuss the details with you better than I can. I'm not a coder. |
Adam Williamson <adamwill> |
Sat 20 Jun 2009 05:46:26 AM UTC, comment #4: Mhmm. I forgot bug report #25479. It's probably indeed a FreeType problem -- maybe this other report helps in identifying the problem and finding a patch. IIRC, I was never able to reproduce the crash on my GNU/Linux box, making it quite hard to find a solution. |
Werner LEMBERG <wl>![]() ![]() |
Sat 20 Jun 2009 05:38:18 AM UTC, comment #3: To be clear: freetype builds fine. That's not the issue. The issue is that navit (another application) crashes on an operation involving freetype, unless you rebuild freetype with -fno-strict-aliasing . We're not sure if this is really a bug in freetype or in GCC, though. |
Adam Williamson <adamwill> |
Sat 20 Jun 2009 05:37:03 AM UTC, comment #2: I'm not sure if there's any compiler warnings in the first place. Compiler warnings aren't the problem, the problem is the crashing. It's the crashing I don't want. :)
|
Adam Williamson <adamwill> |
Sat 20 Jun 2009 04:48:39 AM UTC, comment #1: I'm not sure that it is a bug in FreeType. Compiling with `-O3 -Wall -W' doesn't give a single warning (I know, this isn't reliable, but...); using -O2 doesn't give a warning either. This is with gcc 4.3.2.
|
Werner LEMBERG <wl>![]() ![]() |
Fri 19 Jun 2009 10:39:10 PM UTC, original submission:
I've reported this issue downstream in Fedora, but I think it's worth bringing to the attention of upstream as well.
|
Adam Williamson <adamwill> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Confirming that the fix works in my situation. I applied the patch against 2.3.9 and rebuilt it (since that's an easier, smaller change to the spec file than doing a git build); navit now runs OK. thanks for the fix.