On Fri, Jun 15, 2012 at 10:42:06PM +0200, Lluís Batlle i Rossell wrote:
> On Fri, Jun 15, 2012 at 05:31:14PM +0200, Lluís Batlle i Rossell wrote:
> > I'm running vimprobable2 with webkit 1.4.0 in the fuloong (n32), and I get 
> > a SIGBUS
> > (bad memory alignment I imagine).
> > 
> > Has anyone experienced this and know a solution?
> > 
> > Program received signal SIGBUS, Bus error.
> > 0x7741334c in WebCore::TimerBase::stop() ()
> >    from 
> > /nix/store/lzp0jjhx3kcjh2wfkyca9fwv4cwpd4vp-webkit-1.4.0/lib/libwebkitgtk-1.0....
> > 
> 
> The webkit (1.4.0) people use their own allocator for these objects; it says 
> to
> align to 8bytes, but it might be broken. More weirdly, the same member is
> accessed in the TimerBase *constructor*, but nothing happened constructing.

Ah, clear. The constructor did:
  90ed18:       fc800008        sd      zero,8(a0)
  90ed1c:       fc800010        sd      zero,16(a0)

And 'sd' is properly handled by the kernel trap. But the sdc1 in the destructor,
not.

Now, someone to implement the kernel traps for the coprocessor store/load :)

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to