Chrome: Uncaught SyntaxError: Unexpected end of input

This particular error is one annoying fact about v8. In most cases your JavaScript is broken in some way. For example missing a } or something like that. Example given, this will yield “Unexpected end of input” too: But the root cause of the problems seems to be that the requested JSON url has a Content-Type of text/html which Chrome apparently tries … Read more

How to track down a “double free or corruption” error

If you’re using glibc, you can set the MALLOC_CHECK_ environment variable to 2, this will cause glibc to use an error tolerant version of malloc, which will cause your program to abort at the point where the double free is done. You can set this from gdb by using the set environment MALLOC_CHECK_ 2 command before running your program; the program … Read more

What is w3wp.exe?

An Internet Information Services (IIS) worker process is a windows process (w3wp.exe) which runs Web applications, and is responsible for handling requests sent to a Web Server for a specific application pool. It is the worker process for IIS. Each application pool creates at least one instance of w3wp.exe and that is what actually processes requests in … Read more

What do I do when my program crashes with exception 0xc0000005 at address 0?

My Delphi program runs as an NT service and has been running fine for more than 2 months and then it stops suddenly and generates a crash dump: Faulting application name: tca_shctisvc_ip.exe, version: 7.1.0.1843, time stamp: 0x2a425e19 Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x00000000 There were no … Read more