The Dawn Of Time
The Official Forums for the Dawn Of Time Mud Codebase
 
Log in Register FAQ Memberlist Search The Dawn Of Time Forum Index Goto the Official Dawn Website

Using OS X's Crash Reporter

 
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Helpfiles
View previous topic :: View next topic  
Author Message
Archiel
Moderator


Joined: 05 Feb 2003
Posts: 386
Location: Minnesota, USA

PostPosted: Wed Jun 23, 2004 11:37 am    Post subject: Using OS X's Crash Reporter Reply with quote

I recently stumbled onto this wonderful feature of Mac OS X when I was coding some fishing stuff for my mud. I crashed the mud and lo and behold, I got this report. (open the console.app in your applications/utilites folder. The log I got ended up in ~/Library/Logs/CrashReporter/dawn.crash.log)

There's a lot of info, but let's look at this:
Code:

Host Name:      Pulsar.local
Date/Time:      2004-06-14 18:50:20 -0500
OS Version:     10.3.4 (Build 7H63)
Report Version: 2

Command: dawn
Path:    ./dawn
Version: ??? (???)
PID:     2104
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000044

Thread 0 Crashed:
0   dawn    0x00183310 fish_for_fish(char_data*, char*) + 0x28c (fishing.cpp:226)
1   dawn    0x00183048 do_fish(char_data*, char*) + 0x100 (fishing.cpp:152)
2   dawn    0x000b6314 interpret(char_data*, char*) + 0xd64 (interp.cpp:1516)
3   dawn    0x00067208 process_input(connection_data*) + 0x78c (comm.cpp:3877)
4   dawn    0x0010e568 netio_process_input_from_polled_connections() + 0x1e0 (netio.cpp:1207)
5   dawn    0x00061124 game_loop() + 0x9c (comm.cpp:1114)
6   dawn    0x0006055c main + 0x3d4 (comm.cpp:747)
7   dawn    0x00001e68 _start + 0x188 (crt.c:267)
8   dawn    0x00001cdc start + 0x30


The important thing to note: The crash occured in the fish_for_fish procedure I wrote. Even more helpful: the error is in fishing.cpp on line 226. (I think I tried to use a variable that had been declared but not initialized. Anyway, I fixed it.)

These crash logs are generated for all the stuff on your Mac that crashes. I hope you find this helpful!



_________________
-Archiel
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    The Dawn Of Time Forum Index » Helpfiles All times are GMT + 13 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2005 phpBB Group
Theme created by Vjacheslav Trushkin