Access Violation in unallocated pointer

2009 November 9

Lately I was debugging a bug in an application that crashes on Windows Vista but not crashing in Windows XP. I was clueless on what causing the crashes and why its not crashing on Windows XP. I had to do stack tracing for me determine where it crashes and I used the WinDebug tool. With WinDebug I was able to determine that it was the access violation thing that causes the crashes in vista. It’s kind a hard to debug cause it crashes unexpectedly that you won’t be able to determine on which area on the process that cause to crash. And worst on stack trace it points to a function that was not it even called.

After googling around the net for some time I was able to found out that it was the unallocated pointer or uninitialized pointer that causes the crashed. There was a struct pointer that was used without allocating memory or initializing to null.

Below Example :
read more…

Setting up Freebsd SVN server and Windows Client

2009 October 20
by edeguzman

I just successfully set up a windows client accessing the freeBSD SVN server. It took me awhile debugging on the putty problem. I’m not really sure whether there’s a bug on putty’s ssh authentication but I wasted my time on debugging on that area and ended up using the TortoiseSVN build in ssh client.

I got lazy on formatting the tutorial here in blogger that’s why I decided to place it on a pdf file and just provide a download link for the file. The tutorial is a step by step procedure that I did to come the set up. It was the set up that works for me.

read more…

Allowing root access in telnet server for Freebsd

2009 September 20
by edeguzman

This is just a quick post. Someone ask me on how to allow root login in telnet. This is not advisable to do but just sharing this stuff.

1) Open /etc/ttys as root.

2) Append “off secure” to the lines beginning with “tty” as follows.

ttyp0 none network off secure
ttyp1 none network off secure
ttyp2 none network off secure
ttyp3 none network off secure
ttyp4 none network off secure
ttyp5 none network off secure

3) Restart the telnet daemon using the following command (as root).

# /etc/rc.d/inetd restart

Lightweight Xfce on Freebsd

2009 June 20
by edeguzman

Lately I was on a dilemma on what desktop environment I will install on my freebsd.  The gnome desktop environemt was not that stable on freebsd, alot of time it crashes.  The only stable desktop environment for freebsd is the KDE but the only problem on KDE it includes alot of packages that most of those packages are of no used.

A friend of mine suggest to just install a window manager just like fluxbox or blackbox, in that sense all I have to do is to install the necessary packages.  That’s really the most lightweight thing I can do on my freebsd but I want a little of GUI thing on the freebsd, and the answer is Xfce.

read more…

my IBM T42 finally fan fixed

2009 May 15
by edeguzman

I just finally fixed my fan error problem of my IBM T42 thinkpad.  I’ve been having a hard time finding for the fan.  I just got lucky that I found one but its a second hand and from an IBM T40 thinkpad.  Although it was a little different from the fan of T42 Thinkpad, I just done a little improvise so that I can use the T40 fan on my T42.

The fan of T40 Thinkpad is short while the fan of T42 Thinkpad is long.  You can replace the T40 fan into a T42 unit without doing improvise but that’s quite risky. Because the long fan provides heatsink for the video card while the short fan don’t.

read more…