Public bug reported:

Binary package hint: motion

When running motion with 2 webcams it crashes after a while.
thi...@haoni:~/Desktop/motion$ gdb --args motion -c motion.conf 


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7fe3b70 (LWP 17065)]
0x00d3dc1c in ?? () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0  0x00d3dc1c in ?? () from /lib/tls/i686/cmov/libc.so.6
#1  0x00d40ecd in free () from /lib/tls/i686/cmov/libc.so.6
#2  0x0804cb08 in ?? ()
#3  0x0804f1ea in ?? ()
#4  0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x00d9ea4e in clone () from /lib/tls/i686/cmov/libc.so.6


motion.conf:


$ grep -v ^# motion.conf | egrep -v '^$'
daemon off
width 640
height 480
framerate 2
minimum_frame_time 1
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
threshold 1500
threshold_tune off
noise_level 32
noise_tune on
pre_capture 0
post_capture 0
max_mpeg_time 0
output_all on
output_normal off
output_motion off
quality 85
ppm off
ffmpeg_cap_new off
ffmpeg_cap_motion off
ffmpeg_timelapse 0
ffmpeg_timelapse_mode daily
ffmpeg_bps 500000
ffmpeg_variable_bitrate 0
ffmpeg_video_codec mpeg1
ffmpeg_deinterlace off
snapshot_interval 1
locate off
text_right 
text_changes off
text_event 
text_double off
webcam_port 0
webcam_quality 50
webcam_motion off
webcam_maxrate 1
webcam_localhost on
webcam_limit 0
control_port 0
control_localhost on
control_html_output on
track_type 0
track_auto off
track_motorx 0
track_motory 0
track_maxx 0
track_maxy 0
track_iomojo_id 0
track_step_angle_x 10
track_step_angle_y 10
track_move_wait 10
track_speed 255
track_stepsize 40
quiet on
thread cam0.conf
thread cam1.conf


cam0.conf

thi...@haoni:~/Desktop/motion$ grep -v ^# cam0.conf | egrep -v '^$'
daemon off
setup_mode off
videodevice /dev/video0
width 640
height 480
framerate 30
minimum_frame_time 0
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
threshold 1500
threshold_tune off
noise_level 32
noise_tune on
pre_capture 5
post_capture 5
max_mpeg_time 0
output_all off
output_normal on
output_motion off
quality 85
ppm off
ffmpeg_cap_new on
ffmpeg_cap_motion off
ffmpeg_timelapse 0
ffmpeg_timelapse_mode daily
ffmpeg_bps 500000
ffmpeg_variable_bitrate 0
ffmpeg_video_codec mpeg1
ffmpeg_deinterlace off
snapshot_interval 0
locate off
text_right 
text_changes off
text_event 
text_double off
jpeg_filename cam0/%v-%Y%m%d%H%M%S-%q
webcam_port 0
webcam_quality 50
webcam_motion off
webcam_maxrate 1
webcam_localhost on
webcam_limit 0
control_port 0
control_localhost on
control_html_output on
track_type 0
track_auto off
track_motorx 0
track_motory 0
track_maxx 0
track_maxy 0
track_iomojo_id 0
track_step_angle_x 10
track_step_angle_y 10
track_move_wait 10
track_speed 255
track_stepsize 40
quiet on


thi...@haoni:~/Desktop/motion$ grep -v ^# cam1.conf | egrep -v '^$'
daemon off
setup_mode off
videodevice /dev/video1
width 640
height 480
framerate 30
minimum_frame_time 0
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
threshold 1500
threshold_tune off
noise_level 32
noise_tune on
pre_capture 5
post_capture 5
max_mpeg_time 0
output_all off
output_normal on
output_motion off
quality 85
ppm off
ffmpeg_cap_new on
ffmpeg_cap_motion off
ffmpeg_timelapse 0
ffmpeg_timelapse_mode daily
ffmpeg_bps 500000
ffmpeg_variable_bitrate 0
ffmpeg_video_codec mpeg1
ffmpeg_deinterlace off
snapshot_interval 0
locate off
text_right 
text_changes off
text_event 
text_double off
jpeg_filename cam1/%v-%Y%m%d%H%M%S-%q
webcam_port 0
webcam_quality 50
webcam_motion off
webcam_maxrate 1
webcam_localhost on
webcam_limit 0
control_port 0
control_localhost on
control_html_output on
track_type 0
track_auto off
track_motorx 0
track_motory 0
track_maxx 0
track_maxy 0
track_iomojo_id 0
track_step_angle_x 10
track_step_angle_y 10
track_move_wait 10
track_speed 255
track_stepsize 40
quiet on

** Affects: motion (Ubuntu)
     Importance: Undecided
         Status: New

-- 
motion crashes when using two threads
https://bugs.launchpad.net/bugs/604169
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to