Catching segfault from /proc directory

Hello All,

I have a gstreamer pipelines being run by a python program. One of the pipeline are getting segfaults and I have no idea which one of the pipelines are causing the problems.

I have a few questions:

  1. What is the best way to debug the gstreamer pipelines?. What debugger do I need to use since I have 3 to 4 (threaded) pipelines and at the same time I am running the pipeling using python program?.
  2. Is it possible to catch the segfaults in /proc directory?. Is there any existing utility exist to monitor the /proc and get the information that I need to know?.

Thanks,

John