'EXCEPTION_ACCESS_VIOLATION' - Help please?

No matter what I do I can not stop getting this error. All of the solutions I have found online don’t work or don’t apply, and I have run out of options, any ideas anyone?
My Qc:


$cd "C:\Users\ViperMarkII\Desktop\WaW\PBY Catalina"
$modelname "ViperMarkII\airplanes\pby.mdl"
$model "pby" "base.smd"
$model "pby" "part1.smd"
$model "pby" "part2.smd"
$model "pby" "part3.smd"
$cdmaterials "models\ViperMarkII\airplanes\Catalina\"

$hboxset "default"
$surfaceprop "metal"

$illumposition 35.147 -10.954 60.614
$sequence idle "base.smd" fps 1.00

$collisionmodel "pbybody1-phys.smd" {

	$concave
	$mass 5.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}


And the GUIStudiomdl log:



WARNING: AppFramework : Unable to load module p4lib.dll!
qdir:    "c:\users\ViperMarkII\desktop\waw shit\pby catalina\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\ViperMarkII\garrysmod\garrysmod\"
g_path:  "C:\Users\ViperMarkII\Desktop\WaW Shit\PBY Catalina\catalina.qc"
Building binary model files...
Working on "catalina.qc"
SMD MODEL C:\Users\Andrew\Desktop\WaW Shit\PBY Catalina/base.smd
SMD MODEL C:\Users\Andrew\Desktop\WaW Shit\PBY Catalina/part1.smd
SMD MODEL C:\Users\Andrew\Desktop\WaW Shit\PBY Catalina/part2.smd
SMD MODEL C:\Users\Andrew\Desktop\WaW Shit\PBY Catalina/part3.smd
SMD MODEL C:\Users\Andrew\Desktop\WaW Shit\PBY Catalina/pbybody1-phys.smd
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Error with convex elements of C:\Users\ViperMarkII\Desktop\WaW Shit\PBY Catalina/pbybody1-phys.smd, building single convex!!!!
Model has 1 convex sub-parts
Collision model completed.
---------------------
writing C:\Program Files (x86)\Steam\steamapps\ViperMarkII\garrysmod\garrysmod\models/ViperMarkII\airplanes\pby.mdl:
bones          896 bytes (1)
animations     128 bytes (1 anims) (1 frames) [0:01]
sequences      220 bytes (1 seq) 
ik/pose        656 bytes
eyeballs         0 bytes (0 eyeballs)
flexes           0 bytes (0 flexes)
eyeballs         0 bytes (0 eyeballs)
flexes           0 bytes (0 flexes)
eyeballs         0 bytes (0 eyeballs)
flexes           0 bytes (0 flexes)
eyeballs         0 bytes (0 eyeballs)
flexes           0 bytes (0 flexes)
textures      1060 bytes
keyvalues        0 bytes
bone transforms        0 bytes
Collision model volume 14028126.00 in^3
collision        0 bytes
total         6344
---------------------
writing C:\Program Files (x86)\Steam\steamapps\ViperMarkII\garrysmod\garrysmod\models/ViperMarkII\airplanes\pby.vvd:
vertices    521136 bytes (10857 vertices)
vertices   2488272 bytes (51839 vertices)
vertices   2871168 bytes (59816 vertices)
vertices   1616784 bytes (33683 vertices)
tangents    173712 bytes (10857 vertices)
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on 'ViperMarkII\airplanes\pby.mdl'



Did you create the folders in your Garry’s Mod directory? Try compiling with Half Life Model Viewer open.

Yeah, the compiler cannot compile to non-existent folder paths. Kind of stupid, but easy to fix.

Thanks for the responses, but that can’t be the problem; I have checked at least a hundred times and everything is in order.

I had no idea you could


$model "pby" "base.smd"
$model "pby" "part1.smd"
$model "pby" "part2.smd"
$model "pby" "part3.smd"

and I thought you had to that with bodygroups instead.

Are you running steam and the sdk as an admin?

I am pretty sure I’m running Steam as an admin; I will try running SDK as an admin…

Also, I tried using a different set of models and it compiled fine, except one of the models is completely distorted like this:

What could have caused this?

Ah, we had a similar issue with some models like that before (but in this case bodygroups) and it was most likely caused polygon, tri count which was too high.

I knew this model was going to cause me problems, it’s just too bloody detailed. Is there any way to solve this or should I just split it up into multiple parts?

if you use 3ds max there is some ways to optimize the poly count, but im sure there is some other solutions to.

delete useless details in cabins (like fire extingisher )or split the model in parts for example :make the turret guns and the rotors as separate models… you must preserve the integrity of the body