System Information
Win32 Nvidea
Blender Version
Broken: Blender 2.69 rce89355
Worked: Blender 2.XX rXXXXXX
get_panels in ui.py crashes if you unregister a panel class that is listed there. In my case 'DATA_PT_context_speaker" which I unregister to create a new panel for an addon I am creating. I suggest a hasattr(bpy.types, "DATA_PT_context_speaker") type of checking.
Have an addon unregister any of the panels listed in ui.py get_panels() will do the trick.