<p>Hi Juli,<br /> <br /> Just checking to see if you've had time to look through the code yet.<br /> <br /> Regards.<br /> <br /> Julius Igugu<br /> Webcenta Wireless.<br /> <br /> <br /> On 1/10/2011 10:39 AM, Juli Mallett wrote:</p>
<blockquote cite="mid:AANLkTinXpErHRaZf8J50-S7afrQWmehc_RdOSMB-fgT1@mail.gmail.com">
<pre>This looks to be from a different function, but that's okay.  I'll<br />read through the code tomorrow and see if I can find the problem that<br />way.<br /><br />Thanks for your patience,<br />Juli.<br /><br />(Note to self: really need an ASSERT variant that takes a LogHandle so<br />I can tell what instance of a base class is tripping the assertion.)<br /><br />On Mon, Jan 10, 2011 at 01:29, Julius Igugu <julius.igugu@webcenta.net> wrote:<br /></pre>
<blockquote>
<pre>Hi,<br /><br />Here is the "backtrace" output.<br /><br />Best Regards.<br /><br />Julius Igugu<br />Webcenta Wireless.<br /><br /><br />(gdb) backtrace<br />#0  0x00110416 in __kernel_vsyscall ()<br />#1  0x00831216 in writev () from /lib/libc.so.6<br />#2  0x0809f677 in IOSystem::Handle::write_do (this=0xb5b80b08)  at<br />../../io/io_system.cc:337<br />#3  0x080a048e in IOSystem::write (this=0x80fcc28, fd=36, owner=0xb5e16b70,<br />offset=-1, buffer=0xb7fe7a50, cb=0xb5d9d128) at ../../io/io_system.cc:579<br />#4  0x080a39ae in StreamHandle::write (this=0xb5e16b70, buffer=0xb7fe7a50,<br /> cb=0xb5d9d128) at ../../io/stream_handle.cc:46<br />#5  0x080b4c43 in Splice::output_complete (this=0xb5bf9810, e=...) at<br />../../io/pipe/splice.cc:212<br />#6  0x080b6f37 in ObjectTypedCallback<Event, Splice>::operator()(Event) ()<br />#7  0x080523ba in TypedCallback<Event>::operator() (this=0xb67faa90) at<br />../../event/typed_callback.h:24<br />#8  0x08090993 in execute (this=0x80fde10) at ../../event/callback.h:37<br />#9  perform (this=0x80fde10) at ../../event/callback_queue.h:89<br />#10 EventThread::main (this=0x80fde10) at ../../event/event_thread.cc:65<br />#11 0x0807f2e1 in thread_posix_start (arg=0x80fde10) at<br />../../common/thread/thread_posix.cc:170<br />#12 0x008f0919 in start_thread () from /lib/libpthread.so.0<br />#13 0x00839cce in clone () from /lib/libc.so.6<br />(gdb)<br /><br /><br />On 1/9/2011 11:29 PM, Juli Mallett wrote:<br /></pre>
<blockquote>
<pre><br />Would it be possible for you to run wanproxy under gdb on the client<br />and send 'backtrace' output when it crashes?<br /><br />Thank you!<br /><br />Juli.<br /><br />On Sun, Jan 9, 2011 at 08:15, Julius Igugu<julius.igugu@webcenta.net><br /> wrote:<br /></pre>
<blockquote>
<pre><br />Hi,<br /><br />I applied the patch and complied wanproxy. It worked ok for a while then<br />it<br />crashed. I have pasted toe output  below.  Does it have anything to do<br />with<br />the operating system I am running it on?<br /><br />Thanks for your patience.<br /><br />Best Regards.<br /><br />Julius Igugu<br />Webcenta Wireless<br /><br /><br />*************************<br />Client Output<br />*************************<br />[root@intranet ~]# /usr/local/bin/wanproxy -c /etc/wanproxy/client.conf<br />1294589260.252866 [/wanproxy] INFO: WANProxy 0.7.1<br />1294589260.253260 [/wanproxy] INFO: Copyright (c) 2008-2011 WANProxy.org.<br />1294589260.253332 [/wanproxy] INFO: All rights reserved.<br />1294589260.253563 [/wanproxy/config] INFO: Configuring WANProxy.<br />1294589260.255304 [/io/system] INFO: Starting IO system.<br />1294589260.255662 [/event/thread] INFO: Starting event thread.<br />1294589291.497733 [/assert] EMERG: void PipeProducer::produce(Buffer*):<br />Halting: Assertion (!output_eos_) failed at<br />../../io/pipe/pipe_producer.cc:109 in function void<br />PipeProducer::produce(Buffer*).<br />Aborted (core dumped)<br /><br /><br />************************<br />Server Output<br />************************<br />[root@vps02 ~]# /usr/local/bin/wanproxy -c /etc/wanproxy/server.conf<br />1294589257.109372 [/wanproxy] INFO: WANProxy 0.7.1<br />1294589257.109520 [/wanproxy] INFO: Copyright (c) 2008-2011 WANProxy.org.<br />1294589257.109555 [/wanproxy] INFO: All rights reserved.<br />1294589257.109788 [/wanproxy/config] INFO: Configuring WANProxy.<br />1294589257.110471 [/io/system] INFO: Starting IO system.<br />1294589257.110646 [/event/thread] INFO: Starting event thread.<br />1294589292.058369 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294589292.058545 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294589292.120556 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/0<br />[Success]<br />1294589292.120873 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br /><br /><br />On 1/9/2011 4:15 AM, Mallett, Juli wrote:<br /></pre>
<blockquote>
<pre><br />Hi Julius,<br /><br />I haven't even compile-tested this patch to epoll support, but could<br />you try it (or whatever variant you can get to compile) and report<br />back?<br /><br />Index: event_poll_epoll.cc<br />===================================================================<br />--- event_poll_epoll.cc (revision 754)<br />+++ event_poll_epoll.cc (working copy)<br />@@ -156,6 +156,11 @@<br />                               poll_handler =&read_poll_[ev->data.fd];<br />                       } else if (write_poll_.find(ev->data.fd) !=<br />write_poll_.end()) {<br />                               poll_handler =&write_poll_[ev->data.fd];<br />+<br />+                               if ((ev->events&    (EPOLLERR |<br />EPOLLHUP))<br />== EPOLLHUP) {<br />+                                       DEBUG(log_)<<    "Got EPOLLHUP<br />on<br />write poll.";<br />+                                       continue;<br />+                               }<br />                       } else {<br />                               HALT(log_)<<    "Unexpected poll fd.";<br />                               continue;<br /><br /><br />On Sat, Jan 8, 2011 at 13:14, Julius Igugu<julius.igugu@webcenta.net><br /> wrote:<br /></pre>
<blockquote>
<pre><br />I have Fedora 10 on the server and Fedora 13 on the client.<br /><br />Best Regards<br /><br />Julius Igugu<br />Webcenta Wireless<br /><br />On 1/8/2011 9:18 PM, Mallett, Juli wrote:<br /></pre>
<blockquote>
<pre><br />Bah.  I thought I had fixed issues related to getting EOS on write<br />filters.  What operating system are you using, again?<br /><br />Thanks,<br />Juli.<br /><br />On Sat, Jan 8, 2011 at 04:04, Julius Igugu<julius.igugu@webcenta.net><br /> wrote:<br /></pre>
<blockquote>
<pre><br />Hi,<br /><br />I have upgraded to wanproxy 0.7.1.  Performance is a lot better but<br />it<br />still<br />crashes. It stays up for longer periods now.  I have pasted the<br />output<br />from<br />both the client and server if this will help.<br /><br />Best Regards.<br /><br />Julius Igugu<br />Webcenta Wireless<br /><br /><br />********************************<br />Client Output<br />********************************<br />[root@intranet ~]# /usr/local/bin/wanproxy -c<br />/etc/wanproxy/client.conf<br />1294486602.144230 [/wanproxy] INFO: WANProxy 0.7.1<br />1294486602.144451 [/wanproxy] INFO: Copyright (c) 2008-2011<br />WANProxy.org.<br />1294486602.144516 [/wanproxy] INFO: All rights reserved.<br />1294486602.144719 [/wanproxy/config] INFO: Configuring WANProxy.<br />1294486602.146590 [/io/system] INFO: Starting IO system.<br />1294486602.146862 [/event/thread] INFO: Starting event thread.<br />1294486608.879432 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486608.880808 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486611.869630 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486611.871298 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486612.191592 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486612.192954 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486613.812114 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486613.813554 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486615.026764 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486615.028159 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486615.438569 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486615.438788 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486616.490225 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486616.490447 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486617.548733 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486617.548977 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486618.228905 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486618.229170 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486619.188972 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486619.189230 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486621.699941 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486621.700197 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486627.771552 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486627.771790 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486638.069975 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486638.070215 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486639.676457 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486639.676682 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486639.677474 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486639.677676 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486667.342155 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486667.342451 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486697.566127 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486697.566352 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486697.568032 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486697.568399 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486700.198166 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486700.198479 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486706.200865 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486706.201308 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486706.919752 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486706.919980 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.580560 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.580783 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.581609 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.581805 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.584012 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.584264 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.584393 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.584642 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.585696 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.585991 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.586274 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.586374 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486710.586624 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486710.586756 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486712.942223 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486712.942408 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486716.458309 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486716.458609 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486717.403239 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486717.403469 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486717.403810 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486717.403997 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486721.860083 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486721.860330 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486729.354907 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486729.355190 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486838.499588 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486838.499827 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486853.693151 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486853.693381 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486939.092813 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486939.093028 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486939.093278 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486939.093439 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486978.255593 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486978.255836 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486980.811782 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486980.812055 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486982.081286 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486982.081453 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486988.120928 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486988.121152 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486990.351025 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/104<br />[Connection reset by peer]<br />1294486990.351244 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486992.631207 [/io/system/handle] EMERG: void<br />IOSystem::Handle::write_callback(Event): Halting: Unexpected<br />event:<EOS><br />Aborted (core dumped)<br /><br /><br />*****************************<br />Server Output:<br />*****************************<br />[root@vps02 ~]# /usr/local/bin/wanproxy -c /etc/wanproxy/server.conf<br />1294486622.173165 [/wanproxy] INFO: WANProxy 0.7.1<br />1294486622.173238 [/wanproxy] INFO: Copyright (c) 2008-2011<br />WANProxy.org.<br />1294486622.173254 [/wanproxy] INFO: All rights reserved.<br />1294486622.173333 [/wanproxy/config] INFO: Configuring WANProxy.<br />1294486622.173918 [/io/system] INFO: Starting IO system.<br />1294486622.174071 [/event/thread] INFO: Starting event thread.<br />1294486632.828440 [/xcodec/decoder] ERR: bool<br />XCodecDecoder::decode(Buffer*,<br />Buffer*, std::set<long long unsigned int, std::less<long long<br />unsigned<br />int>,<br />std::allocator<long long unsigned int>      >&): Index not present<br />in<BACKREF><br />window: 3<br />1294486632.828631 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_consume(Buffer*): Decoder exiting with error.<br />1294486632.828649 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_error(): Unrecoverable error in decoder.<br />1294486632.828729 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/0<br />[Success]<br />1294486632.828829 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486632.829876 [/xcodec/decoder] ERR: bool<br />XCodecDecoder::decode(Buffer*,<br />Buffer*, std::set<long long unsigned int, std::less<long long<br />unsigned<br />int>,<br />std::allocator<long long unsigned int>      >&): Index not present<br />in<BACKREF><br />window: 3<br />1294486632.829945 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_consume(Buffer*): Decoder exiting with error.<br />1294486632.829960 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_error(): Unrecoverable error in decoder.<br />1294486632.830013 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/0<br />[Success]<br />1294486632.830086 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486633.185810 [/xcodec/decoder] ERR: bool<br />XCodecDecoder::decode(Buffer*,<br />Buffer*, std::set<long long unsigned int, std::less<long long<br />unsigned<br />int>,<br />std::allocator<long long unsigned int>      >&): Index not present<br />in<BACKREF><br />window: 3<br />1294486633.185906 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_consume(Buffer*): Decoder exiting with error.<br />1294486633.185923 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_error(): Unrecoverable error in decoder.<br />1294486633.186065 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/0<br />[Success]<br />1294486633.186203 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486715.546422 [/xcodec/decoder] ERR: bool<br />XCodecDecoder::decode(Buffer*,<br />Buffer*, std::set<long long unsigned int, std::less<long long<br />unsigned<br />int>,<br />std::allocator<long long unsigned int>      >&): Index not present<br />in<BACKREF><br />window: 3<br />1294486715.546539 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_consume(Buffer*): Decoder exiting with error.<br />1294486715.546566 [/wanproxy/codec/codec0/xcodec] ERR: void<br />XCodecPipePair::decoder_error(): Unrecoverable error in decoder.<br />1294486715.546640 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/0<br />[Success]<br />1294486715.546724 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486827.003040 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486827.003138 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486828.005879 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486828.005982 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486829.000728 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486829.000847 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486829.000938 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486829.001016 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486829.001075 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486829.001146 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486830.000499 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486830.000538 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486830.000638 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486830.000752 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294486833.009928 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294486833.010019 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br /><br /><br />On 1/3/2011 8:14 PM, Mallett, Juli wrote:<br /></pre>
<blockquote>
<pre><br />Hi Julius,<br /><br />WANProxy handles multiple connections just fine.  The crash you're<br />seeing is already fixed in Subversion.  I'm planning to put out a<br />new<br />release in a few hours.<br /><br />Thanks,<br />Juli.<br /><br />On Mon, Jan 3, 2011 at 03:17,<julius.igugu@webcenta.net><br /> wrote:<br /></pre>
<blockquote>
<pre><br />Hi,<br /><br />I am trying to setup wanproxy to speed up http access from my<br />network.<br />I<br />have installed wanproxy 0.7.0 and squid on a VPS and wanproxy 0.7.0<br />on<br />a<br />server on my local network. My configuration for both wanprosy<br />server<br />and<br />client are below. Everythig runs fine for a few minutes then<br />wanproxy<br />crashes.<br /><br />My intended configuration is:<br /><br />squid ->        wanproxy ->        Internet Link ->        wanproxy<br />-><br /> squid<br /><br />Please help.<br /><br />Also, does wanproxy handle multiple tcp connections simultaneously?<br /><br />Thanks.<br /><br /><br /><br />Julius Igugu<br /><br />Webcenta Wireless<br /><br /><br /><br />#client.conf<br /><br />create codec codec0<br />set codec0.codec XCodec<br />set codec0.compressor zlib<br />set codec0.compressor_level 6<br />activate codec0<br /><br />create interface if0<br />set if0.family IP<br />set if0.host "0.0.0.0"<br />set if0.port "3300"<br />activate if0<br /><br />create peer peer0<br />set peer0.family IP<br />set peer0.host "xxx.xxx.xxx.xxx"<br />set peer0.port "3301"<br />activate peer0<br /><br />create proxy proxy0<br />set proxy0.type TCP-TCP<br />set proxy0.interface if0<br />set proxy0.interface_codec None<br />set proxy0.peer peer0<br />set proxy0.peer_codec codec0<br />activate proxy0<br /><br /><br /><br />#server.conf<br /><br />create codec codec0<br />set codec0.codec XCodec<br />set codec0.compressor zlib<br />set codec0.compressor_level 6<br />activate codec0<br /><br />create interface if0<br />set if0.family IP<br />set if0.host "xxx.xxx.xxx.xxx"<br />set if0.port "3301"<br />activate if0<br /><br />create peer peer0<br />set peer0.family IP<br />set peer0.host "localhost"<br />set peer0.port "3128"<br />activate peer0<br /><br />create proxy proxy0<br />set proxy0.type TCP-TCP<br />set proxy0.interface if0<br />set proxy0.interface_codec codec0<br />set proxy0.peer peer0<br />set proxy0.peer_codec None<br />activate proxy0<br /><br /><br /><br />#Wanproxy Output<br /><br />[root@intranet ~]# wanproxy -c /etc/wanproxy/client.conf<br />1294050836.673086 [/wanproxy] INFO: WANProxy 0.7.0<br />1294050836.673308 [/wanproxy] INFO: Copyright (c) 2008-2011<br />WANProxy.org.<br />1294050836.673372 [/wanproxy] INFO: All rights reserved.<br />1294050836.673570 [/wanproxy/config] INFO: Configuring WANProxy.<br />1294050836.675474 [/io/system] INFO: Starting IO system.<br />1294050836.675759 [/event/thread] INFO: Starting event thread.<br />1294051341.793487 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/0<br />[Success]<br />1294051341.793735 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294051350.247502 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294051350.247758 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294051410.396146 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294051410.396386 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294051909.526737 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294051909.527105 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294051911.231315 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294051911.231436 [/wanproxy/proxy/proxy0/connector] ERR: void<br />ProxyConnector::splice_complete(Event): Unexpected event:<Error>/32<br />[Broken<br />pipe]<br />1294051911.231701 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294051911.232192 [/zlib/deflate_pipe] ERR: virtual<br />DeflatePipe::~DeflatePipe(): Deflate stream did not end cleanly.<br />1294052038.733249 [/assert] EMERG: virtual Action*<br />PipeProducer::input(Buffer*, EventCallback*): Halting: Assertion<br />(buf->empty()) failed at ../../io/pipe/pipe_producer.cc:36 in<br />function<br />virtual Action* PipeProducer::input(Buffer*, EventCallback*).<br />Aborted (core dumped)<br /><br />_______________________________________________<br />wanproxy mailing list<br />wanproxy@lists.wanproxy.org<br />http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org<br /><br /><br /></pre>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<pre>_______________________________________________<br />wanproxy mailing list<br />wanproxy@lists.wanproxy.org<br />http://lists.wanproxy.org/listinfo.cgi/wanproxy-wanproxy.org<br /><br /></pre>
</blockquote>
</blockquote>
<pre><br /><br /></pre>
</blockquote>
<pre><br /></pre>
</blockquote>
<p> </p>