New Doom Forums  
Debugging - New Doom Forums
Go Back   New Doom Forums > Source Ports > Doomsday
Register Blogs FAQ Calendar Mark Forums Read

Reply
 
Thread Tools Display Modes
Old October 31st, 2009, 04:43 PM   #1
trhodes
Commander Keen
 
Join Date: Feb 2008
Posts: 2
Debugging

So I am returning to Doomsday after not playing since deng-1.9.0-beta5.2 when multiuser mode wouldn't work for me. Now I'm playing it again but, using jheretic, I end up with a segmentation fault on E2M4. With or without any .pk3 files added, I always get the same thing:

[SNIP]
SetupLevel: E2M4
WadMapConverter::Convert: Attempting map conversion...
WadMapConverter::Convert: Unknown map format, aborting.
VerifyMapData: BEHAVIOR for "E2M4" could not be found.
Useable data will be generated automatically if needed.
DetermineMapDataFormat: (V2 GL Node Data)
(glBSP 2.20 | 2009-10-31 05:57:01.0000 | 0xda256871)
P_LoadMapData: E2M4
Loading Sidedef Texture IDs...
Group lines
Sector look up
Build line and subsector tables
Init links
Z_Create: New 32.0 MB memory volume.
Z_CheckHeap
Z_CheckHeap
P_CheckLevel: Checking E2M4 for errors...
Init server
Deal starts
Spawn players
Done
Z_CheckHeap
Segmentation fault (core dumped)

I have tried building with debugging symbols to load doomsday into gdb, but never end up with any symbols (gcc -g and g++ -g) in the binary. Looking at the code (Src/p_arch.c) shows nothing abnormal. The wad itself is from a release containing the original three worlds and two additional, I guess master levels. The MD5 is: MD5 (heretic.wad) = 66d686b1ed6d35ff103f15dbd30e0341 and is not corrupt.

My version is 1.9.0b4 on FreeBSD 8.0 with only a single change to the source (for FreeBSD playability):

--- Src/dd_pinit.c.orig Fri Apr 7 21:12:59 2006
+++ Src/dd_pinit.c Thu Sep 7 19:16:32 2006
@@ -230,7 +230,7 @@
FH_Clear();
ArgShutdown();
Z_Shutdown();
- DD_ShutdownDGL();
+ //DD_ShutdownDGL();

// Close the message output file.
fclose(outFile);

Comments/suggestions?
trhodes is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Debugging with gdb on linux chippo Legacy 2.0 Development 11 January 9th, 2007 09:33 AM
Linux 64bit debugging... werfu Doomsday 15 November 8th, 2005 05:12 PM
Debugging GLLegacy Tails Doom Legacy 8 November 2nd, 2000 02:35 PM


All times are GMT -7. The time now is 05:25 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
NewDoom.com © 2000-2009 Mindless Games & Entertainment. All Rights Reserved.