-
Bus error on QWebkit
Hi everybody,
I'm currently working on an sh4 architecture with Qt Embedded 4.6.2.
All Qt's examples and demos works well except the webkit based binaries.
The browser demo crash with a bus error.
I found with gdb that it's libQtWebkit that crashed, without more explanations.
It's the same thing every time I'm using a QWebkit object. I can instantiate it but it crash when I want to set a property or calling a method.
If someone have any idea of how to fix this problem it would be very cool to share it.
Thx
-
Re: Bus error on QWebkit
Got the same issue last week, trying to launch WebKit examples on sh4 board with Qt Embedded 4.6.2
I wonder if you managed to get it running since August?
-
Re: Bus error on QWebkit
hi, QT-4.7.3 webkit porting to SH-4(7785), still the "Bus error".
Added after 51 minutes:
Hi, SH-4 can do un-aligned integer access,
But cant deal with un-aligned float/double,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545925
so, there may be a problem in WebKit WebCore/rendering/RenderArena.cpp(https://bugs.webkit.org/show_bug.cgi?id=19946)
QtWebKit(Qt-4.7.3)seems not fixed?Trying fix this, But not approved now.
-
Re: Bus error on QWebkit
i can't find the WebKit SVN version for Qt-4.7.3, can some one help me?
figured out a method to validate the alignment problem under Win32 desktop for SH4-embedded:
TimerBase::TimerBase()
: m_nextFireTime(0)
, m_repeatInterval(0)
, m_heapIndex(-1)
#ifndef NDEBUG
, m_thread(currentThread())
#endif
{
+ ASSERT( (unsigned int)&m_nextFireTime % 8 == 0 );//perhaps need to check other places?
}