ts-7000
[Top] [All Lists]

[ts-7000] Busybox/sh problems?

To:
Subject: [ts-7000] Busybox/sh problems?
From: "Dunge2" <>
Date: Wed, 14 Oct 2009 17:20:37 -0000
Hi!

I've got an application (gtk, multiple threads, etc) who have to call the 
system() function to execute things like playsound and udhcpc. Problem is, when 
I call system(), once on about every 150 calls it crash my application with a 
corrupt stack. Something like that is sure to fail:

for (int i=0; i<100; i++)
   system("killall test");

Of course there's no "test" process, but after a few calls it crash. I then 
tried to use fork()/execl() instead, but same thing happens. Strange thing, 
when I try it in an empty "hello word" program it don't crash, but I guess 
that's because it don't use as much memory.

I see that /bin/sh use busybox (BusyBox v1.7.1 from TS). Could this be the 
problem? I know it have many problems (non-working pipes, non-working awk, 
etc). I saw one in the files section here, but it's even older. I tried to 
recompile the latest release (1.14.1) myself but it whine about things that 
only exist in a newer kernel. What should I do?

Also, I still use the old kernel/busybox/oabi first provided by TS because my 
attempts at running EABI/Xorg failed multiple times.



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU