motion crash due to missing strstr.c in libc-2.23.so
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Happens in motion 4.0.1-1 (amd64) but was seen initially on Motion 3.2.12+git20140228.
I am using Kubuntu 16.04.2 LTS amd64.
$uname -a
Linux recorder 4.4.0-78-generic #99-Ubuntu SMP Thu Apr 27 15:29:09 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$cat /var/log/syslog
...
May 21 23:21:14 recorder motion: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/
May 21 23:21:14 recorder motion: [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_
May 21 23:21:14 recorder motion: [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "sdl_threadnr"
May 21 23:21:14 recorder motion: [0:motion] [WRN] [ALL] thread config option deprecated use camera
May 21 23:21:14 recorder motion: [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/
May 21 23:21:14 recorder motion: [0:motion] [NTC] [ALL] motion_startup: Motion 4.0.1 Started
May 21 23:21:14 recorder motion: [0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/
May 21 23:21:14 recorder kernel: [49437.909642] ml1[3031]: segfault at 0 ip 00007f7e5cf8a4c9 sp 00007f7e4ea8e9f0 error 4 in libc-2.
May 21 23:21:15 recorder org.kde.
May 21 23:23:08 recorder org.kde.
May 21 23:23:11 recorder motion: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/
May 21 23:23:11 recorder motion: [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_
May 21 23:23:11 recorder motion: [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "sdl_threadnr"
May 21 23:23:11 recorder motion: [0:motion] [WRN] [ALL] thread config option deprecated use camera
May 21 23:23:11 recorder motion: [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/
May 21 23:23:11 recorder motion: [0:motion] [NTC] [ALL] motion_startup: Motion 4.0.1 Started
May 21 23:23:11 recorder motion: [0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/
May 21 23:23:11 recorder kernel: [49554.955243] ml1[3049]: segfault at 0 ip 00007efd4a8e44c9 sp 00007efd3c3e89f0 error 4 in libc-2.
...
$tail -n 200 /var/log/
...
[0:motion] [NTC] [ALL] [May 21 23:23:11] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [ENC] [May 21 23:23:11] ffmpeg_init: ffmpeg libavcodec version 56.60.100 libavformat version 56.40.101
[0:motion] [NTC] [ALL] [May 21 23:23:11] main: Motion running in setup mode.
[0:motion] [NTC] [ALL] [May 21 23:23:11] main: Camera 1 is from /etc/motion/
[0:motion] [NTC] [ALL] [May 21 23:23:11] main: Camera 1 is device: http://
[0:motion] [NTC] [ALL] [May 21 23:23:11] main: Stream port 8081
[0:motion] [NTC] [ALL] [May 21 23:23:11] main: Waiting for threads to finish, pid: 3048
[1:ml1] [NTC] [ALL] [May 21 23:23:11] motion_init: Camera 1 started: motion detection Enabled
[1:ml1] [ALR] [NET] [May 21 23:23:11] netcam_start: Network Camera thread starting... for url (http://
[1:ml1] [NTC] [NET] [May 21 23:23:11] netcam_
[0:motion] [NTC] [ALL] [May 21 23:26:04] motion_startup: Using log type (ALL) log level (NTC)
[0:motion] [NTC] [ENC] [May 21 23:26:04] ffmpeg_init: ffmpeg libavcodec version 56.60.100 libavformat version 56.40.101
[0:motion] [NTC] [ALL] [May 21 23:26:04] main: Motion running in setup mode.
[0:motion] [NTC] [ALL] [May 21 23:26:04] main: Camera 1 is from /etc/motion/
[0:motion] [NTC] [ALL] [May 21 23:26:04] main: Camera 1 is device: http://
[0:motion] [NTC] [ALL] [May 21 23:26:04] main: Stream port 8081
[0:motion] [NTC] [ALL] [May 21 23:26:04] main: Waiting for threads to finish, pid: 3075
[1:ml1] [NTC] [ALL] [May 21 23:26:04] motion_init: Camera 1 started: motion detection Enabled
[1:ml1] [ALR] [NET] [May 21 23:26:04] netcam_start: Network Camera thread starting... for url (http://
[1:ml1] [NTC] [NET] [May 21 23:26:04] netcam_
...
Command was run when the crash happened:
#/usr/bin/motion -s
as well as it happens with
#/etc/init.d/motion start
Camera in question: Panasonic BL-VP104W. Apparently supports MJPEG since I am able to get the video when open http://
Core dump is attached.
A follow-up: motion 4.0.1+gitc50d4b5 doesn't crash. That's motion's @master as of now.