Yes, asctime(0) might be my bad assumption.
Does this help?
(gdb) backtrace
#0 a_crash () at ./arch/i386/atomic.h:124
#1 0xb7fc735b in __asctime (tm=0xbfffde64, buf=0xb7fff288 <buf.1032> "Mon Jan 1 00:00:00 12345") at src/time/__asctime.c:26
#2 0xb7fc91d7 in asctime (tm=tm@entry=0xbfffde64) at src/time/asctime.c:8
#3 0xb7c89709 in time_asctime (self=0x0, args=0xb7d05bcc) at /home/mudd/musl/Python-2.7.6/Modules/timemodule.c:574
#4 0xb7e1989d in PyCFunction_Call (func=func@entry=0xb7d056cc, arg=arg@entry=0xb7d05bcc, kw=kw@entry=0x0) at Objects/methodobject.c:81