bash - Python - segmentation error in ubuntu 12.04 -


my program coded in python, , calls bash script in vte window:

enter image description here

in 14.04 or 14.10 ubuntu system, no problem. (python 2.7.8)

but, in ubuntu 12.04, window closes message: (python 2.7.3)

segmentation error 

to debug, i've tried use gdb line:

gdb -ex r --args python my_program.py 

the output of gdb @ end is:

program received signal sigpipe, broken pipe. 0xb7fdd416 in __kernel_vsyscall () 

i know it's problem bash script, don't know realy problem. line call bash script is:

self.child_pid = self.v.fork_command(none, ['/bin/bash', cli, '-f', '-d', dest, '-u', adresse, v]) 

it possible debug ubuntu 12.04 ? how can ?

i have found solution insering sleep 1 in bash script (cli), after ffmpeg command:

ffmpeg -y -i "${m3u2}" -vcodec copy -acodec copy "${directory}/${prog}_${id}.mkv" sleep 1 

Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -