malloc

Alhov Gennadiy senna at mail.fireshade.net
Mon Feb 13 13:16:10 PST 2006


Hello freebsd-threads,

  Is libc (not libc_r) malloc in 4.11 thread-safe? I'm getting strange
errors in my program I can't debug:

mireille:~/asll/Armageddon/game_v1/updater-server$ ./update-server
Update server $Revision: 1.11 $ starting...
update-serverupdate-serverupdate-server in malloc(): in malloc(): in malloc(): warning:  warning:  warning: update-serverupdate-serverrecursive call
recursive call
recursive call
 in malloc(): in malloc(): warning:  warning: recursive call
recursive call
Segmentation fault (core dumped)

mireille:~/asll/Armageddon/game_v1/updater-server$ uname -a
FreeBSD mireille.fireshade.net 4.11-STABLE FreeBSD 4.11-STABLE #0: Sun Aug 28 23:41:16 MSD 2005     senna at mireille.fireshade.net:/usr/home/obj/usr/home/src/sys/MIREILLE  i386

-- 
Best regards,
 Alhov                          mailto:senna at mail.fireshade.net



More information about the freebsd-threads mailing list