Need help for fixing segmentation fault - Linux

This is a discussion on Need help for fixing segmentation fault - Linux ; Hi,
When i run simple application which call open system call for opeing /
dev/ttyUSB0, segfault occurs? Can anyone know the reason. Take a look
at the driver code for usb serial cp210x device.
Thanks
Lokesh.V
#include
#include
#include
#include
...

Are you saying that you get a "kernel panic" / Kernel dump or that
your user space app is segfaulting ? I dont think there is anything
wrong with the device driver. Check the Dmesg and syslogs to see what
they say.