segfault upon startup of gnucash HEAD

Christian Stimming stimming@tuhh.de
Thu, 4 Jul 2002 00:44:35 +0200


-----BEGIN PGP SIGNED MESSAGE-----

I'm sorry, that one goes on me. I didn't do a complete rebuild after the 
latest cvs update. Therefore top-level.c wasn't rebuilt and still called 
gnc_html_register_url_handler with an integer instead of a char*. And since 
the macro stayed with the same name (and macros aren't typed, as we all know 
- -- macros are evil, aren't they?), the type change of the macro somehow 
wasn't recognized.

So a rebuild of top-level.lo did it. Everything fine again. 

Christian

On Donnerstag, 4. Juli 2002 00:20, Christian Stimming wrote:
> With current CVS HEAD gnucash, I get a segfault upon startup. Here's gdb's
> output. Hope this helps.
>
>
> This is a development version. It may or may not work.
> Report bugs and other problems to gnucash-devel@gnucash.org.
> The last stable version was GnuCash 1.6.6
> The next stable version will be GnuCash 1.8.0
>
> (no debugging symbols found)...
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 7780)]
> 0x407d8c3f in gnc_html_register_url_handler (
>     url_type=0x5 <Address 0x5 out of bounds>,
>     hand=0x402a7860 <gnc_html_register_url_cb>) at gnc-html.c:1365
> 1365      g_return_if_fail (url_type != NULL && *url_type != '\0');
> (gdb) bt
> #0  0x407d8c3f in gnc_html_register_url_handler (
>     url_type=0x5 <Address 0x5 out of bounds>,
>     hand=0x402a7860 <gnc_html_register_url_cb>) at gnc-html.c:1365
> #1  0x402a801b in gnc_gui_init (command_line=10612) at top-level.c:373
> #2  0x40020afc in gw__tmp661_gnc_gui_init_wrapper (gw__scm_arg0=10612)
>     at gw-gnc.c:337
> #3  0x4005588b in scm_ceval () from /usr/lib/libguile.so.9
> #4  0x40053e06 in scm_ceval () from /usr/lib/libguile.so.9
> #5  0x400533fa in scm_ceval () from /usr/lib/libguile.so.9
> #6  0x400533fa in scm_ceval () from /usr/lib/libguile.so.9
> #7  0x400533fa in scm_ceval () from /usr/lib/libguile.so.9
> #8  0x40057162 in scm_eval_3 () from /usr/lib/libguile.so.9
> #9  0x40057237 in scm_eval_x () from /usr/lib/libguile.so.9
> #10 0x4007fb28 in scm_shell () from /usr/lib/libguile.so.9
> #11 0x08048926 in inner_main ()
> #12 0x4006658e in invoke_main_func () from /usr/lib/libguile.so.9
> #13 0x4008b7cc in scm_internal_lazy_catch () from /usr/lib/libguile.so.9
> #14 0x40066539 in scm_boot_guile_1 () from /usr/lib/libguile.so.9
> #15 0x4006622b in scm_boot_guile () from /usr/lib/libguile.so.9
> #16 0x08048958 in main ()
> #17 0x401129ed in __libc_start_main () from /lib/libc.so.6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQCVAwUBPSN+U2XAi+BfhivFAQGVdQQAnaoEde1R6BJeJgkAW7i/px3Q2JDGl2sz
ZpIGhzglh5zZHeYvTzLlFYkLZJtR5SULzHB3yr8fhNq1wG+PlPNe9jwolMRQbnQC
LpA560KzXRxgZE8R/tKgTEpBA57RH1HZwyflU4uYbLLbETS2Hp9KcSnRe6WrSlL0
FtKOki6oxwE=
=1iQA
-----END PGP SIGNATURE-----