[GNC-dev] Windows build fails to run

Robert Fewell 14ubobit at gmail.com
Mon May 11 07:45:33 EDT 2020


John,

I think I have found the difference, I had not installed Perl, normally I
would get these in the trace file...

* 12:31:29  WARN <> Could not spawn perl: Failed to execute child process
(Bad file descriptor)
* 12:31:29 ERROR <> gnc_process_get_fd: assertion 'proc' failed
* 12:31:29 ERROR <> gnc_detach_process: assertion 'proc && proc->pid' failed

Have now installed Perl and it loads.

Have you noticed that the Windows trace file has DEBUG entries as default?

Not sure if the trace is required but here it is...

#0  0x759ce2d3 in KERNELBASE!DebugBreak () from
C:\WINDOWS\System32\KernelBase.dll
#1  0x64c31919 in libglib-2.0-0!g_abort () from c:\Program Files
(x86)\gnucash\bin\libglib-2.0-0.dll
#2  0x64bfd504 in libglib-2.0-0!g_mem_profile () from c:\Program Files
(x86)\gnucash\bin\libglib-2.0-0.dll
#3  0x64bfe280 in libglib-2.0-0!g_logv () from c:\Program Files
(x86)\gnucash\bin\libglib-2.0-0.dll
#4  0x64bfe487 in libglib-2.0-0!g_log () from c:\Program Files
(x86)\gnucash\bin\libglib-2.0-0.dll
#5  0x64bff98f in libglib-2.0-0!g_return_if_fail_warning () from c:\Program
Files (x86)\gnucash\bin\libglib-2.0-0.dll
#6  0x0244ae57 in qof_log_check (domain=0x0, level=(QOF_LOG_WARNING |
unknown: 2))
    at
C:/gcdev64/gnucash/master/src/gnucash-git/libgnucash/engine/qoflog.cpp:308
#7  0x0244a6ba in log4glib_handler (log_domain=0x0, log_level=18,
    message=0x11d29038 "Could not spawn perl: Failed to execute child
process (Bad file descriptor)",
    user_data=0x25982a8 <modules>) at
C:/gcdev64/gnucash/master/src/gnucash-git/libgnucash/engine/qoflog.cpp:148
#8  0x64bfe254 in libglib-2.0-0!g_logv () from c:\Program Files
(x86)\gnucash\bin\libglib-2.0-0.dll
#9  0x64bfe487 in libglib-2.0-0!g_log () from c:\Program Files
(x86)\gnucash\bin\libglib-2.0-0.dll
#10 0x63f83160 in gnc_spawn_process_async (argl=0xe557d20, search_path=1)
    at
C:/gcdev64/gnucash/master/src/gnucash-git/bindings/guile/glib-guile.c:270
#11 0x63fc668d in _wrap_gnc_spawn_process_async (s_0=0x1355d1c0, s_1=0x404)
at bindings/guile/swig-engine.c:40971
#12 0x6e819a9d in vm_regular_engine (thread=0x10fd1f00, vp=0x1136df78,
registers=0xe3f710, resume=0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/vm-engine.c:786
#13 0x6e81d05a in scm_call_n (proc=proc at entry=0x116602b8,
argv=argv at entry=0xe3f784,
nargs=nargs at entry=3)
    at C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/vm.c:1260
#14 0x6e796787 in scm_call_3 (proc=0x116602b8, arg1=arg1 at entry=0x1356ead0,
arg2=arg2 at entry=0x11520560,
    arg3=arg3 at entry=0x1132e6e0) at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/eval.c:499
#15 0x6e8050cf in scm_eval_string_in_module (string=0x1356ead0,
module=0x1132e6e0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/strports.c:369
#16 0x6e80563f in scm_eval_string (string=<optimized out>)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/strports.c:377
#17 scm_c_eval_string (expr=0x1c78bc "(gnc:price-quotes-install-sources)")
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/strports.c:330
#18 0x001c35ae in ?? ()
#19 0x6e7b0210 in invoke_main_func (body_data=0xe3fba0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/init.c:341
#20 0x6e790ec0 in c_body (d=0xe3fae4)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/continuations.c:422
#21 0x6e819a9d in vm_regular_engine (thread=0x10fd1f00, vp=0x1136df78,
registers=0xe3f950, resume=0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/vm-engine.c:786
#22 0x6e81d05a in scm_call_n (proc=proc at entry=0x1151b140, argv=argv at entry=0x0,
nargs=nargs at entry=0)
    at C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/vm.c:1260
#23 0x6e7966cf in scm_call_0 (proc=proc at entry=0x1151b140)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/eval.c:479
#24 0x6e80ac11 in catch (tag=0x404, thunk=0x1151b140, handler=0x1151b130,
pre_unwind_handler=0x1151b120)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/throw.c:137
#25 0x6e80af60 in scm_catch_with_pre_unwind_handler
(pre_unwind_handler=<optimized out>, handler=<optimized out>,
    thunk=<optimized out>, key=<optimized out>)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/throw.c:377
#26 scm_c_catch (tag=<optimized out>, tag at entry=0x404, body=<optimized
out>, body at entry=0x6e790eb0 <c_body>,
    body_data=<optimized out>, body_data at entry=0xe3fae4, handler=<optimized
out>,
    handler at entry=0x6e7910c0 <c_handler>, handler_data=handler_data at entry
=0xe3fae4,
    pre_unwind_handler=pre_unwind_handler at entry=0x6e790ed0
<pre_unwind_handler>,
    pre_unwind_handler_data=pre_unwind_handler_data at entry=0x1136a510)
--Type <RET> for more, q to quit, c to continue without paging--
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/throw.c:377
#27 0x6e791425 in scm_i_with_continuation_barrier (body=body at entry=0x6e790eb0
<c_body>,
    body_data=body_data at entry=0xe3fae4, handler=handler at entry=0x6e7910c0
<c_handler>,
    handler_data=handler_data at entry=0xe3fae4,
    pre_unwind_handler=pre_unwind_handler at entry=0x6e790ed0
<pre_unwind_handler>, pre_unwind_handler_data=0x1136a510)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/continuations.c:360
#28 0x6e7914c4 in scm_c_with_continuation_barrier (func=0x6e7b01e0
<invoke_main_func>, data=0xe3fba0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/continuations.c:456
#29 0x6e809675 in with_guile (base=0xe3fb4c, data=0xe3fb74)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/threads.c:661
#30 0x70bcdcbc in GC_call_with_stack_base (fn=fn at entry=0x6e809630
<with_guile>, arg=arg at entry=0xe3fb74)
    at C:/gcdev64/gnucash/master/src/bdwgc/misc.c:1935
#31 0x6e80a060 in scm_i_with_guile (dynamic_state=<optimized out>,
data=0xe3fba0, func=0x6e7b01e0 <invoke_main_func>)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/threads.c:704
#32 scm_with_guile (func=func at entry=0x6e7b01e0 <invoke_main_func>,
data=data at entry=0xe3fba0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/threads.c:710
#33 0x6e7b0417 in scm_boot_guile (argc=1, argv=0x83f5770,
main_func=0x1c34ba, closure=0x0)
    at
C:/gcdev64/gnucash/master/src/guile-2.2.4.68-65d98/libguile/init.c:324
#34 0x001c3d6c in ?? ()
#35 0x001c1396 in ?? ()
#36 0x75eb6359 in KERNEL32!BaseThreadInitThunk () from
C:\WINDOWS\System32\kernel32.dll
#37 0x776c7c24 in ntdll!RtlGetAppContainerNamedObjectPath () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#38 0x776c7bf4 in ntdll!RtlGetAppContainerNamedObjectPath () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#39 0x00000000 in ?? ()
(gdb)

Regards,
Bob

On Sun, 10 May 2020 at 18:30, John Ralls <jralls at ceridwen.us> wrote:

>
>
> > On May 10, 2020, at 9:30 AM, John Ralls <jralls at ceridwen.us> wrote:
> >
> >
> >
> >> On May 10, 2020, at 7:44 AM, Robert Fewell <14ubobit at gmail.com> wrote:
> >>
> >> Hi,
> >> Just trying a change but my build failed to run, tried the nightlies and
> >> the Windows build 3.902 gf23e3b266 fails to run also but the one before
> >> does f1ff78965
> >> All it says "Unspecified fatal error encountered, aborting"
> >
> > Bob,
> >
> > Today's master nightly, gf23e3b266, starts up fine for me. Can you get a
> stack trace?
> >
>
> Another thought, check the trace file for "assertion failed (domain &&
> level && modules)"
>
> Regards,
> John Ralls
>
>
>


More information about the gnucash-devel mailing list