From: Yedidyah Bar-D. <di...@ta...> - 2004-04-26 19:32:54
|
> > 7. There is a bug, that sometimes, when pressing the down-arrow or up-arrow > > icons on the buttom-right, in the "record view" (is this the name?), it > > crashes, requiring a soft reset. Pressing PgDn does work, so that's what > > he does for now. I tried for some time to debug this with pose and gdb, > > but did not really get anywhere. It says: > > "DB (1.1.0) called SysFatalAlert with the message: > > "leakdetect.c, Line:188, addr"." > > and gives control to gdb, but I can't see too much - 'where' says > > (gdb) where > > #0 0x1001d8b2 in ErrDisplayFileLineMsg () > > #1 0x00091b88 in ?? () > > #2 0x0008955c in ?? () > > #3 0x0007b770 in ?? () > > #4 0x10066b08 in PrvSendEventToForm () > > #5 0x10069f2c in FrmDispatchEvent () > > #6 0x0006f670 in EventLoop () at main.c:201 > > #7 0x0006f8a6 in EditViewGetFieldHeight () at main.c:715 > > #8 0x0006f3e4 in CheckMinVersion () at crt0.c:69 > > which does not help much. I tried to also put a breakpoint in > > leakdetect.c:188, but also didn't get much further. > > I fixed something similar in the CVS version (Danger! Don't go > there!). Already done :-) but only on pose, it's not dangerous (except maybe for my mental health?). > If possible, it would be great to see if you can reproduce > this bug with a stock binary release. There are a number of If you refer to db-1.2.0-alpha5.prc then it's mostly the same. It crashes at the same point, but with a different message: "DB (1.2.0m) called SysFatalAlert with the message: "MemoryMgr.c, Line:4372, Non-word-aligned handle"." > configuration oddities that might cause this (some codepaths seem not > to have been used in years) and it that's causing this. > > Submitting this as a bug would be good for record keeping: > http://sourceforge.net/tracker/?group_id=621&atid=100621 OK. > > > How do I debug pilot-db? Is there some tutorial somewhere? > > No, there is not much published information, but I'm eager and willing > to help you figure it out, and if we do it on-list it will probably > help people in the future. > > It looks like the problem you are hitting now is that pilot-db is a > multi-segment application, and that the standard prc-tools kit > (including m68k-palmos-gdb) does not really support multiple code > segments. But there are patches available to do so: > http://www.v-overbeek.nl/msectgdb/ > While it's possible to do the compile from scratch, it's a lengthy > multi-step procedure. I submitted Linux binaries to Ton, which should > be now available on his site. I'll look there. -- Didi |