Sounds like guile is unhappy being profiled.. This is probably due to the fact that guile is the "application" being executed and probably is not actually initializing the profiler properly. At least that's my un-educated guess.
-derek Jon Lapham <[EMAIL PROTECTED]> writes: > Jon Lapham wrote: > > Has anyone recently compiled GNC using --enable-profile? > > I just tried (1.8.5 to be) and it compiled sucessfully, but gives > > this error when running the executable: > > [EMAIL PROTECTED] > /opt/gnucash-1.8/bin/gnucash > > ERROR: In procedure ?: > > ERROR: Wrong type argument in position 8738980: (#<unknown-immediate > > 0x2cec> #<smob 413ab000> . #i(Segmentation fault > > I actually compiled thusly: > > make clean > > ./autogen.sh --enable-profile --prefix=/opt/gnucash-1.8/ --enable-debug > > Is my "make clean" clean enough? > > Hints? Suggestions? Money? > > uh, forgot to mention. gdb says this: > > > ERROR: Wrong type argument in position 8738980: (#<unknown-immediate > 0x2cec> #<smob 413ab000> . #i( > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 23264)] > 0x40090d18 in scm_list_to_uniform_array () from /usr/lib/libguile.so.12 > (gdb) backtrace > #0 0x40090d18 in scm_list_to_uniform_array () from /usr/lib/libguile.so.12 > #1 0x4009117d in scm_raprin1 () from /usr/lib/libguile.so.12 > #2 0x4006f30b in scm_iprin1 () from /usr/lib/libguile.so.12 > #3 0x4006fba4 in scm_iprlist () from /usr/lib/libguile.so.12 > #4 0x4006eef2 in scm_iprin1 () from /usr/lib/libguile.so.12 > #5 0x4006f7de in scm_prin1 () from /usr/lib/libguile.so.12 > #6 0x40070065 in scm_simple_format () from /usr/lib/libguile.so.12 > #7 0x40030b18 in scm_display_error_message () from /usr/lib/libguile.so.12 > #8 0x40030dba in scm_display_error_message () from /usr/lib/libguile.so.12 > #9 0x40083938 in scm_internal_catch () from /usr/lib/libguile.so.12 > #10 0x40031022 in scm_i_display_error () from /usr/lib/libguile.so.12 > #11 0x40083ebe in scm_exit_status () from /usr/lib/libguile.so.12 > #12 0x40083f33 in scm_handle_by_message () from /usr/lib/libguile.so.12 > #13 0x4008424f in scm_ithrow () from /usr/lib/libguile.so.12 > #14 0x40039931 in scm_error () from /usr/lib/libguile.so.12 > #15 0x40039ec0 in scm_wrong_type_arg () from /usr/lib/libguile.so.12 > #16 0x408558b1 in gnc_module_load (module_name=0x80d9330 > "gnucash/app-utils", > interface=0) at gnc-module.c:518 > #17 0x413ac399 in gw__tmp18_gnc_module_load_wrapper > (gw__scm_arg0=0x408558a4, > gw__scm_arg1=0x2) at gw-gnc-module.c:202 > #18 0x4003df35 in scm_ceval () from /usr/lib/libguile.so.12 > #19 0x4003dc43 in scm_ceval () from /usr/lib/libguile.so.12 > #20 0x4003dc43 in scm_ceval () from /usr/lib/libguile.so.12 > > -- > -**-*-*---*-*---*-*---*-----*-*-----*---*-*---*-----*-----*-*-----*--- > Jon Lapham <[EMAIL PROTECTED]> Rio de Janeiro, Brasil > Work: Extracta Mol�culas Naturais SA http://www.extracta.com.br/ > Web: http://www.jandr.org/ > ***-*--*----*-------*------------*--------------------*--------------- > > > _______________________________________________ > gnucash-devel mailing list > [EMAIL PROTECTED] > http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel
