Program received signal SIGSEGV, pike_types.c:1705

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3684

Reported by Fredrik Noring, Roxen Internet Software noring@roxen.com

9:30:53  : -----------------------------------------------------------------
 0m 0.0s  : Pike version:      Pike v7.4 release 78
          : Product version:   Roxen CMS 4.0.85-beta1
          : Operating system:  Linux 2.4.21-9.0.1.EL (i686)
          : Starting MySQL ... Detaching after fork from child process 8981.
Done 4.0.18-standard [1486.3ms]
          :
 9:30:55  : mysql: Warning: One can only use the --user switch if running
as roo t
 0m 1.5s  : mysql: 040519  9:30:55  InnoDB: Started
          : mysql: bin/roxen_mysql: ready for connections.
          : mysql: Version: '4.0.18-standard'  socket:
'/home/noring/rep/red/rox en/configurations/_mysql/socket'  port: 0
          : Loading Pike modules ... Done [2049.0ms]
          : Loading Roxen ...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 8978)]
compile_type_to_runtime_type (t=0x0)
    at
/home/distmaker/Distmaker/4.0/build/pike.rhel3/pike/src/pike_types.c:1705
1705
/home/distmaker/Distmaker/4.0/build/pike.rhel3/pike/src/pike_types.c: No
such file or directory.
        in /home/distmaker/Distmaker/4.0/build/pike.rhel3/pike/src/pike_types.c
(gdb) bt
#0  compile_type_to_runtime_type (t=0x0)
    at
/home/distmaker/Distmaker/4.0/build/pike.rhel3/pike/src/pike_types.c:1705
#1  0x080d5219 in f_cast ()
    at /home/distmaker/Distmaker/4.0/build/pike.rhel3/pike/src/opcodes.c:800
#2  0x0896e8cb in ?? ()
#3  0x000000c6 in ?? ()
#4  0x00000004 in ?? ()
#5  0x00000744 in ?? ()
#6  0x088d0005 in ?? ()
#7  0x0885776c in ?? ()
#8  0xbfff5b44 in ?? ()
#9  0x00000001 in ?? ()
#10 0x0866dd04 in ?? ()
#11 0x00000001 in ?? ()
#12 0xbfff5c34 in ?? ()
#13 0x08072026 in o_catch (pc=0x896e7b8 "��2!\b\203@\034\030�\004$�")
    at /home/distmaker/Distmaker/4.0/build/pike.rhel3/pike/src/interpret.c:1797
Previous frame identical to this frame (corrupt stack?)
(gdb)