Wanproxy Crashes

Juli Mallett juli at clockworksquid.com
Thu Jan 27 13:32:39 PST 2011


Hi Julius (and others),

I've unfortunately been very busy with other work and haven't had the
time and energy to look in to this.  I'm sorry for the inconvenience,
I'm not able to focus on WANProxy as much as I would like.  I hope to
have time to fix this in the near future, but the time off I was using
to focus on WANProxy is over, and in addition to work obligations, I
have others that are piling up in the immediate future.

Thanks,
Juli.

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



More information about the wanproxy mailing list