Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#26135] Crash when disabling text-antialiasing in user prefs

Date:
2011-02-18 14:05
Priority:
3
State:
Closed
Submitted by:
Susanne H. (sanne)
Assigned to:
Ton Roosendaal (ton)
Category:
Interface
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
Crash when disabling text-antialiasing in user prefs
Detailed description
When I try to disable text-antialiasing in user prefs -> system, Blender crashes. I did some investigation and found that the crash happens first with revision 34853, and it is still present today with revision 34958.

A backtrace for revision 34853 is attached.

Remark: to make Blender link, I had to user the corrected blender/source/blender/modifiers/SConscript from revision 34854.

Blender 2.56 svn
Ubuntu 9.10 64 Bit
Nvidia GeForce GT 220 with driver 182.18.36

Thanks,
Sanne

Followup

Message
  • Date: 2011-02-18 15:13
  • Sender: Susanne H.
  • Did some more digging and found that when I revert the changes from revision 34853 from files
    blf_glyph.c and blf_font.c (remove the static keyword from lines 56 resp. 54), the crash doesn't happen anymore.

    Patch against revision 34966 attached.
  • Date: 2011-02-18 17:13
  • Sender: Ton Roosendaal
  • Hi Sanne,

    Good discovery this, but the fix still doesn't answer how this can work even (or ever did!).
    It's a bad global, and I think it was meant to be copied from the other C file, using "extern". That I tried and works OK.

    Will also ask the developer of this code to keep track of it.
  • Date: 2011-02-18 17:50
  • Sender: Susanne H.
  • Works fine now here also, thank you Ton.
 

Attached Files:

Name Date Download
aatext-option-bt-34853.txt 2011-02-18 14:05 Download
aatext-option-crash.patch 2011-02-18 15:14 Download

Changes:

Field Old Value Date By
status_idOpen2011-02-18 17:13ton
close_dateNone2011-02-18 17:13ton
assigned_tonone2011-02-18 17:13ton
StatusNew2011-02-18 17:13ton
File Added15058: aatext-option-crash.patch2011-02-18 15:14sanne
File Added15056: aatext-option-bt-34853.txt2011-02-18 14:05sanne