Deluge crash on Windows on parsing IPv6?

General support for problems installing or using Deluge
Post Reply
woofwoof
New User
New User
Posts: 6
Joined: Mon Jan 14, 2008 2:40 am

Deluge crash on Windows on parsing IPv6?

Post by woofwoof »

If running from deluge.exe all we can see is MS VC++ Runtime Library error, as with all other unhandled exceptions.
If running from python this is the error
terminate called after throwing an instance of 'asio::system_error'
what(): An invalid argument was supplied.

It crash not long after these codes (inet_ntop in socket_ops.hpp)
500 int result = error_wrapper(::WSAAddressToStringA(
501 reinterpret_cast<sockaddr*>(&address),
502 address_length, 0, dest, &string_length), ec);

I don't know why it suddenly parsed IPv6 address even when I only using IPv4.
woofwoof
New User
New User
Posts: 6
Joined: Mon Jan 14, 2008 2:40 am

Solved! Stupid Windows

Post by woofwoof »

LMAO no wonder WSAAddressToStringA when passed with IPv6 address structure, it always return WSAEINVAL exception. It is because the IPv6 protocol not installed in the computer! WTF!

I bet this is the reason so many people encountering VC++ Runtime Library error on Windows.
Sharky
New User
New User
Posts: 9
Joined: Sat Nov 24, 2007 1:07 pm

Re: Deluge crash on Windows on parsing IPv6?

Post by Sharky »

Windows XP - In October 2001, the latest desktop edition of Windows was released, bringing the reliability and performance of the Windows NT kernel to a much wider audience. Every copy of Windows XP, Home Edition and Professional, has an IPv6 stack based on the research that we started, released as a Developer Preview primarily for application porting. The stack is very easily manually installed from a command line just by typing ipv6 install. Click here for more information about IPv6 in Windows XP.
from: http://research.microsoft.com/msripv6/

If you are using windows XP try in the prompt the command:

Code: Select all

ipv6 install
loki
Moderator
Moderator
Posts: 787
Joined: Tue Dec 04, 2007 3:27 pm
Location: MI, USA

Re: Deluge crash on Windows on parsing IPv6?

Post by loki »

Yes, that could explain a lot. I was using vista so ipv6 setup by default. And I only had the c++ error back in 0.5.7, ever since then no problems.
Post Reply