[Sugar-devel] Planning for the future (Samuel Greenfeld)

James Cameron quozl at laptop.org
Sun Mar 1 22:13:01 EST 2015


On Sat, Feb 28, 2015 at 10:40:01AM +1100, James Cameron wrote:
> Daniel Drake's change to WebKit that fixed this before has since been
> lost in the current WebKit sources in git.  Patch is in the history,
> but some later patch removed the change.

Reinstating this change didn't solve the problem, so something else in
WebKit is generating invalid instructions.

Here's the backtrace:

(gdb) bt
#0  0xaa31b515 in ?? ()
#1  0xb1f03729 in JSC::JIT::privateCompile(JSC::MacroAssemblerCodePtr*, JSC::JITCompilationEffort) () from /lib/libjavascriptcoregtk-3.0.so.0
#2  0xb200f21c in JSC::UnlinkedProgramCodeBlock* JSC::CodeCache::getCodeBlock<JSC::UnlinkedProgramCodeBlock, JSC::ProgramExecutable>(JSC::VM&, JSC::ProgramExecutable*, JSC::SourceCode const&, JSC::JSParserStrictness, JSC::DebuggerMode, JSC::ProfilerMode, JSC::ParserError&) () from /lib/libjavascriptcoregtk-3.0.so.0
#3  0xb25d04fe in WTF::HashMap<NPClass*, JSC::Bindings::CClass*, WTF::PtrHash<NPClass*>, WTF::HashTraits<NPClass*>, WTF::HashTraits<JSC::Bindings::CClass*> >::set(NPClass* const&, JSC::Bindings::CClass* const&) ()
   from /lib/libwebkitgtk-3.0.so.0
#4  0xbf808a44 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) 

And the invalid instruction stream:

  >│0xaa31b515      movsd  (%ebx,%ecx,8),%xmm0                                 │
   │0xaa31b51a      ucomisd %xmm0,%xmm0                                        │
   │0xaa31b51e      jp     0xaa31ccde                                          │
   │0xaa31b524      movd   %xmm0,%eax                                          │
   │0xaa31b528      psrlq  $0x20,%xmm0                                         │
   │0xaa31b52d      movd   %xmm0,%edx                                          │
   │0xaa31b531      mov    %eax,0xa9424114                                     │
   │0xaa31b536      mov    %edx,0xa9424118                                     │
   │0xaa31b53c      mov    %eax,0x10(%edi)                                     │
   │0xaa31b53f      mov    %edx,0x14(%edi)                                     │
   │0xaa31b542      mov    -0x40(%edi),%eax                                    │
   │0xaa31b545      mov    -0x3c(%edi),%edx                                    │
   │0xaa31b548      cmp    $0xfffffffb,%edx                                    │

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list