[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  The old "database disk is malformed" strikes again
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

The old "database disk is malformed" strikes again

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Xephos   (2 posts)  [Biography] bio
Date Fri 04 Jul 2014 01:23 AM (UTC)
Message
I started using MUSHClient a bit more than a year now and it has worked perfectly without a flaw since the first time. But then, a couple of months back, it simply crashed, leaving behind a message that goes like this:

SQL Error on statement: "DROP TABLE IF EXISTS control; CREATE TABLE control (name VARCHAR(10)NOT NULL PRIMARY KEY, value INT NOT NULL);"
database disk image is malformed

Now, I am an experienced builder, but I don't have a damn clue about programming or coding, since I never dabbled in that. I believe this is a newbie bug or something, I am just too dumb to see it.

Thanks in advance!
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #1 on Fri 04 Jul 2014 05:18 AM (UTC)
Message
Based on a very quick google to verify my first thoughts, this sounds a lot like hard drive corruption. Might be something as simple as checking your drive for errors and attempting to recover bad sectors could fix it but the good news is it's def not a newbie error and isn't likely to be caused by anything you've done.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Fri 04 Jul 2014 06:03 AM (UTC)
Message
Sounds like your MUSHclient global preferences file has become corrupted. How, I don't know. Maybe the power went off at an inopportune moment.

You could try to do an integrity check:

http://www.gammon.com.au/forum/?id=9262&reply=12#reply12

I strongly suspect that this (database) file is the problem:


 mushclient_prefs.sqlite


That is in the MUSHclient installation directory. It doesn't have anything earth-staggeringly useful in it, just your world screen positions, global preferences, things like that.

I suggest you close MUSHclient, then make a copy of that file, and then delete it (or just rename it to something else). It should be re-created next time the client starts, and your problems should go away.

I strongly recommend making backups, next time you may lose an important world file with your passwords and things in it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Xephos   (2 posts)  [Biography] bio
Date Reply #3 on Fri 04 Jul 2014 10:00 AM (UTC)
Message
Thank you both for contributing and thank you Nick for finding the problem! ^_^
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


2,981 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]