Hi,
I was wondereing what the crashlogs on Hard Disk 2 Contain?
So I thought I'd do a little digging... They are base64 encoded XML's.
The following code will decode them.
StreamReader reader = new StreamReader(@"c:\TV2ClientCrashLog_2008_09_13__17_38_39_9030000.log");
string str=reader.ReadToEnd();
reader.Close();
byte[] bytes = Convert.FromBase64String(str);
string xml = Encoding.Unicode.GetString(bytes, 0, bytes.Length);
You have the xml in a string to write to disk or whatever.
Here is what it looks like:
<?xml version="1.0" encoding="UTF-16" standalone="yes" ?>
- <compactserializer>
- <type typename="Microsoft.TV2.Logging.CrashLog">
<builtintype typename="System.String" fieldname="ProjectName" value="tv2_smp863x_philips_release" />
<builtintype typename="System.Int32" fieldname="BuildNumber" value="2019" />
- <field fieldname="GUID" typename="System.Guid">
<builtintype typename="System.Int32" fieldname="_a" value="-1369311763" />
<builtintype typename="System.Int16" fieldname="_b" value="24198" />
<builtintype typename="System.Int16" fieldname="_c" value="20400" />
<builtintype typename="System.Byte" fieldname="_d" value="141" />
<builtintype typename="System.Byte" fieldname="_e" value="240" />
<builtintype typename="System.Byte" fieldname="_f" value="135" />
<builtintype typename="System.Byte" fieldname="_g" value="61" />
<builtintype typename="System.Byte" fieldname="_h" value="197" />
<builtintype typename="System.Byte" fieldname="_i" value="184" />
<builtintype typename="System.Byte" fieldname="_j" value="102" />
<builtintype typename="System.Byte" fieldname="_k" value="42" />
</field>
<builtintype typename="System.String" fieldname="MachineName" value="PLATFORM:WinCE|OSVERSION:5.0.1400|Platform:PHILIPSPhilips_DiT9719_05_L3|CPU:297|BUILDFLAVOR:RELEASE" />
- <field fieldname="TimeGenerated" typename="System.DateTime">
<builtintype typename="System.UInt64" fieldname="dateData" value="5242508835002647904" />
</field>
<builtintype typename="System.String" fieldname="Service" value="
http://sg01clgv.nevis.btopenworld.com/bootstrap/Bootstrap.asmx" />
<builtintype typename="System.Int64" fieldname="AllocatedMemory" value="1523240" />
<builtintype typename="System.String" fieldname="ThreadName" value="QuitClient" />
- <field fieldname="Exceptions" typename="Microsoft.TV2.Logging.ExceptionInfo">
<builtintype typename="System.String" fieldname="Exception" value="Microsoft.TV2.TV2AccountUnavailableException" />
<builtintype typename="System.String" fieldname="ExceptionMessage" value="There was a problem. Please contact the BT Vision Helpdesk. MemLoad: 39 TotalPhys: 39928KB AvailPhys: 24604KB AvailVirt: 19264KB" />
<builtintype typename="System.String" fieldname="StackTrace" value="at Microsoft.TV2.Bootstrap.Login() at Microsoft.TV2.Bootstrap.Init() at Microsoft.TV2.TV2Client.StartClient() at Microsoft.TV2.TV2Client.OnStartClient() at Microsoft.TV2.TV2EventHandler.CallHandler() at Microsoft.TV2.TV2EventHandler.MsgProc() at Microsoft.TV2.TV2WaitCallback.WaitCallbackWrapper() at WorkItem.doWork() at System.Threading.Timer.ring()" />
</field>
<builtintype typename="System.String" fieldname="EventLog" value="-------- Event 1 -------- Time Stamp : 12/31/99 04:00:47.24 PM Name : keyup PostTime : 12/31/99 04:00:47.24 PM ProcessTime : 12/31/99 04:00:47.24 PM EventTicks : 394257 key : Left keyargs : System.Windows.Forms.KeyEventArgs -------- Event 2 -------- Time Stamp : 12/31/99 04:00:47.44 PM Name : keydown PostTime : 12/31/99 04:00:47.44 PM ProcessTime : 12/31/99 04:00:47.44 PM EventTicks : 394458 key : left keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:47 PM -------- Event 3 -------- Time Stamp : 12/31/99 04:00:47.85 PM Name : keyup PostTime : 12/31/99 04:00:47.85 PM ProcessTime : 12/31/99 04:00:47.85 PM EventTicks : 394868 key : Left keyargs : System.Windows.Forms.KeyEventArgs -------- Event 4 -------- Time Stamp : 12/31/99 04:00:48.17 PM Name : keydown PostTime : 12/31/99 04:00:48.17 PM ProcessTime : 12/31/99 04:00:48.17 PM EventTicks : 395187 key : up keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:48 PM -------- Event 5 -------- Time Stamp : 12/31/99 04:00:48.58 PM Name : keyup PostTime : 12/31/99 04:00:48.58 PM ProcessTime : 12/31/99 04:00:48.58 PM EventTicks : 395598 key : Up keyargs : System.Windows.Forms.KeyEventArgs -------- Event 6 -------- Time Stamp : 12/31/99 04:00:48.99 PM Name : keydown PostTime : 12/31/99 04:00:48.99 PM ProcessTime : 12/31/99 04:00:48.99 PM EventTicks : 396009 key : right keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:48 PM -------- Event 7 -------- Time Stamp : 12/31/99 04:00:49.30 PM Name : keyup PostTime : 12/31/99 04:00:49.30 PM ProcessTime : 12/31/99 04:00:49.30 PM EventTicks : 396320 key : Right keyargs : System.Windows.Forms.KeyEventArgs -------- Event 8 -------- Time Stamp : 12/31/99 04:00:51.11 PM Name : keydown PostTime : 12/31/99 04:00:51.12 PM ProcessTime : 12/31/99 04:00:51.12 PM EventTicks : 398131 key : UI.WatchTV keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:51 PM -------- Event 9 -------- Time Stamp : 12/31/99 04:00:52.02 PM Name : keyup PostTime : 12/31/99 04:00:52.02 PM ProcessTime : 12/31/99 04:00:52.03 PM EventTicks : 399044 key : ExitToTV keyargs : System.Windows.Forms.KeyEventArgs -------- Event 10 -------- Time Stamp : 12/31/99 04:00:52.28 PM Name : keydown PostTime : 12/31/99 04:00:52.29 PM ProcessTime : 12/31/99 04:00:52.29 PM EventTicks : 399304 key : UI.WatchTV keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:52 PM -------- Event 11 -------- Time Stamp : 12/31/99 04:00:52.90 PM Name : keyup PostTime : 12/31/99 04:00:52.90 PM ProcessTime : 12/31/99 04:00:52.90 PM EventTicks : 399916 key : ExitToTV keyargs : System.Windows.Forms.KeyEventArgs -------- Event 12 -------- Time Stamp : 12/31/99 04:00:52.95 PM Name : keydown PostTime : 12/31/99 04:00:52.95 PM ProcessTime : 12/31/99 04:00:52.95 PM EventTicks : 399968 key : UI.WatchTV keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:52 PM -------- Event 13 -------- Time Stamp : 12/31/99 04:00:53.35 PM Name : keyup PostTime : 12/31/99 04:00:53.35 PM ProcessTime : 12/31/99 04:00:53.77 PM EventTicks : 400368 key : ExitToTV keyargs : System.Windows.Forms.KeyEventArgs -------- Event 14 -------- Time Stamp : 12/31/99 04:00:53.77 PM Name : keyup PostTime : 12/31/99 04:00:53.77 PM ProcessTime : 12/31/99 04:00:53.78 PM EventTicks : 400791 key : Videos keyargs : System.Windows.Forms.KeyEventArgs -------- Event 15 -------- Time Stamp : 12/31/99 04:00:54.95 PM Name : keydown PostTime : 12/31/99 04:00:54.95 PM ProcessTime : 12/31/99 04:00:54.96 PM EventTicks : 401970 key : down keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:54 PM -------- Event 16 -------- Time Stamp : 12/31/99 04:00:55.19 PM Name : keyup PostTime : 12/31/99 04:00:55.19 PM ProcessTime : 12/31/99 04:00:55.20 PM EventTicks : 402210 key : Down keyargs : System.Windows.Forms.KeyEventArgs -------- Event 17 -------- Time Stamp : 12/31/99 04:00:55.19 PM Name : keydown PostTime : 12/31/99 04:00:55.20 PM ProcessTime : 12/31/99 04:00:55.20 PM EventTicks : 402212 key : right keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:55 PM -------- Event 18 -------- Time Stamp : 12/31/99 04:00:55.50 PM Name : keyup PostTime : 12/31/99 04:00:55.50 PM ProcessTime : 12/31/99 04:00:55.50 PM EventTicks : 402520 key : Right keyargs : System.Windows.Forms.KeyEventArgs -------- Event 19 -------- Time Stamp : 12/31/99 04:00:55.89 PM Name : keydown PostTime : 12/31/99 04:00:55.89 PM ProcessTime : 12/31/99 04:00:55.90 PM EventTicks : 402910 key : up keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:55 PM -------- Event 20 -------- Time Stamp : 12/31/99 04:00:56.40 PM Name : keyup PostTime : 12/31/99 04:00:56.40 PM ProcessTime : 12/31/99 04:00:56.40 PM EventTicks : 403423 key : Up keyargs : System.Windows.Forms.KeyEventArgs -------- Event 21 -------- Time Stamp : 12/31/99 04:00:56.65 PM Name : keydown PostTime : 12/31/99 04:00:56.65 PM ProcessTime : 12/31/99 04:00:56.65 PM EventTicks : 403670 key : left keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:56 PM -------- Event 22 -------- Time Stamp : 12/31/99 04:00:57.04 PM Name : keyup PostTime : 12/31/99 04:00:57.04 PM ProcessTime : 12/31/99 04:00:57.05 PM EventTicks : 404058 key : Left keyargs : System.Windows.Forms.KeyEventArgs -------- Event 23 -------- Time Stamp : 12/31/99 04:00:57.04 PM Name : keydown PostTime : 12/31/99 04:00:57.04 PM ProcessTime : 12/31/99 04:00:57.05 PM EventTicks : 404060 key : select keyargs : System.Windows.Forms.KeyEventArgs __source__ : remote start_time : 12/31/1999 4:00:57 PM -------- Event 24 -------- Time Stamp : 12/31/99 04:00:57.22 PM Name : Render.EndBatchEvent PostTime : 12/31/99 04:00:57.23 PM ProcessTime : 12/31/99 04:00:57.36 PM EventTicks : 404243 TickCount : 404241 -------- Event 25 -------- Time Stamp : 12/31/99 04:00:24.84 PM Name : InitializationError.QuitClient PostTime : 12/31/99 04:00:57.33 PM ProcessTime : 12/31/99 04:00:57.37 PM EventTicks : 371857 Exception : Microsoft.TV2.TV2AccountUnavailableException: There was a problem. Please contact the BT Vision Helpdesk. at Microsoft.TV2.Bootstrap.Login() at Microsoft.TV2.Bootstrap.Init() at Microsoft.TV2.TV2Client.StartClient() at Microsoft.TV2.TV2Client.OnStartClient() at Microsoft.TV2.TV2EventHandler.CallHandler() at Microsoft.TV2.TV2EventHandler.MsgProc() at Microsoft.TV2.TV2WaitCallback.WaitCallbackWrapper() at WorkItem.doWork() at System.Threading.Timer.ring()" />
<builtintype typename="System.String" fieldname="TraceLog" value="" />
<builtintype typename="System.String" fieldname="SMP863XCrashData" value="XTask CrashDump: V0: A0: V1: *(b0000000):[0][1][2][3]:10b5fbf3,1774afce,8db44ace,22a52b40 IRQH=15734, XPUH=5 ra=400057e8, epc=40005ff4, bv=50004fa8, sr=00009c13, sp=50003590 a0=110ec860, a1=00000000, a2=00000000, a3=0000000a v0=00000000, v1=00000110, t0=0000000a, t1=50003568 t2=50003568, t3=00000040, t4=00000001, t5=00000000 t6=50003354, t7=a69b352e, t8=00000000, s0=50003fe8 s1=00000100, s2=00000000, s3=110ec860, s4=00000000 s5=50003658, s6=00000100, s7=00000000, cr=10000400, sig=0" />
- <field fieldname="BootTime" typename="System.DateTime">
<builtintype typename="System.UInt64" fieldname="dateData" value="0" />
</field>
</type>
</compactserializer>
Mick