Gamemode crashing server!

So my gmod srcds is crashing when i updated my gamemode is there something about includes and things that are needed?
Thats because its just shutdown itself saying core dumbed (segmentation fault ) and then “Server quit”.
Im just meaning that is there something in code that jsut must be written?

[editline]10th April 2013[/editline]

Segmentation fault (core dumped)
BFD: Warning: /home/dark/Desktop/srcds/orangebox/core is truncated: expected core file size >= 275808256, found: 152109056.

warning: Can’t read pathname for load map: Input/output error.

warning: Error reading shared library list entry at 0xb77be978
debug.cmds:1: Error in sourced command file:
Cannot access memory at address 0x5

[editline]10th April 2013[/editline]

When trying to debug on gmod client it crashes too on loading world