------- Comment #3 from ismail at pardus dot org dot tr 2006-12-18 10:15 ------- Valgrinding the crashing mplayer shows:
==5836== Invalid read of size 1 ==5836== at 0x401E776: strlen (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so) ==5836== by 0x4B4049E: fprintf (in /lib/libc-2.3.6.so) ==5836== by 0x81098CF: open (vf_ass.c:395) ==5836== by 0x80DC4F6: vf_open_plugin (vf.c:466) ==5836== by 0x80831F6: reinit_video_chain (mplayer.c:3321) ==5836== by 0x8086699: main (mplayer.c:4517) ==5836== Address 0x5248003E is not stack'd, malloc'd or (recently) free'd which shows line 182 in mp_msg.c which is something like: fprintf(stream, "\033[%d;3%dm%9s\033[0;37m: ",c2>>3,c2&7, mod_text[mod]); If I replace mod_text[mod] with "foo" it doesn't crash anymore. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30247