Motion - Bug Report 2009x 07x 15x 111821
You are here: Foswiki>Motion Web>BugReports>BugReport2009x07x15x111821 (18 Jul 2009, AngelCarpintero)Edit Attach

BUG: segfault in

segfault at 0 ip b73c4d09 sp b616bdf8 error 4 in


in void motion_log(int level, int errno_flag, const char *fmt, ...)

#if (defined(BSD)) char msg_buf[100]; #endif

change to

#if (defined(BSD)) char msg_buf[100] = {0}; #endif


#if (defined(BSD)) strerror_r(errno_save, buf + n, sizeof(buf) - n); /* 2 for the ': ' */ #else strcat(buf,strerror_r(errno_save, msg_buf, sizeof(msg_buf))); #endif


#if (defined(BSD)) strerror_r(errno_save, buf + n, sizeof(buf) - n); /* 2 for the ': ' */ #else strerror_r(errno_save, msg_buf, sizeof(msg_buf)); strcat(buf,msg_buf); #endif

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


Motion version: 3.2.11
ffmpeg version: 0.5
Shared libraries: ffmpeg, mysql ,curl
Server OS: 2.6.29-gentoo-r5
-- AntonZak - 15 Jul 2009

Follow up

This is fixed already in trunk .. and we are going to release a new bugfix version for 3.2.11 , so soon will be out with backported fixes from trunk.

Take a look to attached big patch to upgrade to

-- AngelCarpintero - 15 Jul 2009

Fix record

Topic revision: r3 - 18 Jul 2009, 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.