malloc

Alhov Gennadiy senna at mail.fireshade.net
Mon Feb 13 14:35:35 PST 2006


Hello Alhov,

Tuesday, February 14, 2006, 12:16:54 AM, you wrote:

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

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

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

  Pilot error, sorry for fuss.


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



More information about the freebsd-threads mailing list