[Libwebsockets] [libwebsockets] #11: infinite recursion in libwebsocket_service_fd
Trac
trac at libwebsockets.org
Sat Feb 9 11:24:49 CET 2013
#11: infinite recursion in libwebsocket_service_fd
-----------------------------------+--------------------
Reporter: amn | Owner: agreen
Type: defect | Status: new
Priority: major | Milestone:
Component: libwebsockets library | Version:
Keywords: |
-----------------------------------+--------------------
This seems to be dependent on some timings as it occurs approx in 1 in 5
runs, always at the beginning of the program. Below is output from gdb.
This is version 1.1 of the library. The latest version does not compile on
my box.
gdb output:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffda8
libwebsocket_service_fd (context=0x101801800, pollfd=0x10180b600)
at libwebsockets.c:727
727 gettimeofday(&tv, NULL);
(gdb) bt
#0 libwebsocket_service_fd (context=0x101801800, pollfd=0x10180b600)
at libwebsockets.c:727
#1 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#2 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#3 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#4 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#5 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#6 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#7 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#8 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#9 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#10 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#11 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
(... lines #12 - #1981 omitted ...)
#1982 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#1983 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#1984 0x000000010003fdfb in libwebsocket_service_fd (context=0x101801800,
pollfd=0x10180b600) at libwebsockets.c:775
#1985 0x0000000100040124 in libwebsocket_service (context=0x101801800,
timeout_ms=0) at libwebsockets.c:1070
#1986 0x00000001000147f4 in GSClient<BlindGo>::play (this=0x7fff5fbff580,
_seek_response=0x1005002d0, e=0x101804000) at GSClient.h:265
#1987 0x000000010000fe53 in main (argc=2, argv=0x7fff5fbff888)
at ai_bot.cpp:133
--
Ticket URL: <http://libwebsockets.org/trac/ticket/11>
libwebsockets <http://libwebsockets.org>
libwebsockets C library
More information about the Libwebsockets
mailing list