Okay,
so I installed cygwin and ran GNUCash with gdb like proposed.
I just renamed the current 3.5 program directory, not uninstalled it
though. There was no new .gnucash directory in my home directory. I then
re-renamed the two directories previously renamed (see below).
I did a test start and the old 2.6.1. came up ok. I then installed 3.5.
and it would not start like before, but now I got another Windows error
message.
Initially I got "This application has requested the Runtime to terminate
it in an unusual way. Please contact the application's support team for
more information".
Now I got (retranslated from German): "The procedure entry point
'inflateValidate' could not be found in DLL 'zlib1.dll'".
I attach three times the gdb output:
1) "GC 3.5 gdb ok.txt": This is the first run with v3.5 starting fine
after following your step-by-step advisory
2) "GC 2.6.1. gdb ok.txt": This is v2.6.1 starting fine after the
re-renaming.
3) "GC 3.5 gdb not ok.txt": This is v3.5 not starting after reinstalling
without those directories renamed.
Hope it helps. Please let me know if you need more or other setups.
Oliver
Am 27.05.2019 um 15:53 schrieb Geert Janssens:
Unfortunately I can't interpret the Sysinternals stuff either.
Will gnucash 3.x start for a different user on your system ? That is, can you
log in as a user that never has used gnucash before and then try to start
gnucash ?
If it does, it may be tripping over some metadata on your PC or the metadata
migration, can you test the following:
- locate the .gnucash directory in your user's home directory
This is typically c:\Users\<your-user-name>\.gnucash
- rename this directory to something else, like .gnucash.bkp
- locate the %appdata%\GnuCash directory and rename it as well to something
like GnuCash.bkp
- then install gnucash 3.5 and see if it starts.
Let us know if gnucash starts under these conditions.
Note this is not intended to be your final setup! It will be missing your
saved reports, any open reports and tabs and other settings.
It's a first start in trying to narrow down where it goes wrong.
Potentially a gdb backtrace could also shed a bit more light. As you had
Cygwin installed before, you may reinstall it and then use it to install gdb.
Next run gnucash from within gdb.
Geert
On zondag 21 april 2019 20:05:06 CEST Oliver Heidelbach via gnucash-user
wrote:
Yes, I had Cygwin installed and now deinstalled it accoording to their
uninstall instructions including removing the registry entries.
Same problem as before unfortunately.
The following is the call stack from the Sysinternals Process Explorer:
wow64cpu.dll!CpuGetContext+0x4
wow64.dll!Wow64KiUserCallbackDispatcher+0xcb
wow64win.dll+0x32bf9
ntdll.dll!KiUserCallbackDispatcher+0x1f
wow64win.dll+0x3fd4a
wow64win.dll+0x1ad9b
wow64.dll!Wow64SystemServiceEx+0xd7
wow64cpu.dll!TurboDispatchJumpAddressEnd+0x2d
wow64.dll!Wow64SystemServiceEx+0x1ce
wow64.dll!Wow64LdrpInitialize+0x42a
ntdll.dll!RtlImageDirectoryEntryToData+0x19a3
ntdll.dll!longjmp+0x2ca60
ntdll.dll!LdrInitializeThunk+0xe
USER32.dll!PeekMessageW+0x17b
USER32.dll!PeekMessageW+0x197
USER32.dll!DialogBoxIndirectParamW+0xfb
USER32.dll!DialogBoxIndirectParamAorW+0x108
USER32.dll!SoftModalMessageBox+0x757
USER32.dll!SoftModalMessageBox+0xa33
USER32.dll!MessageBoxTimeoutW+0x52
USER32.dll!MessageBoxTimeoutA+0x76
USER32.dll!MessageBoxExA+0x1b
USER32.dll!MessageBoxA+0x18
msvcrt.dll!strerror_s+0x649
msvcrt.dll!__threadhandle+0x466
msvcrt.dll!abort+0x26
libstdc++-6.dll!_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x163
libstdc++-6.dll!__cxa_throw+0x5c
msvcrt.dll!free+0x39
libgnc-core-utils.dll!_ZN5boost9iterators6detail23operator_arrow_dispatchIRN
S_10filesystem15directory_entryEPS4_E5applyES5_+0x11 msvcrt.dll!free+0x46
libgnc-core-utils.dll!_ZNK5boost9iterators6detail20iterator_facade_baseINS_1
0filesystem28recursive_directory_iteratorENS3_15directory_entryENS0_25single
_pass_traversal_tagERS5_iLb0ELb0EEptEv+0x22
libgnc-core-utils.dll!gnc_path_find_localized_html_file+0x980
libgnc-core-utils.dll!gnc_path_find_localized_html_file+0xfce
libgnc-core-utils.dll!gnc_filepath_init+0xca
gnucash.exe+0x3b33
gnucash.exe+0x138b
ntdll.dll!RtlDeactivateActivationContextUnsafeFast+0x35f
I cannot interpret that, but maybe someone here can?
Oliver
Am 20.04.2019 um 11:09 schrieb Geert Janssens:
Do you have other applications on your system that use guile (like
Lilypond
for example) ?
Regards,
Geert
Op donderdag 18 april 2019 13:26:08 CEST schreef Oliver Heidelbach via
gnucash-user:
I reinstalled the current version again to see the log.
It does not write any log file since the Visual C++ runtime pops with
that error.
I don't know if this helps, but I tried to run guile.exe from the
command line and this happened:
###############
C:\Program Files (x86)\gnucash\bin>guile
Throw without catch before boot:
Throw to key misc-error with args ("primitive-load-path" "Unable to find
file ~S in load path" ("ice-9/boot-9") #f)Aborting.
This application has requested the Runtime to terminate it in an unusua
Please contact the application's support team for more information.
################
If I run gnucash.exe from the command line, I get the same popup error
message I have gotten before, containing the last part of the above
error message.
Oliver
Am 09.04.2019 um 11:27 schrieb Colin Law:
Have a look in the gnucash trace file after you try to start it.
https://wiki.gnucash.org/wiki/Tracefile
Colin
On Tue, 9 Apr 2019 at 10:25, ohei2 via gnucash-user
<gnucash-user@gnucash.org> wrote:
Hi,
I just tried to install v3.5 on my Win7 64bit. It installed and on the
the
first attempt to start it I get
/This application has requested the Runtime to terminate it in an
unusual
way. Please contact the application's support team for more
information/
I also tried an uninstall and deleting the leftover directory like
suggested in a similar thread. Same error message.
I did switch back to 2.6.21 which runs without any problems.
About one year ago I tried to install 3.0 which also would not run back
then and switched back to the older version.
I am a bit clueless on how to proceed. Sitting it out does not seem to
work
obviously.
Regards, ohei2
--
Sent from:
http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
Oliver@Kopfnuss ~
$ gdb "C:\Program Files (x86)\gnucash\bin\gnucash.exe"
GNU gdb (GDB) (Cygwin 8.1.1-1) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Program Files (x86)\gnucash\bin\gnucash.exe...done.
(gdb) run
Starting program: /cygdrive/c/Program Files (x86)/gnucash/bin/gnucash.exe
[New Thread 6484.0xecc]
warning: `/cygdrive/c/Windows/SYSTEM32/ntdll.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64win.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64cpu.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
[New Thread 6484.0xed0]
[New Thread 6484.0x1864]
(gnucash.exe:6484): gnc.core-utils-WARNING **: 09:04:17.378:
C:\Users\Oliver.Kopfnuss\AppData\Roaming is not a suitable base directory for
the user data. Trying temporary directory instead.
(Error: boost::filesystem::read_symlink: Die Anforderung wird nicht
unterst\xfctzt: "C:/Users\Oliver.Kopfnuss")
(gnucash.exe:6484): gnc.core-utils-WARNING **: 09:04:17.384: Failed to create
C++ default locale fromde-DE.UTF-8 because locale::facet::_S_create_c_locale
name not valid. Using the 'C' locale for C++.
[New Thread 6484.0x1778]
[New Thread 6484.0x39c]
[New Thread 6484.0x18c8]
[New Thread 6484.0x1d50]
[Thread 6484.0x1d50 exited with code 0]
Oliver@Kopfnuss ~
$ gdb "C:\Program Files (x86)\gnucash\bin\gnucash.exe"
GNU gdb (GDB) (Cygwin 8.1.1-1) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Program Files (x86)\gnucash\bin\gnucash.exe...(no
debugging symbols found)...done.
(gdb) run
Starting program: /cygdrive/c/Program Files (x86)/gnucash/bin/gnucash.exe
[New Thread 1744.0x1ecc]
warning: `/cygdrive/c/Windows/SYSTEM32/ntdll.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64win.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64cpu.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
(gnucash.exe:1744): GLib-CRITICAL **: g_setenv_utf8: assertion 'value != NULL'
failed
(gnucash.exe:1744): gnc.core-utils-WARNING **: Couldn't properly override
environment variable "PYTHONPATH". This may lead to unexpected results
[New Thread 1744.0x1f08]
Diese Version befindet sich noch in Entwicklung.
Sie kann funktionieren, muss aber nicht.
Fehler und andere Probleme werden auf gnucash-de...@gnucash.org diskutiert.
Fehlerberichte k▒nnen auf http://bugzilla.gnome.org eingesehen und erstellt
werden.
Um die letzte stabile Version zu finden, sehen Sie bitte auf
http://www.gnucash.org nach.
[New Thread 1744.0x7c8]
[New Thread 1744.0xd10]
[New Thread 1744.0x234]
[Thread 1744.0x234 exited with code 0]
[Thread 1744.0x7c8 exited with code 0]
[Thread 1744.0x1f08 exited with code 0]
Oliver@Kopfnuss ~
$ gdb "C:\Program Files (x86)\gnucash\bin\gnucash.exe"
GNU gdb (GDB) (Cygwin 8.1.1-1) 8.1.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from C:\Program Files (x86)\gnucash\bin\gnucash.exe...done.
(gdb) run
Starting program: /cygdrive/c/Program Files (x86)/gnucash/bin/gnucash.exe
[New Thread 6948.0xe64]
warning: `/cygdrive/c/Windows/SYSTEM32/ntdll.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64win.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: `/cygdrive/c/Windows/SYSTEM32/wow64cpu.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture i386.
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "WOW64_IMAGE_SECTION" can not be evaluated
warning: Could not load shared library symbols for WOW64_IMAGE_SECTION.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
warning: dll path for "NOT_AN_IMAGE" can not be evaluated
warning: Could not load shared library symbols for NOT_AN_IMAGE.
Do you need "set solib-search-path" or "set sysroot"?
[Inferior 1 (process 6948) exited with code 030000000471]
(gdb)
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.