Javascript and konq crash

Luciano Montanaro mikelima at cirulla.net
Fri Mar 24 14:50:39 CET 2006


On Friday 24 March 2006 14:26, Yan Seiner wrote:
> Eva Brucherseifer wrote:
> >Hi Yan,
> >
> >can you have a look at it? We are pretty busy with fixing other stuff...
> >
> >Greetings,
> >eva
>
> OK, I've looked at it.... It's a scary mess.
>
> In your javascript that fails, are you calling any floating point?
> sin/cos? log?
>
> The code that fails for us uses a good bit of floating point....  It
> would be good to confirm that suspicion....
>

The dtoa code is really quite intricated.
It seem to be called from a single point in kjs, in ustring.
Perhaps for testing purposes another conversion method (with sprintf or a 
stringstream) could be used. If that works, the problem is indeed in dtoa.

Luciano

-- 
Łŭčīåñø Montanaro //
              \\ //
               \x/ www.cirulla.net


More information about the konq-e mailing list