1 Jan 2006 10:30
calloc causing SIGSEGV?
Paul Smedley <paulat <at> smedleydot.info>
2006-01-01 09:30:31 GMT
2006-01-01 09:30:31 GMT
Hi All and Happy New Year! Hope everyone had a big one - we certainly did :) Have been playing with mplayer over the last day or two, latest source from cvs compiles pretty easily, but is giving a SIGSEGV on startup after a calloc call: Killed by SIGSEGV pid=0x0bd7 ppid=0x0bd6 tid=0x0001 slot=0x00ee pri=0x0200 mc=0x0001 E:\DEV\MPLAYER-CVS\MAIN\MPLAYER.EXE MPLAYER 0:000170de cs:eip=005b:000270de ss:esp=0053:0082eb50 ebp=00856a30 ds=0053 es=0053 fs=150b gs=0000 efl=00212246 eax=0000000a ebx=000111e2 ecx=cccccccc edx=17ff803c edi=00d476e0 esi=008313f8 Process dumping was disabled, use DUMPPROC to enable it. The call in question is: co = (m_config_option_t*)calloc(1,sizeof(m_config_option_t) + arg->type->size); Are there any common reasons for a calloc to cause a SIGSEGV - stack space or something like that? -- -- Cheers, Paul.
RSS Feed