More Segfaults

James LewisMoss jimdres@mindspring.com
14 Aug 2001 14:11:25 -0400


>>>>> On Tue, 14 Aug 2001 17:31:49 +1000, Robert Graham Merkel <rgmerk@mira.net> said:

 Robert> The attached data file causes a segfault on startup load with
 Robert> current CVS.

 Robert> Backtrace is as follows:



 Robert> #0 0x40bd1bae in vfprintf () from /lib/libc.so.6 1 0x40bd4a6b
 Robert> #in vfprintf () from /lib/libc.so.6 2 0x40bd026f in vfprintf
 Robert> #() from /lib/libc.so.6 3 0x400a1a4f in gnc_log
 Robert> #(module=MOD_IO, log_level=GNC_LOG_ERROR,
 Robert> prefix=0x400ff7f3 "Error",
 Robert>     function_name=0x400ffb60
 Robert>     "dom_tree_handlers_all_gotten_p",
 Robert> format=0x400ffb20 "Not defined and it should be: %s")
 Robert>     at gnc-engine-util.c:148
 Robert> #4 0x400fa55e in dom_tree_handlers_all_gotten_p
 Robert> #(handlers=0x40101744) at
 Robert> sixtp-dom-parsers.c:744

I can't test this at the moment because my tree isn't running, but I
believe if you add
{ NULL, NULL, 0, 0 },
as the last spot in the tt_dom_handlers struct in
gnc-schedxaction-xml-v2.c the problem will go away.

Jim


-- 
@James LewisMoss <dres@debian.org>      |  Blessed Be!
@    http://jimdres.home.mindspring.com |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach