Re: javascript crashing

yj <[email protected]>
Newsgroups gmane.comp.kde.devel.konq-e
Message-ID <[email protected]>
Hi,
I guess you can debug into the related code and find
out which part cause segmentation fault,
for your information, I found that QString::number for
double type parameter will cause seg fault with QTE
3.3.5 on my board,
and I changed the QString::number( dParam ) to
QString::number( (int)dParam ), it's temporary OK,
The above is an example, 
you should find out the reason first,
hope this help you.


--- KK Yong <[email protected]> wrote:

> Hi all,
> 
> When i just load a simple Hello world javascirpt, it
> crash the entire
> browser with the following debug messege:
> 
> debug: HTMLView::openURL
> file:///home/httpd/testjs.html type text/html
> debug: KHTMLPart(0x4c0760)::openURL
> file:///home/httpd/testjs.html
> debug: saveState!
> debug: saveState this=0x4c0760 'unnamed' saving URL
> file:///home/httpd/testjs.hlQObject::connect: No
> such signal
> QObject::cleared()
> QObject::connect:  (sender name:   'unnamed')
> QObject::connect:  (receiver name: 'unnamed')
> debug:  using compatibility parseMode
> Segmentation fault
> launcher: creating slave for protocol file
> debug: SlaveBase: read() error 13,  Permission
> denied! exiting!
> # launcher: error sending launcherSlavePidCmd:
> Broken pipe
> debug: SlaveBase: select() error 9,  Bad file
> descriptor! exiting!
> 
> Have you come across it?
> 
> Thank you.
> 
> 
> -- 
> 
> "If you're not failing every now and again, it's a
> sign you're not doing
> anything very innovative." (W. Allen)
> > _______________________________________________
> konq-e mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/konq-e
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.