start-stop-daemon bug?

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Apr 16 14:44:59 UTC 2008


On Wed, 2008-04-16 at 15:45 +0200, Joakim Tjernlund wrote:
> On Wed, 2008-04-16 at 14:37 +0200, Joakim Tjernlund wrote:
> > Daemons started like so:
> >  start-stop-daemon --start --background --pidfile ${MY_PIDFILE} --exec $/opt/appl/abc/eq_tm_mgr -- eq_tm_mgr
> > looks in ps/top:
> >   316 root     /opt/appl/abc/bin eq_tm_mgr eq_tm_mgr 
> > 
> > Notice the space between "../bin eq_tm_mgr". This space
> > breaks glibc backtrace_symbols(), backstrace stops at the space, i.e,
> > "/opt/appl/abc/bin [0x1015afe4]"
> > 
> > I think the bug is in start-stop-daemon, but I am guessing here.
> > Anyone?
> > 
> > bb version 1.8.2
> 
> hmm, /opt/appl/abc/eq_tm_mgr is a symlink and that seems to be important
> to trigger this problem.

ehh, the stupid app modifies argv so forget about this.

 Jocke



More information about the busybox mailing list