Jump to content

assert failed


debianuser

Recommended Posts

Running on Debian Squeeze. When I attempt to add a torrent file, I browse to the file and click OK. utorrent collapses with this error:

assert failed util_posix.cpp:231 (21701)

Aborted

Thanks for the report. It looks like a failure for which a fix has been made in the main code line. If you can reproduce it consistently, consider running the product within gdb and posting a backtrace to this thread - that will help me determine if it is the same bug.

Link to comment
Share on other sites

Unfortunately,I had the same problem.My OS is Ubuntu 10.04 LTS.

When I add a torrent,the server get down with a massage that says,"assert failed util_posix.cpp:259 (21701)"

Here is my debug message:

gdb ./utserver

GNU gdb (GDB) 7.1-ubuntu

Copyright © 2010 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show copying"

and "show warranty" for details.

This GDB was configured as "i486-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /home/ferstar/下载/bittorrent-server-v3_0/utserver...(no debugging symbols found)...done.

(gdb) r

Starting program: /home/ferstar/下载/bittorrent-server-v3_0/utserver

[Thread debugging using libthread_db enabled]

server started

[New Thread 0xb7feab70 (LWP 12205)]

[New Thread 0xb77e9b70 (LWP 12206)]

[New Thread 0xb6fe8b70 (LWP 12207)]

[New Thread 0xb67e7b70 (LWP 12208)]

IPv6 is installed

[Thread 0xb67e7b70 (LWP 12208) exited]

assert failed util_posix.cpp:259 (21701)

Program received signal SIGINT, Interrupt.

[switching to Thread 0xb6fe8b70 (LWP 12207)]

0x0012d422 in __kernel_vsyscall ()

(gdb) bt

#0 0x0012d422 in __kernel_vsyscall ()

#1 0x0013c230 in raise () from /lib/tls/i686/cmov/libpthread.so.0

#2 0x080ca1f6 in GetCanonicalPath(wchar_t const*) ()

#3 0x080baefb in BuildDownloadDir(int, wchar_t*) ()

#4 0x080be249 in TrackerConnection::ProcessCommand(char*) ()

#5 0x080bf92e in TrackerConnection::process_http_done() ()

#6 0x0808509b in HttpConnection::process_multipart() ()

#7 0x08085248 in HttpConnection::run_state() ()

#8 0x08090994 in TcpSocket::loop() ()

#9 0x08090508 in Socket::NetworkLoop(long) ()

#10 0x080906dd in Socket::NetworkEventLoop(ThreadSync*) ()

#11 0x08090753 in NetworkThread(void*) ()

#12 0x080b9e27 in thread_func_wrapper(void*) ()

#13 0x0013396e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

#14 0x00262a4e in clone () from /lib/tls/i686/cmov/libc.so.6

I have followed the recommendations of the default settings,but there is still the same problem.

I hope that the authors can see and solve the problem.

Thanks!

Link to comment
Share on other sites

Unfortunately,I had the same problem.My OS is Ubuntu 10.04 LTS.

When I add a torrent,the server get down with a massage that says,"assert failed util_posix.cpp:259 (21701)"

Thanks for the report. It actually is not the same problem that the OP has. Somebody else posted about this specific assertion and backtrace in another thread.

I'm guessing here since I haven't seen this problem. Does the path of the utserver binary or the paths to the directories specified in either utserver.conf or via the web UI contain any symbolic links?

Link to comment
Share on other sites

Unfortunately' date='I had the same problem.My OS is Ubuntu 10.04 LTS.

When I add a torrent,the server get down with a massage that says,"assert failed util_posix.cpp:259 (21701)"

[/quote']

Thanks for the report. It actually is not the same problem that the OP has. Somebody else posted about this specific assertion and backtrace in another thread.

I'm guessing here since I haven't seen this problem. Does the path of the utserver binary or the paths to the directories specified in either utserver.conf or via the web UI contain any symbolic links?

Aha,I seem to find the cause of the problem.The server itself does not support Chinese path,so I put it in English path, and it works perfectly.

Thank you for your great software!

:-)

Link to comment
Share on other sites

Unfortunately' date='I had the same problem.My OS is Ubuntu 10.04 LTS.

When I add a torrent,the server get down with a massage that says,"assert failed util_posix.cpp:259 (21701)"

[/quote']

Thanks for the report. It actually is not the same problem that the OP has. Somebody else posted about this specific assertion and backtrace in another thread.

Aha,I seem to find the cause of the problem.The server itself does not support Chinese path,so I put it in English path, and it works perfectly.

I think you have identified the workaround. The canonical path function doesn't handle Unicode paths. That will be a known issue for a while.

Link to comment
Share on other sites

  • 1 month later...

Hi,

I have had exactly the same issue,

This GDB was configured as "i386-redhat-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /home/vncuser/utorrent/utserver...(no debugging symbols found)...done.

(gdb)

(gdb) r

Starting program: /home/vncuser/utorrent/utserver

[Thread debugging using libthread_db enabled]

server started

[New Thread 0xb7ff1b90 (LWP 23364)]

[New Thread 0xb75f0b90 (LWP 23365)]

[New Thread 0xb6befb90 (LWP 23366)]

[New Thread 0xb61eeb90 (LWP 23367)]

IPv6 is installed

[Thread 0xb61eeb90 (LWP 23367) exited]

assert failed util_posix.cpp:231 (21886)

Program received signal SIGINT, Interrupt.

[switching to Thread 0xb6befb90 (LWP 23366)]

0x00994402 in __kernel_vsyscall ()

(gdb) bt

#0 0x00994402 in __kernel_vsyscall ()

#1 0x00230021 in raise () from /lib/i686/nosegneg/libpthread.so.0

#2 0x080ca1fa in GetCanonicalPath(wchar_t const*) ()

#3 0x080baeff in BuildDownloadDir(int, wchar_t*) ()

#4 0x080be2e6 in TrackerConnection::ProcessCommand(char*) ()

#5 0x080bf932 in TrackerConnection::process_http_done() ()

#6 0x08085133 in HttpConnection::run_state() ()

#7 0x08090974 in TcpSocket::loop() ()

#8 0x080904e8 in Socket::NetworkLoop(long) ()

#9 0x080906bd in Socket::NetworkEventLoop(ThreadSync*) ()

#10 0x08090733 in NetworkThread(void*) ()

#11 0x080b9e2b in thread_func_wrapper(void*) ()

#12 0x00227869 in start_thread () from /lib/i686/nosegneg/libpthread.so.0

#13 0x003e2e9e in clone () from /lib/i686/nosegneg/libc.so.6

(gdb)

I am unable to load a torrent, everytime I try the server crashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...