On Sat, 9 Aug 2008 18:58:29 -0500, James Bursa wrote:
> On Saturday 09 August 2008, Chris Young wrote:
> > I hadn't implemented the function that updated them (ahem), they work
> > now except clicking "Submit" always gives a NoMemory error.
> >
> > Any ideas? Any variables I can poke around in to determine why this
> > is happening?
>
> I don't know if you have a debugger that can do this, but could you set a
> breakpoint in warn_user() and get the backtrace?
I can make it crash in warn_user and get the backtrace :-)
Stack trace:
native kernel module newlib.library.kmod+0x000070e0
NetSurf:warn_user()+0x40 (section 1 @ 0x4668)
NetSurf:form_successful_controls()+0xEFC (section 1 @ 0x6cccc)
NetSurf:browser_form_submit()+0x9C (section 1 @ 0x3f818)
NetSurf:browser_window_mouse_action_html()+0xFAC (section 1 @ 0x3dad0)
NetSurf:browser_window_mouse_click()+0x78 (section 1 @ 0x3ca54)
NetSurf:ami_get_msg()+0x348 (section 1 @ 0x1e28)
NetSurf:gui_poll()+0x20 (section 1 @ 0x2148)
NetSurf:netsurf_poll()+0x5C (section 1 @ 0x48308)
NetSurf:main()+0x5C (section 1 @ 0x47f48)
native kernel module newlib.library.kmod+0x00000de4
native kernel module newlib.library.kmod+0x00002380
native kernel module newlib.library.kmod+0x000026f4
NetSurf:__newlib_exit.14901()+0x18 (section 1 @ 0x11c)
native kernel module kernel+0x0003b468
native kernel module kernel+0x0003c528
native kernel module kernel+0x0004ef8c
addr2line -enetsurf 0x6cccc
render/form.c:493
addr2line -enetsurf 0x3f818
desktop/browser.c:2382
I could probably get more from gdb if I knew how to use it!
Regards
Chris