My test .............
$ ns235-CBRP-lte-64 40CBRP-802_11p-vanet.tcl : Segmentation fault ..... and "logic error at recv, event sendUP"
$ ns233-cbrp-64 40CBRP-802_11p-vanet.tcl : OK
$ ns233-cbrp-64 C-CBRP-kartiksd.tcl: OK
$ ns233-cbrp-64 C-Network-Topology-Test-1.tcl : OK
$ ns235-CBRP-lte-64 C-Network-Topology-Test-1.tcl : OK
$ ns233-cbrp-64 cb-derekman-1.tcl : OK
$ ns235-CBRP-lte-64 cb-derekman-1.tcl : OK
$ ns235-CBRP-lte-64 CBRP-3t-urban-Clustering-moc_v1.tcl OK
$ ns235-CBRP-lte-64 CBRP-kartiksd.tcl : OK
......... So please avoid the unusable example, 40CBRP-802_11p-vanet.tcl .
May work OK with a year 2016 OS. Anyway it works OK with the year 2017 executable 'ns233-cbrp' !
If any issues / questions :
Please show the actual command. And the OS must be specified. Example Ubuntu 18.04 - amd64.
I.e. if no required information is shown, you cannot expect an answer.
-