C, segmentation fault in fprintf.c:32
I don't what is wrong with fprintf that when the log file size reaches about 6 MB, I get segmentation fault. The call stack shows:

    #0 _IO_vfprintf_internal() at vfprintf.c:1287
    #1 __fprintf() at fprintf.c:32
    #2 my_source.c:344

That line is printed normally before reaching 6 MB and from the call stack I don't think there is any problem with my fprintf statement. 

Is there any comment on that?
C, segmentation fault in fprintf.c:32
===

I don't what is wrong with fprintf that when the log file size reaches about 6 MB, I get segmentation fault. The call stack shows:

    #0 _IO_vfprintf_internal() at vfprintf.c:1287
    #1 __fprintf() at fprintf.c:32
    #2 my_source.c:344

That line is printed normally before reaching 6 MB and from the call stack I don't think there is any problem with my fprintf statement. 

Is there any comment on that?