Miranda NG Official Community Forum
Forum for English speaking Miranda NG users => Support/Help => Topic started by: Kyrah on 05 12 2020, 12:25:45
-
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
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]
-
Fixed. Rollback to the previous build (/Miranda root/Plugin Updates/Backups), perform database check and compact, then upgrade.
-
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
-
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"
-
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
-
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
-
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
-
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
-
that worked! thank you
-
I removed mdbx_check command from wiki. We have DbChecker plugin now.
-
but if miranda crashes on startup, how do you run it? (Apart from installing the portable version and copying files across)
-
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 :/
-
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.
-
Today's update was able to open and correct my database.
Huge thank you to the devs!
-
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
-
I'm prepared to just not update & wait for the next build, I can't spare the time to debug the issue right now.
Fixed crash on fragments of destroyed metacontacts. Try now (backup database and Miranda catalog just in case)
-
Is it possible for this plugin (command) to make a console mode or silent mode for checking the database?
Miranda /svc:dbchecker
Run without GUI and get "no errors" or "corrupted" return code
-
DbChecker already supports service mode. Just run
Miranda64.exe /svc:dbchecker
true console mode can lead to multiple langpack-related problems
-
MDS,
1. Miranda is a GUI program, so users expect an usual window to be created.
If you switch to the console in service mode, for 99% of users it will give a blinked black window that disappears quickly.
Not very informative, right?
2. Console in Windows still uses certain code page (full Unicode console is only being tested in Windows 10), all another versions will have problems if your translation won't fit into your console code page. Also, Miranda with russian lang pack uses code page 1251, while console uses code page 866, which makes text unreadable
-
Windows console can run in CP 65001 (UTF-8) since Windows Vista at least. But that's irrelevant.