konqueror embedded from busybox init

yan seiner yan at seiner.com
Thu Mar 9 00:07:08 UTC 2006


Rob Landley wrote:

>On Wednesday 08 March 2006 4:58 pm, yan seiner wrote:
>  
>
>>First of all, apologies for cross-posting to both of these, but I am
>>somewhat (OK, totally) stupmed.
>>
>>I am running konqueror embedded, a browser based on KDE.  It is running
>>on top of Qt/E.
>>    
>>
>
>Ooh, cool!
>
>http://www.konqueror.org/embedded/
>
>I should add that to the tiny utils page. :)
>  
>
It's the only fully-featured open-source embedded browser.... But it 
ain't so tiny. :-(  About 12 MB by the time you add up Qt/E and 
Konq/e....  But it compiles, and runs (well, mostly - except for this 
issue...)

>  
>
>>If I launch it from the command line (busybox ash) , all is well.  But
>>if I start it from busybox init, it will crash several times before it
>>finally 'catches'.  This crash occurs in the same way if I start the box
>>cold, or if I kill the konqueror process the machine is completely
>>booted...
>>
>>The exact number of times it crashes varies; it appears to be around 3.
>>It crashes consistently at the point of launching the flash plugin.
>>    
>>
>
>Sounds like a bug in the flash plugin.
>  
>
That doesn't explain why it runs from the command line and not from init....

>Call it from a script that does sleep 1 first?
>  
>
I've tried that, as well as sticking in sleep() after each fork in 
konq/e, to see if it was that...

I am beginning to suspect that it may be something with busybox httpd 
closing the connection before konq/e is ready for it...  Just from 
watching it, the crash happens about the time the httpd child goes away, 
a second after the flash movie starts.  Why it would only happen from 
init I don't know....

I'll follow up on this on the konq list - but if someone could point out 
where I might try to stick in a sleep(1) into httpd to delay the closing 
of the connection I would be very grateful...

--Yan



>Rob
>  
>




More information about the busybox mailing list