On Thu, Mar 7, 2013 at 8:12 AM, Bjorn Lindgren <[email protected]> wrote: > > Then running the hello example program it crashes with a Floating Point > exception. Seams nworkers has value 0 then running the server from mk_lib > > Regards, > Bjorn > > [root@localhost examples]# gdb ./hello > GNU gdb (GDB) Fedora (7.5.1-36.fc18) > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.** > html <http://gnu.org/licenses/gpl.html>> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-redhat-linux-gnu". > For bug reporting instructions, please see: > <http://www.gnu.org/software/**gdb/bugs/<http://www.gnu.org/software/gdb/bugs/> > >... > Reading symbols from /var/tmp/monkey/examples/**hello...(no debugging > symbols found)...done. > (gdb) run > Starting program: /var/tmp/monkey/examples/hello > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > > Program received signal SIGFPE, Arithmetic exception. > 0x00007ffff7bd019e in mk_server_worker_capacity (nworkers=0) at > mk_server.c:66 > 66 return ((avl / 2) / nworkers); > Missing separate debuginfos, use: debuginfo-install > glibc-2.16-28.fc18.x86_64 > (gdb) bt > #0 0x00007ffff7bd019e in mk_server_worker_capacity (nworkers=0) at > mk_server.c:66 > #1 0x00007ffff7bd3b84 in mklib_init (address=0x0, port=0, plugins=0, > documentroot=0x400b38 "/tmp") at mk_lib.c:211 > #2 0x00000000004009c6 in main () >
Thanks for report this bug. I just pushed a fix: http://git.monkey-project.com/?p=monkey;a=commitdiff;h=82ab60f4f3ad1d23230c680a330ba62507eca48f Please do git pull and send us some feedback, cheers, -- Eduardo Silva http://edsiper.linuxchile.cl http://www.monkey-project.com
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
