Coder Social home page Coder Social logo

Comments (33)

egorpugin avatar egorpugin commented on July 19, 2024

Can you try sw --self-upgrade and try it with new binary?

from sw.

 avatar commented on July 19, 2024

The result is same

C:\Users\AlexandeR\Desktop\tesseract-master\Win32>sw --version
sw.client.sw version 1.0.0
git revision 37cfa3b plus 3 modified files
assembled on
17.05.2020 16:22:03 UTC
17.05.2020 19:22:03 Oeieyiaey (eaoi)

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

What it your OS version?

from sw.

 avatar commented on July 19, 2024

Windows 10 x64 1909 (build 18363.836)

from sw.

 avatar commented on July 19, 2024

Log with -trace param
https://pastebin.com/YtHQFNAC

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Can you check memory usage?
How much memory do you have? Maybe sw goes out of memory?

from sw.

 avatar commented on July 19, 2024

I have 16GB ram. memory usage about 4gb

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

No ideas at the moment. I'll think.

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Please, try following:

Run sw --self-upgrade.

Run failing command taken from cmake error with first argument -internal-with-crash-server=0.

So,
D:/sw-client/sw.exe -shared -platform x86 -compiler msvc-19.25 -d C:/Users/AlexandeR/Desktop/tesseract-master/Win32/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps C:/Users/AlexandeR/Desktop/tesseract-master/Win32/.sw/cmake/sw.txt -cmake-file-version 4
will become
D:/sw-client/sw.exe -internal-with-crash-server=0 -shared -platform x86 -compiler msvc-19.25 -d C:/Users/AlexandeR/Desktop/tesseract-master/Win32/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps C:/Users/AlexandeR/Desktop/tesseract-master/Win32/.sw/cmake/sw.txt -cmake-file-version 4

It will write (hopefully) crash dump into c:...\temp\ dir.
Post that crash dump here.

from sw.

 avatar commented on July 19, 2024

sw folder was created in temp directory but without crash dump

from sw.

 avatar commented on July 19, 2024

Two months ago I already used sw to build tesseract and all worked. Yesterday I'm tried to build tesseract again, but "sw setup" failed due to ssl error. I updated sw with sw --self-upgrade and thereafter build always failed with 0xc00000409

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

"sw setup" failed due to ssl error

This was fixed.

from sw.

 avatar commented on July 19, 2024

I know. I mean, there was no 0xc0000409 error before updating

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

When you see the error, does windows suggest to report a problem? If yes, I think you can create dump via task manager.

from sw.

 avatar commented on July 19, 2024

does windows suggest to report a problem?

No

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Try with -sd arg:
D:/sw-client/sw.exe -internal-with-crash-server=0 -shared -platform x86 -compiler msvc-19.25 -d C:/Users/AlexandeR/Desktop/tesseract-master/Win32/.sw/cmake -config d,msr,rwdi,r integrate -cmake-deps C:/Users/AlexandeR/Desktop/tesseract-master/Win32/.sw/cmake/sw.txt -cmake-file-version 4 -sd

I've updated sw packages, maybe there is abi mismatch somewhere.

from sw.

 avatar commented on July 19, 2024

Not working. Dump wasn't created

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Is it possible to check the issue via teamviewer or chrome remote desktop?

Or you can try to run sw command with -sleep 10 argument, in VS attach to process and then when issue occurs, VS will show call stack.

from sw.

 avatar commented on July 19, 2024

image

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Yes, and exactly in this moment you can try to record dump in task mgr.

Or...
Download symbols (.pdb): https://www.dropbox.com/s/yqody5qgkdj7bn2/sw.client.sw-1.0.0.pdb.7z?dl=1

Rename sw.exe to sw.client.sw-1.0.0.exe, place that pdb near exe, re-run those steps. VS will show now normal function names.

from sw.

 avatar commented on July 19, 2024

PDB that your gave doesn't match git revision 60f434f
Anyway i'm already uploading dump

from sw.

 avatar commented on July 19, 2024

https://www.dropbox.com/s/8gdbhk9fh8ss7ou/sw.client.sw-1.0.0.DMP?dl=0

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Thank you! Try this fixed binary.
https://www.dropbox.com/s/v87ee3d5csev1bp/sw.client.sw-1.0.0.exe.7z?dl=1

from sw.

 avatar commented on July 19, 2024

Same, wait 5 minutes, i will upload dump

from sw.

 avatar commented on July 19, 2024

unhandled exception at (ucrtbase.dll) 0x00007FF86767DB9E
https://www.dropbox.com/s/qyt1pkcc2t6enol/sw.DMP?dl=0
image

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Ok, the problem is clear now.
Cl.exe prints russian characters (non-utf8), and they are tried to be saved into json in dtor. Json throws an error then.
I'll ping when it is fixed.

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Try this one https://www.dropbox.com/s/tyclsld5wn0hgnf/sw.client.sw-1.0.0.exe.7z?dl=1

from sw.

 avatar commented on July 19, 2024

0xc0000409
https://pastebin.com/4FJdLxhw

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Ok, fixing further...

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

This one?
https://www.dropbox.com/s/3vrlq9qiifjlwrz/sw.client.sw-1.0.0.exe.7z?dl=1

from sw.

 avatar commented on July 19, 2024

Seems like its working.

from sw.

charmainewee avatar charmainewee commented on July 19, 2024

Hi,

I'm facing the same problem except I'm trying to build Leptonica (the Tesseract dependency). Could you upload/send the fixed binary again so I can try it? The dropbox link returns a 404 error.

Thank you!

from sw.

egorpugin avatar egorpugin commented on July 19, 2024

Done. Use sw --self-upgrade.

from sw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.