Re: [Cegcc-devel] Mysterious crash in my application

2007-04-25 Thread Danny Backx
On Wed, 2007-04-25 at 19:21 +0100, Pedro Alves wrote: > Danny Backx escreveu: > > Next question now is why I none of the tools available help me in > > detecting the problem. I've tried to reproduce this in a small program, > > haven't succeeded yet. > > > Try using the gcc format attribute on yo

Re: [Cegcc-devel] Mysterious crash in my application

2007-04-25 Thread Pedro Alves
Danny Backx escreveu: > As usually happens, you write a report, send it, then find something :-) > > The offending statement was indeed wrong, the variables weren't ints (as > the %d would expect) but doubles. Changing the format into %f fixes the > crash. > Probably the %s format got a broken s

Re: [Cegcc-devel] Mysterious crash in my application

2007-04-23 Thread Danny Backx
As usually happens, you write a report, send it, then find something :-) The offending statement was indeed wrong, the variables weren't ints (as the %d would expect) but doubles. Changing the format into %f fixes the crash. Next question now is why I none of the tools available help me in detect