Bug 13254 - cairo_text_path() on Windows XP 64bit segfault
Summary: cairo_text_path() on Windows XP 64bit segfault
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: win32 backend (show other bugs)
Version: 1.5.2
Hardware: x86-64 (AMD64) Windows (All)
: medium major
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-15 02:00 UTC by brooss.teambb
Modified: 2007-11-15 11:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Remove an extra free(buffer) in _cairo_win32_scaled_font_init_glyph_path (397 bytes, patch)
2007-11-15 02:14 UTC, brooss.teambb
Details | Splinter Review

Description brooss.teambb 2007-11-15 02:00:49 UTC
On Windows XP Pro 64bit using SDL for display.
cairo_text_path() works perfectly sometimes and crashes with segfault others (with same parameters). 
Seems to be introduced in 1.5.2
Comment 1 brooss.teambb 2007-11-15 02:14:27 UTC
Created attachment 12565 [details] [review]
Remove an extra free(buffer) in _cairo_win32_scaled_font_init_glyph_path

It seems that a cleanup of _cairo_win32_scaled_font_init_glyph_path left it trying to free(buffer) twice in some cases.
Comment 2 Vladimir Vukicevic 2007-11-15 11:58:24 UTC
Whoops, yes, that's definitely the problem.  I just pushed out a change that removes the free.  Thanks for catching this!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.