Segmentation fault when running tensorflow.python.framework.importer._PopulateTFImportGraphDefOptions
@dmc1778 I tried the issue in colab with tf-nightly version and faced the following outcome;
```
WARNING:tensorflow:From /usr/local/lib/python3.10/dist-packages/tensorflow/python/ops/distributions/distribution.py:259: ReparameterizationType.__init__ (from tensorflow.python.ops.distributions.distribution) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
WARNING:tensorflow:From /usr/local/lib/python3.10/dist-packages/tensorflow/python/ops/distributions/bernoulli.py:165: RegisterKL.__init__ (from tensorflow.python.ops.distributions.kullback_leibler) is deprecated and will be removed after 2019-01-01.
Instructions for updating:
The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use `tfp.distributions` instead of `tf.distributions`.
[ ]
```
Please find the attached gist and confirm the same with the [nightly](https://colab.research.google.com/gist/sushreebarsa/640aa7565016b4b7b3586fa1b41693f2/untitled822.ipynb#scrollTo=H6n4y8B2qpNG) version. Thank you!
 My session crashes on 2.13.0 colab:

```
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.919 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-18T02:58:55.920Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.919 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-18T02:58:55.931Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.923 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-18T02:58:55.931Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.925 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-18T02:58:55.931Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.925 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-18T02:58:55.933Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.925 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-18T02:58:55.933Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.926 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-18T02:58:55.933Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.927 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-18T02:58:55.933Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.927 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-18T02:58:55.933Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.928 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:55.933Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.928 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-18T02:58:55.934Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.928 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-18T02:58:55.934Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.928 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-18T02:58:55.935Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:55.931 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-18T02:58:55.935Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.003 NotebookApp] Searching ['/root/.jupyter', '/root/.local/etc/jupyter', '/usr/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files","time":"2023-08-18T02:58:56.006Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.004 NotebookApp] Looking for jupyter_config in /etc/jupyter","time":"2023-08-18T02:58:56.008Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.004 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter","time":"2023-08-18T02:58:56.008Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.006 NotebookApp] Looking for jupyter_config in /usr/etc/jupyter","time":"2023-08-18T02:58:56.018Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.006 NotebookApp] Looking for jupyter_config in /root/.local/etc/jupyter","time":"2023-08-18T02:58:56.019Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.006 NotebookApp] Looking for jupyter_config in /root/.jupyter","time":"2023-08-18T02:58:56.019Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.008 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter","time":"2023-08-18T02:58:56.019Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.008 NotebookApp] Loaded config file: /etc/jupyter/jupyter_notebook_config.py","time":"2023-08-18T02:58:56.019Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.009 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter","time":"2023-08-18T02:58:56.020Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.009 NotebookApp] Loaded config file: /usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.020Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.009 NotebookApp] Looking for jupyter_notebook_config in /usr/etc/jupyter","time":"2023-08-18T02:58:56.020Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.009 NotebookApp] Looking for jupyter_notebook_config in /root/.local/etc/jupyter","time":"2023-08-18T02:58:56.021Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.009 NotebookApp] Looking for jupyter_notebook_config in /root/.jupyter","time":"2023-08-18T02:58:56.021Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"[D 02:58:56.013 NotebookApp] Loaded config file: /root/.jupyter/jupyter_notebook_config.py","time":"2023-08-18T02:58:56.021Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.443Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-18T02:58:56.445Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.445Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.447Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.448Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.451Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-18T02:58:56.467Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-18T02:58:56.468Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-18T02:58:56.564Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.665Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.d/panel-client-jupyter.json","time":"2023-08-18T02:58:56.666Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.667Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/usr/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.668Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.local/etc/jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.674Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"    \t/root/.jupyter/jupyter_notebook_config.json","time":"2023-08-18T02:58:56.675Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret","time":"2023-08-18T02:58:56.686Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Authentication of /metrics is OFF, since other authentication is disabled.","time":"2023-08-18T02:58:56.687Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"google.colab serverextension initialized.","time":"2023-08-18T02:58:56.734Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-18T02:59:00.894Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-18T02:59:00.895Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.2:9000/","time":"2023-08-18T02:59:00.895Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-18T02:59:00.896Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Serving notebooks from local directory: /","time":"2023-08-18T02:59:00.914Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Jupyter Notebook 6.5.5 is running at:","time":"2023-08-18T02:59:00.915Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"http://172.28.0.12:9000/","time":"2023-08-18T02:59:00.916Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).","time":"2023-08-18T02:59:00.916Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"Kernel started: 584f5850-e9c0-4606-bb63-8877434a5eb3, name: python3","time":"2023-08-18T02:59:22.440Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-18 02:59:36.976819: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.","time":"2023-08-18T02:59:36.976Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.","time":"2023-08-18T02:59:36.977Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"2023-08-18 02:59:39.065366: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT","time":"2023-08-18T02:59:39.065Z","v":0}
{"pid":7,"type":"jupyter","level":30,"msg":"KernelRestarter: restarting kernel (1/5), keep random ports","time":"2023-08-18T02:59:43.439Z","v":0}
{"pid":7,"type":"jupyter","level":40,"msg":"WARNING:root:kernel 584f5850-e9c0-4606-bb63-8877434a5eb3 restarted","time":"2023-08-18T02:59:43.440Z","v":0}
``` @SuryanarayanaY bug exists on 2.13.0.
### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

2.11.0

### Custom code

Yes

### OS platform and distribution

22.04

### Mobile device

_No response_

### Python version

3.9

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

nvidia-cudnn-cu11==8.6.0.163, cudatoolkit=11.8.0

### GPU model and memory

_No response_

### Current behavior?

Due to feeding None values

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
import os
import numpy as np
from tensorflow.python.framework import importer
try:
  arg_0 = None
  arg_1 = "A"
  arg_2 = None
  arg_3_0 = "A"
  arg_3_1 = "B"
  arg_3 = [arg_3_0,arg_3_1,]
  arg_4 = True
  out = importer._PopulateTFImportGraphDefOptions(arg_0,arg_1,arg_2,arg_3,arg_4,)
except Exception as e:
  print("Error:"+str(e))
```
```


### Relevant log output

```shell
2023-08-13 02:11:56.624855: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Segmentation fault

```
```
