Author Topic: [Solved] Miranda NG fails to load current profile (silent crash)  (Read 9037 times)

0 Members and 1 Guest are viewing this topic.

Offline Kyrah

  • Newbie
  • *
  • Posts: 3
I tried to figure this out all morning, but my profile won't load anymore after updating today, Miranda NG silently crashes.

I tried re-importing into a new profile: profile invalid.

mbx_dump.exe -n -a -f
mbx_load.exe -n -a -f
No difference.

mdbx_chk.exe -i -w -v -t -1
No difference.

I tried to use check database/compress from the profile selection menu -> silent crash.

I tried to start in service mode:
crash dumper -> silent crash
db checker -> silent crash
db editor -> silent crash

VersionInfo
Quote
CPU: AMD Ryzen 5 1600 Six-Core Processor  [AMD64 Family 23 Model 1 Stepping 1] [DEP Enabled] [12 CPUs]
Installed RAM: 16336 MBytes
Microsoft Windows 10 , 64-bit (build 19042)
Internet Explorer: 9.11.19041.0 (build 919041)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/French | French/English
Free disk space on Miranda partition: 434203 MBytes

Miranda NG Version: 0.95.13 alpha build #23505 (affd5ca9f5) x64
Build time: 5 Dec 2020 2:04:42
Profile: D:\Users\Kyrah\AppData\Roaming\Miranda NG\Kyrah\test\test.dat
Profile size: 1048576 Bytes
Profile creation date: 5 Dec 2020 11:49:15
Language pack: No language pack installed
Service Mode: No

Active Plugins (18):
¤ AVS.dll v.0.98.1.2 [5 Dec 2020 2:04:48] - Avatar service
¤ Clist_modern.dll v.0.9.1.11 [5 Dec 2020 2:05:10] - Modern contact list
¤ CrashDumper.dll v.0.1.0.4 [5 Dec 2020 0:05:15] - Crash dumper
¤ Db_autobackups.dll v.0.1.0.4 [5 Dec 2020 2:04:52] - Db autobackuper
¤ DbChecker.dll v.0.95.13.1 [5 Dec 2020 2:06:00] - Database checker
¤ DbEditorPP.dll v.4.0.1.3 [5 Dec 2020 2:05:14] - Database editor++
¤ Dbx_mdbx.dll v.0.95.9.1 [5 Dec 2020 2:06:14] - Miranda NG MDBX database driver
¤ Dummy.dll v.0.2.0.0 [5 Dec 2020 2:05:42] - Dummy protocol
¤ Facebook.dll v.0.1.0.9 [5 Dec 2020 2:06:10] - Facebook
¤ GG.dll v.0.95.11.1 [5 Dec 2020 2:05:10] - Gadu-Gadu protocol
¤ ICQ.dll v.0.95.12.1 [5 Dec 2020 2:06:00] - ICQ-WIM protocol
¤ Import.dll v.0.95.11.1 [5 Dec 2020 2:05:14] - Import contacts and messages
¤ IRC.dll v.0.95.10.1 [5 Dec 2020 2:04:48] - IRC protocol
¤ Jabber.dll v.0.95.11.1 [5 Dec 2020 2:05:16] - Jabber protocol
¤ PluginUpdater.dll v.0.2.0.9 [5 Dec 2020 2:05:18] - Plugin updater
¤ TabSRMM.dll v.3.6.1.5 [5 Dec 2020 2:04:52] - TabSRMM
¤ TopToolBar.dll v.0.8.0.5 [5 Dec 2020 2:05:08] - TopToolBar
¤ Tox.dll v.0.11.3.2 [5 Dec 2020 2:06:22] - Tox protocol

Protocols and Accounts:
-------------------------------------------------------------------------------

Icon Packs:
-------------------------------------------------------------------------------
 Proto_Dummy.dll [5 Dec 2020 2:06:28]
 Proto_Facebook.dll [5 Dec 2020 2:06:28]
 Proto_GG.dll [5 Dec 2020 2:06:28]
 Proto_ICQ.dll [5 Dec 2020 2:06:28]
 Proto_IRC.dll [5 Dec 2020 2:06:28]
 Proto_Jabber.dll [5 Dec 2020 2:06:28]
 Proto_MetaContacts.dll [5 Dec 2020 2:06:28]
 Proto_MRA.dll [5 Dec 2020 2:06:28]
 Proto_Tox.dll [5 Dec 2020 2:06:28]
 TabSRMM_icons.dll [5 Dec 2020 2:06:28]
 Toolbar_icons.dll [5 Dec 2020 2:06:28]
 xStatus_Jabber.dll [5 Dec 2020 2:06:28]
[close]
« Last Edit: 07 12 2020, 17:26:51 by Kyrah »
 

Offline dartraiden

Re: Miranda NG fails to load current profile (silent crash)
« Reply #1 on: 05 12 2020, 13:15:28 »
Fixed. Rollback to the previous build (/Miranda root/Plugin Updates/Backups), perform database check and compact, then upgrade.
« Last Edit: 05 12 2020, 14:04:33 by dartraiden »
 

Offline thosrtanner

  • Jr. Member
  • **
  • Posts: 56
Re: Miranda NG fails to load current profile (silent crash)
« Reply #2 on: 05 12 2020, 13:53:28 »
how do i rollback to the previous build on windows?

I tried running mdbx_chk from the backup directory. it gave no errors but runing miranda64 from there doesn't seem to know about my existing profile. and running it from the install directory still crashes
« Last Edit: 05 12 2020, 14:03:29 by thosrtanner »
 

Offline dartraiden

Re: Miranda NG fails to load current profile (silent crash)
« Reply #3 on: 05 12 2020, 14:03:31 »
You can find previous binaries in /Miranda root/Plugin Updates/Backups/BKP2020-xx-xx

After rollback go to Main menu -> Database and perform "Check database", then "Compact"
 

Offline thosrtanner

  • Jr. Member
  • **
  • Posts: 56
Re: Miranda NG fails to load current profile (silent crash)
« Reply #4 on: 05 12 2020, 14:06:45 »
ok, running from yesterdays (2020-12-04) says 911 'wrong order of entries' errors, which go away with -i. What do I do next, it doesn't see anything about fixing. And running miranda64 from there comes up with a blank profile screen
 

Offline dartraiden

Re: Miranda NG fails to load current profile (silent crash)
« Reply #5 on: 05 12 2020, 14:07:48 »
Main menu -> Database -> "Check database"
Main menu -> Database -> "Compact"

Use dbchecker plugin, not a mdbx_chk.

If you cannot start Miranda, launch Miranda64.exe /svc:dbchecker and perform check
« Last Edit: 05 12 2020, 14:11:33 by dartraiden »
 

Offline thosrtanner

  • Jr. Member
  • **
  • Posts: 56
Re: Miranda NG fails to load current profile (silent crash)
« Reply #6 on: 05 12 2020, 14:13:54 »
How? Am I meant to copy the backup directory over the existing one? If I run miranda64 from the backup directory, it asks me to create a new profile and can't find my existong ones
 

Offline dartraiden

Re: Miranda NG fails to load current profile (silent crash)
« Reply #7 on: 05 12 2020, 14:14:21 »
Try to start portable https://www.miranda-ng.org/distr/miranda-ng-alpha-latest_x64.7z
(place your db.dat into /portable_folder/Profiles/name/name.dat)

if success, perform check and compact via main menu (not mdbx_chk)

if the portable version does not see your profile, you probably damaged it with mdbx_chk
hope you have db backups
« Last Edit: 05 12 2020, 14:17:26 by dartraiden »
 

Offline thosrtanner

  • Jr. Member
  • **
  • Posts: 56
Re: Miranda NG fails to load current profile (silent crash)
« Reply #8 on: 05 12 2020, 14:21:24 »
that worked! thank you
 

Offline dartraiden

Re: Miranda NG fails to load current profile (silent crash)
« Reply #9 on: 05 12 2020, 14:23:09 »
I removed mdbx_check command from wiki. We have DbChecker plugin now.
 

Offline thosrtanner

  • Jr. Member
  • **
  • Posts: 56
Re: Miranda NG fails to load current profile (silent crash)
« Reply #10 on: 05 12 2020, 16:14:33 »
but if miranda crashes on startup, how do you run it? (Apart from installing the portable version and copying files across)
 

Offline Kyrah

  • Newbie
  • *
  • Posts: 3
Re: Miranda NG fails to load current profile (silent crash)
« Reply #11 on: 05 12 2020, 16:49:16 »
Fixed. Rollback to the previous build (/Miranda root/Plugin Updates/Backups), perform database check and compact, then upgrade.
Unfortunately I've already fully re-installed :/
 

Offline Karibanu

  • Newbie
  • *
  • Posts: 13
Re: Miranda NG fails to load current profile (silent crash)
« Reply #12 on: 06 12 2020, 18:29:32 »
It may just be the current build - I updated & then rebooted the PC, & Miranda kept crashing trying to load the profile - logs reckoned it was likely a MDBX issue. Pulled the entire install ( with profile ) out of my nightly backup from yesterday, started fine, checked the DB, compacted it, updated and got the same error - so either there's a bug in the DB handler somewhere or there's a problem migrating the DB. I seem to have two DB drivers installed, I don't know which order they try.

I'm prepared to just not update & wait for the next build, I can't spare the time to debug the issue right now.
 

Offline Kyrah

  • Newbie
  • *
  • Posts: 3
Re: Miranda NG fails to load current profile (silent crash)
« Reply #13 on: 07 12 2020, 17:26:36 »
Today's update was able to open and correct my database.

Huge thank you to the devs!
 

Offline dartraiden

ut if miranda crashes on startup, how do you run it? (Apart from installing the portable version and copying files across)
For example:
- move problematic db to smth place
- start Miranda -> no db -> asks to create new
- update to latest build (where bug is fixed)
- close Miranda
- delete new db, and restore your db
- successful start -> check -> compact