BUG: segfault in libc-2.6.1.so
segfault at 0 ip b73c4d09 sp b616bdf8 error 4 in libc-2.6.1.so
fix:
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
and
#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
to
#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.
Environment
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 3.2.11.1 will be out with backported fixes from trunk.
Take a look to attached big patch to upgrade to 3.2.11.1
--
AngelCarpintero - 15 Jul 2009
Fix record