Motion - Bug Report 2008x 01x 27x 155414
You are here: Foswiki>Motion Web>BugReports>BugReport2008x01x27x155414 (18 May 2008, AngelCarpintero)Edit Attach

BUG: d-link dcs-900 connection lost after a short time

d-link dcs-900 connection lost after a short time.

Everything works just fine - then: exitus (s below).

I read about the bug, but not about any solution. Is there a solution ??

motion has been installed from source - no problems there.

- Did some more tests: image.jpg, and video.cgi and mjpeg.cgi show the same behaviour !!

Paste in your error messages, config settings, terminal window output etc in this text field.

*** glibc detected *** motion: free(): invalid pointer: 0x000000000063c600 ***
======= Backtrace: =========
/lib64/libc.so.6[0x2af1ee27b21d]
/lib64/libc.so.6(cfree+0x76)[0x2af1ee27cf76]
/usr/lib64/libavformat.so.52(url_fclose+0x25)[0x2af1ed01f7d5]
motion[0x41c05d]
motion[0x414d0d]
motion[0x414a24]
motion[0x406968]
/lib64/libpthread.so.0[0x2af1ecbcd020]
/lib64/libc.so.6(clone+0x6d)[0x2af1ee2d1f8d]
======= Memory map: ========
00400000-0042c000 r-xp 00000000 08:02 28460589                           /usr/lo
cal/bin/motion
0062b000-0062c000 r--p 0002b000 08:02 28460589                           /usr/lo
cal/bin/motion
0062c000-0062f000 rw-p 0002c000 08:02 28460589                           /usr/lo
cal/bin/motion
0062f000-00716000 rw-p 0062f000 00:00 0                                  [heap]
40000000-40001000 ---p 40000000 00:00 0
40001000-40801000 rwxp 40001000 00:00 0
40801000-40802000 ---p 40801000 00:00 0
40802000-41002000 rwxp 40802000 00:00 0
41002000-41003000 ---p 41002000 00:00 0
41003000-41803000 rwxp 41003000 00:00 0
2aaaaaaab000-2aaaab29c000 rw-p 2aaaaaaab000 00:00 0
2aaaab2ca000-2aaaab2d7000 r-xp 00000000 08:02 24199257                   /lib64/
libgcc_s.so.1
2aaaab2d7000-2aaaab4d6000 ---p 0000d000 08:02 24199257                   /lib64/
libgcc_s.so.1
2aaaab4d6000-2aaaab4d8000 rw-p 0000c000 08:02 24199257                   /lib64/
libgcc_s.so.1
2aaaac000000-2aaaac021000 rw-p 2aaaac000000 00:00 0
2aaaac021000-2aaab0000000 ---p 2aaaac021000 00:00 0
2af1ec320000-2af1ec33c000 r-xp 00000000 08:02 24199368                   /lib64/
ld-2.6.1.so
2af1ec33c000-2af1ec33d000 rw-p 2af1ec33c000 00:00 0
2af1ec36b000-2af1ec36c000 rw-p 2af1ec36b000 00:00 0
2af1ec53b000-2af1ec53d000 rw-p 0001b000 08:02 24199368                   /lib64/
ld-2.6.1.so
2af1ec53d000-2af1ec54c000 r-xp 00000000 08:02 28462040                   /usr/li
b64/libmjpegutils-1.9.so.0.1.1
2af1ec54c000-2af1ec74c000 ---p 0000f000 08:02 28462040                   /usr/li
b64/libmjpegutils-1.9.so.0.1.1
2af1ec74c000-2af1ec74d000 r--p 0000f000 08:02 28462040                   /usr/li
b64/libmjpegutils-1.9.so.0.1.1
2af1ec74d000-2af1ec74e000 rw-p 00010000 08:02 28462040                   /usr/li
b64/libmjpegutils-1.9.so.0.1.1
2af1ec74e000-2af1ec752000 r-xp 00000000 08:02 28461955                   /usr/li
b64/liblavjpeg-1.9.so.0.1.1
2af1ec752000-2af1ec951000 ---p 00004000 08:02 28461955                   /usr/li
b64/liblavjpeg-1.9.so.0.1.1
2af1ec951000-2af1ec952000 r--p 00003000 08:02 28461955                   /usr/li
b64/liblavjpeg-1.9.so.0.1.1
2af1ec952000-2af1ec953000 rw-p 00004000 08:02 28461955                   /usr/li
b64/liblavjpeg-1.9.so.0.1.1
2af1ec953000-2af1ec973000 rw-p 2af1ec953000 00:00 0
2af1ec973000-2af1ec9c5000 r-xp 00000000 08:02 24199184                   /lib64/
libm-2.6.1.so
2af1ec9c5000-2af1ecbc4000 ---p 00052000 08:02 24199184                   /lib64/
libm-2.6.1.so
2af1ecbc4000-2af1ecbc6000 rw-p 00051000 08:02 24199184                   /lib64/
libm-2.6.1.so
2af1ecbc6000-2af1ecbc7000 rw-p 2af1ecbc6000 00:00 0
2af1ecbc7000-2af1ecbdc000 r-xp 00000000 08:02 24199202                   /lib64/
libpthread-2.6.1.so
2af1ecbdc000-2af1ecddc000 ---p 00015000 08:02 24199202                   /lib64/
libpthread-2.6.1.so
2af1ecddc000-2af1ecdde000 rw-p 00015000 08:02 24199202                   /lib64/
libpthread-2.6.1.so
2af1ecdde000-2af1ecde2000 rw-p 2af1ecdde000 00:00 0
2af1ecde2000-2af1ece03000 r-xp 00000000 08:02 28460495                   /usr/li
b64/libjpeg.so.62.0.0
2af1ece03000-2af1ed003000 ---p 00021000 08:02 28460495                   /usr/li
b64/libjpeg.so.62.0.0
2af1ed003000-2af1ed005000 rw-p 00021000 08:02 28460495                   /usr/li
b64/libjpeg.so.62.0.0
2af1ed005000-2af1ed08d000 r-xp 00000000 08:02 44630945                   /usr/li
b64/libavformat.so.52.3.0
2af1ed08d000-2af1ed28d000 ---p 00088000 08:02 44630945                   /usr/li
b64/libavformat.so.52.3.0
2af1ed28d000-2af1ed28e000 r--p 00088000 08:02 44630945                   /usr/li
b64/libavformat.so.52.3.0
2af1ed28e000-2af1ed295000 rw-p 00089000 08:02 44630945                   /usr/li
b64/libavformat.so.52.3.0
2af1ed295000-2af1ed296000 rw-p 2af1ed295000 00:00 0
2af1ed296000-2af1ed6fa000 r-xp 00000000 08:02 44630941                   /usr/li
b64/libavcodec.so.51.49.0
2af1ed6fa000-2af1ed8f9000 ---p 00464000 08:02 44630941                   /usr/li
b64/libavcodec.so.51.49.0
2af1ed8f9000-2af1ed905000 r--p 00463000 08:02 44630941                   /usr/li                                                 b64/libavcodec.so.51.49.0
2af1ed905000-2af1ed910000 rw-p 0046f000 08:02 44630941                   /usr/li                                                 b64/libavcodec.so.51.49.0
2af1ed910000-2af1eda7b000 rw-p 2af1ed910000 00:00 0
2af1eda7b000-2af1eda8f000 r-xp 00000000 08:02 24199238                   /lib64/                                                 libz.so.1.2.3
2af1eda8f000-2af1edc8e000 ---p 00014000 08:02 24199238                   /lib64/                                                 libz.so.1.2.3
2af1edc8e000-2af1edc90000 rw-p 00013000 08:02 24199238                   /lib64/                                                 libz.so.1.2.3
2af1edc90000-2af1eddb5000 r-xp 00000000 08:02 28461249                   /usr/li                                                 b64/libmysqlclient.so.15.0.0
2af1eddb5000-2af1edfb4000 ---p 00125000 08:02 28461249                   /usr/li                                                 b64/libmysqlclient.so.15.0.0
2af1edfb4000-2af1edfb6000 r--p 00124000 08:02 28461249                   /usr/li                                                 b64/libmysqlclient.so.15.0.0
2af1edfb6000-2af1edfe9000 rw-p 00126000 08:02 28461249                   /usr/li                                                 b64/libmysqlclient.so.15.0.0
2af1edfe9000-2af1edfeb000 rw-p 2af1edfe9000 00:00 0
2af1edfeb000-2af1ee00b000 r-xp 00000000 08:02 

Environment

Motion version: 3.2.9
ffmpeg version: 0.4.9
Shared libraries: ffmpeg, mysql, postgresql, mjpeg
Server OS: opensuse 10.3, kernel 2.6.22-13.0.3

-- DanielHagedorn - 27 Jan 2008

Follow up

Please get current svn stable branch 3.2.10 :

mkdir motion
cd motion 
svn co http://www.lavrsen.dk/svn/motion/branches/3.2.10/ . 
./configure
make
make install 

This bug is related to ffmpeg version of OpenSuse :

http://www.lavrsen.dk/twiki/bin/view/Motion/SupportQuestion2007x12x29x175530

-- AngelCarpintero - 27 Jan 2008

Fix record

OKAY !! Got it up and running stable (image and video). Thank you for you quick help, indeed, and keep up your good work !!

-- DanielHagedorn - 28 Jan 2008

BugReportForm edit

TopicTitle d-link dcs-900 connection lost after a short time
BugStatus Released
AssignedBugTo AngelCarpintero
SubmittedBy TWikiGuest
Topic revision: r7 - 18 May 2008, 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.