shadowsocks-libuv icon indicating copy to clipboard operation
shadowsocks-libuv copied to clipboard

always report libuv error: not enough memory on File: server.c Line: 150 on Windows 7 x64

Open missdeer opened this issue 12 years ago • 1 comments

I built shadowsocks-libuv by MinGW32 toolchain with some small fix in Makefile: LIBUVFLAGS = "OS=mingw" CFLAGS += -D_WIN32_WINNT=0x0600 -I"f:/openssl-0.9.8k_WIN32/include" LDFLAGS += f:/openssl-0.9.8k_WIN32/lib/ssleay32.lib f:/openssl-0.9.8k_WIN32/lib/libeay32.lib -lws2_32 -lmswsock -lkernel32 -luser32 -lgdi32 -lpsapi -liphlpapi -lmsvcr110

Building is successful, but report error when running, never succeed: F:\Shareware\shadowsocks-libuv>server [01;32m INFO: [0mShadowsocks server Version:0.2 libuv(0.9) Written by Dndx(id ndx.com) [01;32m INFO: [0mUsing shadowcrypt crypto [01;32m INFO: [0mCrypto ready [01;32m INFO: [0mListening on 0.0.0.0:8888 [01;32m INFO: [0mAccepted connection from 127.0.0.1 [01;32m INFO: [0mDomain is: www.google.com [01;32m INFO: [0mConnected to 203.208.46.200 [01;35m ERROR: [0mlibuv error: not enough memory on File: server.c Line: 150 [01;32m INFO: [0mAccepted connection from 127.0.0.1 [01;32m INFO: [0mDomain is: www.google.com [01;32m INFO: [0mConnected to 203.208.46.200 [01;35m ERROR: [0mlibuv error: not enough memory on File: server.c Line: 150 …………

missdeer avatar Feb 24 '13 12:02 missdeer

Sorry about that, but I don't have windows environment. Also I'm not sure whether libuv can run without problem under mingw, Please check https://github.com/joyent/libuv and follow the instructions to compile libuv.

dndx avatar Mar 05 '13 22:03 dndx