[Monkey] mk_lib broken in master
edsiper at gmail.com
Thu Mar 7 14:25:51 UTC 2013
On Thu, Mar 7, 2013 at 8:12 AM, Bjorn Lindgren <nr at c64.org> 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
> [root at 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:
> 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
> 66 return ((avl / 2) / nworkers);
> Missing separate debuginfos, use: debuginfo-install
> (gdb) bt
> #0 0x00007ffff7bd019e in mk_server_worker_capacity (nworkers=0) at
> #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:
Please do git pull and send us some feedback,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Monkey