On 7/27/05, Davide Viti <[EMAIL PROTECTED]> wrote: > On Wed, Jul 27, 2005 at 01:19:48PM -0400, Mike Emmel wrote: > > On 7/27/05, Davide Viti <[EMAIL PROTECTED]> wrote: > > > Hi Mike, > > > do you remember my problem? > > > > > > http://www.webalice.it/zinosat/dfb_2.7.2-0_err.png > > > > > > well, after struggling with qemu,gdb and such I can start debugging > > > (even if it's not a perfect environment) and set breakpoints. > > > Could you suggest me where to set a breakpoint to investigate the problem? > > > gdb seems not to detect the segfault > > > > > Wow really does it just terminate ? > > yes, I triet to strace it and I did not get very far. > > > I thought it worked better under the emulator. > > it's the only environment I've used so far > > > Hmmm can you try to test/simple ? > > I'm about to do it (didn't know about that dir: thanx for the tip) > > > And does a regular DFB app work ? > > gtk-demo runs fine > > > Finally does it work for your build under X11/SDL for the backend. > > The best approach is to run the code on the desktop using > > export DFBARGS=system=sdl > > I've tried that already and nothing seems to change. > in general this is what happens: the screen becomes blue (I can see the > drop-shaped cursor) > than it blinks and "Killed" appears for a little bit, than the screen becomes > grey and finally > crashes. I discovered that if I click on the grey screen before the crash, > the screen becomes > black and the crash message does not appear, but I cannot stop the appl. >
Hmm its pretty early on in the app. Can you send me the source if its easy to compile standalone. If not my guess is your creating some component thats crashing when its shown or there is a clip bug if the apps bigger then the screen and where crashing on that. Is your app sized to fit on screen ? My gut feeling from what your saying is its a clipping problem. So the best approach may be to eliminate some components and add them one at a time to find the culprit. Mike > > > > Finally I've not found a great place to put break points since its all > > event driven > > and dynamic dispatch. It looks like your getting through the > > initialization and even the first window then dying. The best thing is > > to run the application like I said on the desktop with SDL and it > > should crash in a debuggable way. > > Mike > > I see, well: I'll let you know what happens > > ciao > > Davide > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
