-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Application Error: "An unrecoverable error has occurred" (Configuration & Browser Exam Key Calculation) #883
Comments
Hi, we are running into the same issue. Attached you'll find also our logs of this morning. OS: Windows 11 |
Thanks for the extensive reports. The crashes do all appear on or after a browser navigation, but the logs most unfortunately do not contain any specific reason or cause of the crashes. Please search the Event Viewer (Ereignisanzeige) system application of Windows under Windows Logs > Application (Anwendung) for any warning and error messages related to Safe Exam Browser and/or .NET (Runtime). They should entail the exact reason of failure and it would be great if you could post them here. |
Hi and thankyou for your reply.
I've teste on a couple of pc and the problem seems to be disappeared.
I'll try on other pc later...
At the beginning I thought the problem could be related to .net framework
(don't remember where I saw it... sorry).
There might be an update that solved?
Il giorno lun 27 mag 2024 alle ore 11:49 Damian Büchel <
***@***.***> ha scritto:
… Thanks for the extensive reports. The crashes do all appear on or after a
browser navigation, but the logs most unfortunately do not contain any
specific reason or cause of the crashes.
Please search the Event Viewer (Ereignisanzeige) system application of
Windows under Windows Logs > Application (Anwendung) for any warning and
error message. They should entail the exact reason of failure and it would
be great if you could post them here.
—
Reply to this email directly, view it on GitHub
<#883 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIBH3CYQ2PCBW34XD5CETY3ZEL6TJAVCNFSM6AAAAABH4GJL4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGEYDCMRQHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dott. Cesare Tibaldeschi
Ufficio Gestione e Assistenza ICT - Polo di Alessandria
Divisione Innovazione, Digitalizzazione e Qualità dei Processi in ambito
PNRR
Università degli Studi del Piemonte Orientale
"Amedeo Avogadro"
Viale Teresa Michel, 11 - Alessandria
Ufficio 2° piano A238
tel_0131.360170 - ***@***.***
https://disit.uniupo.it
https://upobook.uniupo.it/cesare.tibaldeschi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
I was wrong and probably lucky this morning.
On a third machine SEB crashed and I've found this error in the event
viewer (see also attachment):
*15:28:58 - event id 1026:*
Nome registro: Application
Origine: .NET Runtime
Data: 27/05/2024 15:28:58
ID evento: 1026
Categoria attività:Nessuna
Livello: Errore
Parole chiave: Classico
Utente: N/D
Computer: B30521.********
Descrizione:
Applicazione: SafeExamBrowser.Client.exe
Versione framework: v4.0.30319
Descrizione: il processo è stato terminato a causa di un'eccezione non
gestita.
Informazioni sull'eccezione:
System.Security.Cryptography.CryptographicException
in System.Security.Cryptography.BCryptHashAlgorithm.HashCore(Byte[],
Int32, Int32)
in System.Security.Cryptography.HashAlgorithm.TransformBlock(Byte[],
Int32, Int32, Byte[], Int32)
in System.Security.Cryptography.SHA256Managed.HashCore(Byte[], Int32,
Int32)
in System.Security.Cryptography.HashAlgorithm.ComputeHash(Byte[])
in
SafeExamBrowser.Configuration.Cryptography.KeyGenerator.CalculateConfigurationKeyHash(System.String,
System.String)
in
SafeExamBrowser.Browser.Handlers.ResourceHandler.AppendCustomHeaders(CefSharp.IWebBrowser,
CefSharp.IRequest)
in
SafeExamBrowser.Browser.Handlers.ResourceHandler.OnBeforeResourceLoad(CefSharp.IWebBrowser,
CefSharp.IBrowser, CefSharp.IFrame, CefSharp.IRequest,
CefSharp.IRequestCallback)
in
<Module>.CefSharp.Internals.CefResourceRequestHandlerAdapter.OnBeforeResourceLoad(CefSharp.Internals.CefResourceRequestHandlerAdapter*,
scoped_refptr<CefBrowser>*, scoped_refptr<CefFrame>*,
scoped_refptr<CefRequest>*, scoped_refptr<CefCallback>*)
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name=".NET Runtime" />
<EventID Qualifiers="0">1026</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2024-05-27T13:28:58.9520897Z" />
<EventRecordID>159695</EventRecordID>
<Correlation />
<Execution ProcessID="2940" ThreadID="0" />
<Channel>Application</Channel>
<Computer>B30521.********</Computer>
<Security />
</System>
<EventData>
<Data>Applicazione: SafeExamBrowser.Client.exe
Versione framework: v4.0.30319
Descrizione: il processo è stato terminato a causa di un'eccezione non
gestita.
Informazioni sull'eccezione:
System.Security.Cryptography.CryptographicException
in System.Security.Cryptography.BCryptHashAlgorithm.HashCore(Byte[],
Int32, Int32)
in System.Security.Cryptography.HashAlgorithm.TransformBlock(Byte[],
Int32, Int32, Byte[], Int32)
in System.Security.Cryptography.SHA256Managed.HashCore(Byte[], Int32,
Int32)
in System.Security.Cryptography.HashAlgorithm.ComputeHash(Byte[])
in
SafeExamBrowser.Configuration.Cryptography.KeyGenerator.CalculateConfigurationKeyHash(System.String,
System.String)
in
SafeExamBrowser.Browser.Handlers.ResourceHandler.AppendCustomHeaders(CefSharp.IWebBrowser,
CefSharp.IRequest)
in
SafeExamBrowser.Browser.Handlers.ResourceHandler.OnBeforeResourceLoad(CefSharp.IWebBrowser,
CefSharp.IBrowser, CefSharp.IFrame, CefSharp.IRequest,
CefSharp.IRequestCallback)
in
<Module>.CefSharp.Internals.CefResourceRequestHandlerAdapter.OnBeforeResourceLoad(CefSharp.Internals.CefResourceRequestHandlerAdapter*,
scoped_refptr<CefBrowser>*, scoped_refptr<CefFrame>*,
scoped_refptr<CefRequest>*, scoped_refptr<CefCallback>*)
</Data>
</EventData>
</Event>
*15:29:00 - event id 1000*
Nome registro: Application
Origine: Application Error
Data: 27/05/2024 15:29:00
ID evento: 1000
Categoria attività:Eventi di arresto anomalo dell'applicazione
Livello: Errore
Parole chiave:
Utente: NET\********
Computer: B30521.********
Descrizione:
Nome dell'applicazione che ha generato l'errore:
SafeExamBrowser.Client.exe, versione: 3.7.0.682, timestamp: 0x660d03c4
Nome del modulo che ha generato l'errore: KERNELBASE.dll, versione:
10.0.22621.3527, timestamp: 0x83efbeab
Codice eccezione: 0xe0434352
Offset errore 0x000000000006543c
ID processo che ha generato l'errore: 0x0xB7C
Ora di avvio dell'applicazione che ha generato l'errore: 0x0x1DAB03982B18E27
Percorso dell'applicazione che ha generato l'errore: C:\Program
Files\SafeExamBrowser\Application\SafeExamBrowser.Client.exe
Percorso del modulo che ha generato l'errore:
C:\WINDOWS\System32\KERNELBASE.dll
ID segnalazione: f56e66b9-c872-4162-92fb-eb68bf70db89
Nome completo pacchetto che ha generato l'errore:
ID applicazione relativo al pacchetto che ha generato l'errore:
XML evento:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error"
Guid="{a0e9b465-b939-57d7-b27d-95d8e925ff57}" />
<EventID>1000</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>100</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2024-05-27T13:29:00.2232659Z" />
<EventRecordID>159696</EventRecordID>
<Correlation />
<Execution ProcessID="8888" ThreadID="12032" />
<Channel>Application</Channel>
<Computer>B30521.********</Computer>
<Security UserID="S-1-5-21-3566234421-4247608715-2402273958-51259" />
</System>
<EventData>
<Data Name="AppName">SafeExamBrowser.Client.exe</Data>
<Data Name="AppVersion">3.7.0.682</Data>
<Data Name="AppTimeStamp">660d03c4</Data>
<Data Name="ModuleName">KERNELBASE.dll</Data>
<Data Name="ModuleVersion">10.0.22621.3527</Data>
<Data Name="ModuleTimeStamp">83efbeab</Data>
<Data Name="ExceptionCode">e0434352</Data>
<Data Name="FaultingOffset">000000000006543c</Data>
<Data Name="ProcessId">0xb7c</Data>
<Data Name="ProcessCreationTime">0x1dab03982b18e27</Data>
<Data Name="AppPath">C:\Program
Files\SafeExamBrowser\Application\SafeExamBrowser.Client.exe</Data>
<Data Name="ModulePath">C:\WINDOWS\System32\KERNELBASE.dll</Data>
<Data
Name="IntegratorReportId">f56e66b9-c872-4162-92fb-eb68bf70db89</Data>
<Data Name="PackageFullName">
</Data>
<Data Name="PackageRelativeAppId">
</Data>
</EventData>
</Event>
Il giorno lun 27 mag 2024 alle ore 13:13 Cesare Tibaldeschi <
***@***.***> ha scritto:
… Hi and thankyou for your reply.
I've teste on a couple of pc and the problem seems to be disappeared.
I'll try on other pc later...
At the beginning I thought the problem could be related to .net framework
(don't remember where I saw it... sorry).
There might be an update that solved?
Il giorno lun 27 mag 2024 alle ore 11:49 Damian Büchel <
***@***.***> ha scritto:
> Thanks for the extensive reports. The crashes do all appear on or after a
> browser navigation, but the logs most unfortunately do not contain any
> specific reason or cause of the crashes.
>
> Please search the Event Viewer (Ereignisanzeige) system application of
> Windows under Windows Logs > Application (Anwendung) for any warning and
> error message. They should entail the exact reason of failure and it would
> be great if you could post them here.
>
> —
> Reply to this email directly, view it on GitHub
> <#883 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AIBH3CYQ2PCBW34XD5CETY3ZEL6TJAVCNFSM6AAAAABH4GJL4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGEYDCMRQHE>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dott. Cesare Tibaldeschi
Ufficio Gestione e Assistenza ICT - Polo di Alessandria
Divisione Innovazione, Digitalizzazione e Qualità dei Processi in ambito
PNRR
Università degli Studi del Piemonte Orientale
"Amedeo Avogadro"
Viale Teresa Michel, 11 - Alessandria
Ufficio 2° piano A238
tel_0131.360170 - ***@***.***
https://disit.uniupo.it
https://upobook.uniupo.it/cesare.tibaldeschi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dott. Cesare Tibaldeschi
Ufficio Gestione e Assistenza ICT - Polo di Alessandria
Divisione Innovazione, Digitalizzazione e Qualità dei Processi in ambito
PNRR
Università degli Studi del Piemonte Orientale
"Amedeo Avogadro"
Viale Teresa Michel, 11 - Alessandria
Ufficio 2° piano A238
tel_0131.360170 - ***@***.***
https://disit.uniupo.it
https://upobook.uniupo.it/cesare.tibaldeschi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Thanks a lot for the update @CesareTiba! In your case, the calculation of the Configuration Key appears to cause a crash:
Now the question is: Why? Do you happen to have an extensive configuration with e.g. URL filters and third-party applications (potentially including command-line arguments)? And could you either way please test whether you're running into the same issue when using a most basic as possible configuration with ideally only default values. |
Hello! The first file comes from our IT technician, who sent me the error log from a PC in our IT rooms. Thank you! |
We've also been seeing this happen regularly in the last few weeks, with about 10-20% of Win users affected. Luckily it only crashes once and then works fine until the end of the exam once SEB has been restarted with the same config (using the quit password to get past the red lock screen).
|
I think our configuration is not so complicated, but I'll ask to whom manage Moodle installation to produce a simpliest version of the configuration file. |
Thanks for the additional information. I shall further investigate the issue once time permits, presumably in the upcoming 1-2 weeks. |
This also started happening to some of our students in the last 2-3 weeks. Most of the time it crashes, when the students want to start or exit an exam. In most cases they just need to re-start SEB and log in again, no quit passwords needed.
|
@micimh If you'd have any SEB or system logs with further details, then that'd be of great help (especially crash logs from the application log in the event viewer system application). |
@dbuechel referring to the message of @micimh i can provide SEB-Logs, hopefully we can provide logs from the event veiwer next week |
@dbuechel, we have a few more questions:
|
Thanks for the additional information, I also have received the event viewer data. I shall have a look at it once time permits, hopefully already by the end of this week. |
I have located a possible concurrency issue with the key hash calculation, but am uncertain whether it really is the cause of the crashes (especially since they only appear to happen when calculating the configuration key hash, whereas I would expect to also see crashes due to the browser exam key hash calculation). Either way, I have implemented an improvement which can be tested in the latest beta build for version 3.8.0: https://sebdev.ethz.ch/api/buildjobs/60e5ojn5btt2kj3t/artifacts/SEB_3.8.0.693_SetupBundle.exe. It would be of great help if as many of you which can (reliably) reproduce the issue could test the latest build to see whether it indeed fixes the problem or not. |
Thanks, I'll check it out tomorrow morning right away!
Cesare
Il giorno gio 6 giu 2024 alle ore 19:04 Damian Büchel <
***@***.***> ha scritto:
… I have located a possible concurrency issue with the key hash calculation,
but am uncertain whether it really is the cause of the crashes (especially
since they only appear to happen when calculating the configuration key
hash, whereas I would expect to also see crashes due to the browser exam
key calculation).
Either way, I have implemented an improvement which can be tested in the
latest beta build for version 3.8.0:
https://sebdev.ethz.ch/api/buildjobs/60e5ojn5btt2kj3t/artifacts/SEB_3.8.0.693_SetupBundle.exe.
It would be of great help if as many of you which can (reliably) reproduce
the issue could test the latest build to see whether it indeed fixes the
problem or not.
—
Reply to this email directly, view it on GitHub
<#883 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIBH3C26EBHQ7HNESMXSAWTZGCJAPAVCNFSM6AAAAABH4GJL4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJTGAYDEMJXGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dott. Cesare Tibaldeschi
Ufficio Gestione e Assistenza ICT - Polo di Alessandria
Divisione Innovazione, Digitalizzazione e Qualità dei Processi in ambito
PNRR
Università degli Studi del Piemonte Orientale
"Amedeo Avogadro"
Viale Teresa Michel, 11 - Alessandria
Ufficio 2° piano A238
tel_0131.360170 - ***@***.***
https://disit.uniupo.it
https://upobook.uniupo.it/cesare.tibaldeschi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Good news. |
Hello! Thanks for the beta - I'll pass it on to our IT technician and ask him to install it in one of our computer rooms. However, we can't carry out tests until next week - I'll let you know then whether the problem persists. The good news from Cesare makes me feel positive though :) Thanks and see you soon! |
@dbuechel thank you for the update. |
A quick update - unfortunately our IT technician is on vacation until June 19th. We will have to test the beta on our private devices for as long as possible and schedule the tests in the computer rooms for the end of June. I'll report back then :) |
@CesareTiba That's excellent, thanks for the quick testing and feedback! Let's hope that this then indeed was the issue, otherwise we'd be back to square one. You were (with the official versions) able to reliably reproduce the problem in your lab? |
@micimh I am not familiar with QTI, but if it causes an extended amount of network traffic, then that might indeed apply (as it appears to have been a concurrency issue when rendering a web page). |
@katlee890 No worries, the release of version 3.8.0 is currently scheduled for the end of August. |
Hello, we just had the same issue on moodle 4.1.10 with SEB 3.5, 3.6, 3.7 Since all the exams are BYOD we will ask the students that had a crash to install 3.8 beta thanks a lot for your support @dbuechel christian |
@steveorulez That on the one hand would be good in order to know whether the fix indeed resolves the problem, but on the other hand please do note that SEB 3.8.0 is still in development and we do not recommend using beta versions in a production environment. |
We were able to verify with a unit test that the concurrency issue mentioned above indeed is the cause of the crashes and that the already implemented fix (see 04dce13) resolves the issue. We shall thus release a patch version 3.7.1 by no later than the end of this week. |
Hi! Thank you all for the tests and messages so far. I started testing on my personal laptop yesterday and had no crashes (yay!). As soon as the fix is available and our technician is back from his vacation, we will test it in the IT rooms, but I am sure that there will be no more problems :) Thanks and best wishes, |
Hello, we can confirm that 5 students today installed SEB 3.8.0 BETA and no crash happened so far. Thanks @dbuechel for the update on the fix christian |
Excellent, thanks for the updates, that's great to know. |
…urrency issue with CK and BEK hash calculation.
Thanks a lot @dbuechel for the update. |
Hello, we installed 30+ SEB 3.8 BETA on student laptop and so far we only had 1 crash. If the student had SEB 3.5/3.6/3.7 we updated to 3.8 BETA, i know it's not a production version but the first few days were impossible to manage. christian |
Yes, it affects both unfortunately. |
That was due to an issue we still had in that build related to a new network adapter feature, thus the warning that development builds shouldn't be used in a production environment. We will release SEB 3.7.1 today, so then that version can and should be used for exams. |
…urrency issue with CK and BEK hash calculation.
Version 3.7.1 has been released: https://github.com/SafeExamBrowser/seb-win-refactoring/releases/tag/v3.7.1. We recommend updating as soon as possible. Version 3.8.0 already contains the fix as mentioned above, its release date is currently scheduled for end of August of this year: https://github.com/SafeExamBrowser/seb-win-refactoring/milestone/12. |
We completed an exam this morning for 67 students using SEB 3.7.1 with no issues. Thanks for the quick resolution. |
Thanks @dbuechel yesterday we asked all our students to update their SEB and we did 150 students with no issues (usually 1/3 is using windows). The only issue we had so far is downgrading from 3.8 BETA to 3.7.1, they need to uninstall and reinstall but they don't know how to uninstall SEB :) christian |
That is most definitely another issue unrelated to this one. The message "Application Error: 'An unrecoverable error has occurred'" is a generic error message displayed whenever there is an irreversible issue in the client application component. Please provide the log files of the affected session so that we can create another issue if necessary. |
We had this issue in May 2024 but, only in one distinct setting: Moodle 4.2.7 exam with no digital ressources (e.g. websites) no third party applications Behaviour according to the tutor:
I'll send some logfiles to Damian. |
@moehzhaw Yes, the logs do show the same issue. The solution is to update to the latest release version (currently 3.7.1). |
Important
%LocalAppData%\SafeExamBrowser\Logs
.Describe the Bug
Hello!
We use SEB in conjunction with Moodle (version 4.1.10).
Since last week we have been getting the following error message:
"A fatal error has occurred. Please consult the application log for more information. SEB will now exit..."
Various tests were carried out. The crashes occurred either immediately when starting the SEB or during an active test attempt. Our IT technician has already completely reinstalled the SEB to version 3.7.0, unfortunately without success.
We use a Safe Exam Browser configuration template stored in Moodle, which we make available in the administration and which can be selected via the test settings in Moodle.
I have attached all the logs of the successful and crashed sessions. Maybe you can read something here about why the crashes occur? I am very grateful for every hint.
Best regards, Kat
Version Information
seb_logs.zip
![SEBProbleme](https://private-user-images.githubusercontent.com/170106109/331618045-bb19fddd-ab0e-4792-bf47-0d0ffc75e4fa.jpeg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3MDUyMDcsIm5iZiI6MTcyNDcwNDkwNywicGF0aCI6Ii8xNzAxMDYxMDkvMzMxNjE4MDQ1LWJiMTlmZGRkLWFiMGUtNDc5Mi1iZjQ3LTBkMGZmYzc1ZTRmYS5qcGVnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjZUMjA0MTQ3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjNiZGJmOGUxZDYyZWVjZmQyZDMyNGNmNjVhY2U3NjkyMDQyMmRlMDQ5NDdmZTA1ZDM0NmJiMDY3MTg1ZDc5NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.TGCj6krJyj8qr0cFpBbONNJeRHuVn2zimKPHu37OR8U)
The text was updated successfully, but these errors were encountered: