Motion - Bug Report 2011x 10x 31x 083026
You are here: Foswiki>Motion Web>BugReports>BugReport2011x10x31x083026 (03 Jun 2012, AngelCarpintero)Edit Attach

BUG: segfault when rereading configfile (killall -HUP motion)

Motion crashes when giving SIGHUP.

gdb trace:
#0  0x0806a166 in httpd_run (cnt=0x887d028) at webhttpd.c:2339
#1  0x0806a321 in motion_web_control (arg=0x887d028) at webhttpd.c:2365
#2  0xb7815e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#3  0xb6acc73e in clone () from /lib/i386-linux-gnu/libc.so.6


part of configfile:
############################################################
# Live Webcam Server
############################################################

# The mini-http server listens to this port for requests (default: 0 = disabled)
webcam_port 8081

# Quality of the jpeg (in percent) images produced (default: 50)
webcam_quality 50

# Output frames at 1 fps when no motion is detected and increase to the
# rate given by webcam_maxrate when motion is detected (default: off)
webcam_motion off

# Maximum framerate for webcam streams (default: 1)
webcam_maxrate 1

# Restrict webcam connections to localhost only (default: on)
webcam_localhost off

# Limits the number of images per connection (default: 0 = unlimited)
# Number can be defined by multiplying actual webcam rate by desired number of seconds
# Actual webcam rate is the smallest of the numbers framerate and webcam_maxrate
webcam_limit 0


############################################################
# HTTP Based Control
############################################################

# TCP/IP port for the http server to listen on (default: 0 = disabled)
control_port 8080

# Restrict control connections to localhost only (default: on)
control_localhost on

# Output for http server, select off to choose raw text plain (default: on)
control_html_output on

# Authentication for the http based control. Syntax username:password
# Default: not defined (Disabled)
; control_authentication username:password

Environment

Motion version: 3.2.12
ffmpeg version:  
Shared libraries: ffmpeg, mysql, postgresql
Server OS: ubuntu 11.04
-- KariKallioinen - 31 Oct 2011

Follow up

Hard to guess what's the issue , anyway we are focusing in release motion 3.0 ... so can you try to reproduce in motion SVN trunk ?

Cheers,

-- AngelCarpintero - 31 Oct 2011

Fix record

Lack of feedback to be reproduced either not tested in SVN / GIT.

-- AngelCarpintero - 03 Jun 2012

BugReportForm edit

TopicTitle segfault when rereading configfile (killall -HUP motion)
BugStatus Rejected
AssignedBugTo AngelCarpintero
SubmittedBy KariKallioinen
Topic revision: r3 - 03 Jun 2012, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.