* Epoll + ephttpd2.0 + Coro @ 2003-03-25 19:16 Philippe Meloche (LMC) 2003-03-25 19:33 ` Davide Libenzi 0 siblings, 1 reply; 2+ messages in thread From: Philippe Meloche (LMC) @ 2003-03-25 19:16 UTC (permalink / raw) To: davidel; +Cc: linux-kernel Hi, I'm trying to run the ephttpd 2.0 server on a PII with a 2.4.19 kernel patched with /dev/epoll. But I have trouble with the coro ( C couroutine ) library. The server always does a segmentation fault when the function dph_exit_conn() calls co_exit(0). It's the fatal() function that generates this segmentation fault. Plus, this fault is automatically generated each time there is no more requests on a connection and that dph_httpd() calls dph_exit_conn(). I would like to know of you ever had this kind of problem and how you solved it. The version of coro I use is the 1.1.0-pre2. I need this http server to rebuild /dev/epoll tests on my computer for reference results. Philippe Meloche Philippe.Meloche@lmc.ericsson.se ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Epoll + ephttpd2.0 + Coro 2003-03-25 19:16 Epoll + ephttpd2.0 + Coro Philippe Meloche (LMC) @ 2003-03-25 19:33 ` Davide Libenzi 0 siblings, 0 replies; 2+ messages in thread From: Davide Libenzi @ 2003-03-25 19:33 UTC (permalink / raw) To: Philippe Meloche (LMC); +Cc: Linux Kernel Mailing List On Tue, 25 Mar 2003, Philippe Meloche (LMC) wrote: > Hi, > > I'm trying to run the ephttpd 2.0 server on a PII with a 2.4.19 kernel > patched with /dev/epoll. But I have trouble with the coro ( C > couroutine ) library. The server always does a segmentation fault when > the function dph_exit_conn() calls co_exit(0). It's the fatal() function > that generates this segmentation fault. Plus, this fault is > automatically generated each time there is no more requests on a > connection and that dph_httpd() calls dph_exit_conn(). > > I would like to know of you ever had this kind of problem and how you > solved it. The version of coro I use is the 1.1.0-pre2. I need this http > server to rebuild /dev/epoll tests on my computer for reference results. You better use the latest patch : http://www.xmailserver.org/linux-patches/epoll-lt-2.4.20-0.3.diff and the latest library/ephttpd server : http://www.xmailserver.org/linux-patches/epoll-lib-0.4.tar.gz The new man pages are available here : http://www.xmailserver.org/linux-patches/epoll.txt http://www.xmailserver.org/linux-patches/epoll_create.txt http://www.xmailserver.org/linux-patches/epoll_ctl.txt http://www.xmailserver.org/linux-patches/epoll_wait.txt The crashes you're seen are because of a gcc error compiling the coroutine library. The one that you'll find inside the epoll-lib should work. If I remember well the problem was solved by switching from -O3 to -O2 when building the coro library ... - Davide ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-25 19:11 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-03-25 19:16 Epoll + ephttpd2.0 + Coro Philippe Meloche (LMC) 2003-03-25 19:33 ` Davide Libenzi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®