Hello, I have a thread safe application that I am using to host a UDP service on. This program also has a TCP based admin process to grab stats and update internals for the program during run-time. Before I had event_init() event_dispatch() running in their own threads, but I wanted to make things more proper. So in main() I have event_init() and event_dispatch() while performing event_set() and event_add() in their own respected processes. This has structure has multiple benefits for me. I am on an Ubuntu feisty install. Everything still works with UDP perfectly, however when I attempt to connect to the TCP port epoll_dispatch() SIGSEGV's
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7d556b0 (LWP 27224)] 0xb7f1ffcc in ?? () from /usr/lib/libevent-1.3e.so.1 (gdb) bt #0 0xb7f1ffcc in ?? () from /usr/lib/libevent-1.3e.so.1 #1 0xb7f2c04f in epoll_dispatch () from /usr/lib/libevent-1.3e.so.1 #2 0xb7f20912 in event_base_loop () from /usr/lib/libevent-1.3e.so.1 #3 0xb7f20cd9 in event_loop () from /usr/lib/libevent-1.3e.so.1 #4 0x00000002 in ?? () #5 0x0804a56a in main (argc=2, argv=0xbf9660b4) at main.c:331 (gdb) Any ideas on what could be the cause? Did I miss something in the documentation about mixing of protocols? Thank you! -brian _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users