Can't write DB to server.db - Singleplayer

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Can't write DB to server.db - Singleplayer

Postby pier34 » Sat Apr 12, 2008 4:58 pm

Okay, here is my crash report from Nexuiz with latest hotfix from today. Singleplayer crashes after a level. He can't wirte DB to server.db. Used glx and sdl - still the same.

Ubuntu 7.10
nvidia 8600gt
core 2 duo
-----------------------

antilag_times[31] 147.5000
antilag_index 17.0000
antilag_saved_origin ' 1015.5190 -164.6138 16.0312'
Host_Error: server: Program error in function db_save:
Can't write DB to server.db
Tip: read above for entity information

QuakeC crash report for server:
s443: STORE_F GLOBAL1, fh
s444: LT fh (= -1.0000), FALSE (= 0.0000), GLOBAL1092
s445: IFNOT GLOBAL1092, s451
s446: STORE_F IMMEDIATE (=Can't write DB to ), GLOBAL4
s447: STORE_F pFilename (=server.db), GLOBAL7
s448: CALL2 strcat (=strcat())
s449: STORE_F GLOBAL1, GLOBAL4
s450: CALL1 error (=error())
../common/util.qc : db_save : statement 10
g_world.qc : SV_Shutdown : statement 8
Client "gotog" dropped
Client "Acidic" dropped
Client "Kangaroo" dropped
Client "Roadkill" dropped
] quit

Thx
pier34
Newbie
 
Posts: 4
Joined: Sat Apr 12, 2008 10:12 am

Postby esteel » Sun Apr 13, 2008 12:15 pm

It just tries to open a file for write.. ~/.nexuiz/data/data/server.db unless you gave some startup options to change this but i doubt this.
Maybe some other process has the file open or there are problems with permissions?

I doubt there is an error in the code, esp in that part.. but maybe it should be more graceful and not just exit.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby pier34 » Sun Apr 13, 2008 3:45 pm

Okay, nice tip. I change the permission of server.db - this problem is solved. But now I have this:

======menu ERROR in MapInfo_Get_ByName:
... but I just wrote it!

menu EDICT 0:
Menu_Error: menu: Program error in function MapInfo_Get_ByName:
... but I just wrote it!
Tip: read above for entity information

QuakeC crash report for menu:
s22690: ../common/mapinfo.qc:554: STORE_F fn (=maps/HandsOfGod.mapinfo), GLOBAL4
s22691: ../common/mapinfo.qc:554: STORE_F KEY_GAME (= 0.0000), GLOBAL7
s22692: ../common/mapinfo.qc:554: CALL2 fopen (=fopen())
s22693: ../common/mapinfo.qc:554: STORE_F GLOBAL1, fh
s22694: ../common/mapinfo.qc:555: LT fh (= -1.0000), KEY_GAME (= 0.0000), GLOBAL3795
s22695: ../common/mapinfo.qc:555: IFNOT GLOBAL3795, s22698
s22696: ../common/mapinfo.qc:556: STORE_F IMMEDIATE (=... but I just wrote it!), GLOBAL4
s22697: ../common/mapinfo.qc:556: CALL1 error (=error())
../common/mapinfo.qc : MapInfo_Get_ByName : statement 150
../common/mapinfo.qc : _MapInfo_CheckMap : statement 3
../common/mapinfo.qc : MapInfo_CheckMap : statement 1
../common/mapinfo.qc : MapInfo_LoadMap : statement 2
../common/campaign_setup.qc : CampaignSetup : statement 33
nexuiz/campaign.c : CampaignList_LoadMap : statement 9
nexuiz/campaign.c : clickListBoxItemNexuizCampaignList : statement 9
item/listbox.c : mouseReleaseListBox : statement 53
item/container.c : mouseReleaseContainer : statement 11
item/inputcontainer.c : mouseReleaseInputContainer : statement 2
item/container.c : mouseReleaseContainer : statement 11
item/nexposee.c : mouseReleaseNexposee : statement 5
item/container.c : mouseReleaseContainer : statement 11
menu.qc : m_keyup : statement 20
Falling back to normal menu
execing mutator_reset.cfg
Draw_CachePic: failed to load gfx/mainmenu
pier34
Newbie
 
Posts: 4
Joined: Sat Apr 12, 2008 10:12 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron