[Bug 1692410] Re: motion crash due to missing strstr.c in libc-2.23.so

Yuriy Grishin 1692410 at bugs.launchpad.net
Mon May 22 16:04:47 UTC 2017


A follow-up: motion 4.0.1+gitc50d4b5 doesn't crash. That's motion's
@master as of now.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1692410

Title:
  motion crash due to missing strstr.c in libc-2.23.so

Status in update-manager package in Ubuntu:
  New

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/motion.conf
  May 21 23:21:14 recorder motion: [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_deinterlace"
  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/thread1.conf
  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/motion/motion.log)
  May 21 23:21:14 recorder kernel: [49437.909642] ml1[3031]: segfault at 0 ip 00007f7e5cf8a4c9 sp 00007f7e4ea8e9f0 error 4 in libc-2.23.so[7f7e5cefd000+1bf000]
  May 21 23:21:15 recorder org.kde.KScreen[1258]: kscreen: Primary output changed from KScreen::Output(Id: 66 , Name: "VGA1" ) ( "VGA1" ) to KScreen::Output(Id: 66 , Name: "VGA1" ) ( "VGA1" )
  May 21 23:23:08 recorder org.kde.KScreen[1258]: message repeated 35 times: [ kscreen: Primary output changed from KScreen::Output(Id: 66 , Name: "VGA1" ) ( "VGA1" ) to KScreen::Output(Id: 66 , Name: "VGA1" ) ( "VGA1" )]
  May 21 23:23:11 recorder motion: [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf
  May 21 23:23:11 recorder motion: [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_deinterlace"
  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/thread1.conf
  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/motion/motion.log)
  May 21 23:23:11 recorder kernel: [49554.955243] ml1[3049]: segfault at 0 ip 00007efd4a8e44c9 sp 00007efd3c3e89f0 error 4 in libc-2.23.so[7efd4a857000+1bf000]
  ...

  
  $tail -n 200 /var/log/motion/motion.log (camera's IP address was blacked out):
  ...
  [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/thread1.conf
  [0:motion] [NTC] [ALL] [May 21 23:23:11] main: Camera 1 is device: http://A.B.C.D/nphMotionJpeg?Resolution=1280x720&Quality=Standard input -1
  [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://A.B.C.D/nphMotionJpeg?Resolution=1280x720&Quality=Standard)
  [1:ml1] [NTC] [NET] [May 21 23:23:11] netcam_read_first_header: Found Conn: close header ('Connection: close')
  [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/thread1.conf
  [0:motion] [NTC] [ALL] [May 21 23:26:04] main: Camera 1 is device: http://A.B.C.D/nphMotionJpeg?Resolution=1280x720&Quality=Standard input -1
  [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://A.B.C.D/nphMotionJpeg?Resolution=1280x720&Quality=Standard)
  [1:ml1] [NTC] [NET] [May 21 23:26:04] netcam_read_first_header: Found Conn: close header ('Connection: close')
  ...

  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://A.B.C.D/nphMotionJpeg?Resolution=1280x720&Quality=Standard in
  browser.

  Core dump is attached.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1692410/+subscriptions



More information about the foundations-bugs mailing list