Page 1 of 1

Kernelbase.dll/SQLlite crash

Posted: 27 May 2020, 01:34
by PDelta41
Videonizer is crashing on the splash screen - This behavior is consistent, and does not load the main window.
I've tried restarting, uninstalling & reinstalling, and even installing older versions. Interesting, on older versions that create a new database in the program folder, I do get to the main window the first load; it will crash every time if the .db3 file is there, but load otherwise.
It has been several weeks since I last used the program, and I did reinstall Windows 10 around that time (I've tried all versions both with and without the registration key. Below are my data:

From Event Viewer
Error, .NET Runtime, ID 1026:
Application: Videonizer.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException
at System.DateTimeParse.ParseExactMultiple(System.String, System.String[], System.Globalization.DateTimeFormatInfo, System.Globalization.DateTimeStyles)
at System.DateTime.ParseExact(System.String, System.String[], System.IFormatProvider, System.Globalization.DateTimeStyles)
at System.Data.SQLite.SQLiteConvert.ToDateTime(System.String, System.Data.SQLite.SQLiteDateFormats, System.DateTimeKind, System.String)
at System.Data.SQLite.SQLite3.GetDateTime(System.Data.SQLite.SQLiteStatement, Int32)
at System.Data.SQLite.SQLite3.GetValue(System.Data.SQLite.SQLiteStatement, System.Data.SQLite.SQLiteConnectionFlags, Int32, System.Data.SQLite.SQLiteType)
at System.Data.SQLite.SQLiteDataReader.GetValue(Int32)
at System.Data.SQLite.SQLiteDataReader.GetValues(System.Object[])
at System.Data.ProviderBase.DataReaderContainer+CommonLanguageSubsetDataReader.GetValues(System.Object[])
at System.Data.ProviderBase.SchemaMapping.LoadDataRow()
at System.Data.Common.DataAdapter.FillLoadDataRow(System.Data.ProviderBase.SchemaMapping)
at System.Data.Common.DataAdapter.FillFromReader(System.Data.DataSet, System.Data.DataTable, System.String, System.Data.ProviderBase.DataReaderContainer, Int32, Int32, System.Data.DataColumn, System.Object)
at System.Data.Common.DataAdapter.Fill(System.Data.DataTable[], System.Data.IDataReader, Int32, Int32)
at System.Data.Common.LoadAdapter.FillFromReader(System.Data.DataTable[], System.Data.IDataReader, Int32, Int32)
at System.Data.DataTable.Load(System.Data.IDataReader, System.Data.LoadOption, System.Data.FillErrorEventHandler)
at ‌‏​‏‎‏‭‫‮‍‮‍‭‌‬​‪‏‫‏‬‮‏‪‭‎‏‮.‌‮‬‪‌‭‌‬‬​​‎‫‏‭‎​‬‮()
at '/2}\*?Z-1dZW Mq'hcqOK\*J>$.‭‭‏‏‌‫‏​​‬‌‮‏‌‎‌‪‪‏‌‭‭‮()
at '/2}\*?Z-1dZW Mq'hcqOK\*J>$..ctor()
at ​‫‎​‏‮‎‏‏‮‭‌‮‭‌‏‮‫‮‮.​‌‏‪‭‍‪‌‮​‪‌​​‏‪‎‫‎​‪‬‮‪‪‏‮‬‮(System.String[])
From event Viewer:
Error, Application Error
Faulting application name: Videonizer.exe, version: 8.2.0.1, time stamp: 0x5eca8e96
Faulting module name: KERNELBASE.dll, version: 10.0.18362.815, time stamp: 0x67005c2a
Exception code: 0xe0434352
Fault offset: 0x00114402
Faulting process id: 0x1ca0
Faulting application start time: 0x01d633aca8ef0516
Faulting application path: D:\Program Files\Videonizer\Videonizer.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: a1292d8b-31bc-43c0-931c-52b2fa778922
Faulting package full name:
Faulting package-relative application ID:
And my config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="PornOrganizer.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<userSettings>
<PornOrganizer.Properties.Settings>
<setting name="test" serializeAs="String">
<value>1</value>
</setting>
</PornOrganizer.Properties.Settings>
</userSettings>

<system.data>
<DbProviderFactories>
<remove invariant="System.Data.SQLite"/>
<add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".Net Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite,
Version=1.0.112.0, Culture=neutral,
PublicKeyToken=db937bc2d44ff139"/>
</DbProviderFactories>
</system.data>

<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/>
</startup>


</configuration>
Any help getting this back up and running would be fantastic.
Thanks!

Re: Kernelbase.dll/SQLlite crash

Posted: 27 May 2020, 07:31
by admin
Hello,

Could you please share the database file with me for debugging?

DateTimeParse.ParseExactMultiple
Which Windows locale do you use?

Re: Kernelbase.dll/SQLlite crash

Posted: 27 May 2020, 19:05
by PDelta41
My database is attached in 7z format.
This seems to have been the most recent database created; deleting this file does allow Videonizer to run, at which point it creates a new one and crashes at the splash screen on subsequent runs.


My Windows locale is "en-us;English (United States)", though I do have the date set to display as yyyy-MM-dd, and the time as HH.mm.ss.

Thanks!

Re: Kernelbase.dll/SQLlite crash

Posted: 27 May 2020, 19:19
by admin
Here is the issue:

1 - DateTime in your database
2 - DataTime expected example

Code: Select all

1 - 2020-05-27 08.36.49.2391
2 - 2020-02-15 20:45:33.7694
Videonizer just does not understand what 08.36.49.2391 means.
Is it an option to change your Windows DateTime format to use colons?

Re: Kernelbase.dll/SQLlite crash

Posted: 27 May 2020, 21:31
by PDelta41
Interesting. Changing the periods to colons does fix the problem (so long as I start with a clean database, but I can live with that). Switching back and forth will work, as I do find that the time is much easier to read with the periods.
I just have to remember to switch before using Videonizer. And to back up my database more often.

Re: Kernelbase.dll/SQLlite crash

Posted: 27 May 2020, 22:56
by admin
I will check how to add a culture invariant support for it.