mrlitany / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

crash with floating point exception in pcp example #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. use a jabber server without relay servers
2. two hosts trying to use relay servers
3. try to share some files

What is the expected output? What do you see instead?
The file should get somehow to the other user, since it's not possible at
least don't crash.

What version of the product are you using? On what operating system?
0.4.0
Ubuntu Feisty Fawn
kernel: 2.6.20-14
gcc 4.1.2

Please provide any additional information below.

problem in: httpportallocator.cc around line 118
std::string host = relay_hosts_[attempts_ % relay_hosts_.size()];
Without relay servers causes dividing with zero.

Original issue reported on code.google.com by peter.fe...@gmail.com on 22 Jul 2007 at 2:15

GoogleCodeExporter commented 9 years ago
I found some workaround.
http://groups.google.com/group/google-talk-open/browse_thread/thread/6c9246e5083
d0485/58d31c5367750b2e

Original comment by peter.fe...@gmail.com on 22 Jul 2007 at 2:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
You must set stun server and media server on server. For openfire, you should 
enable Media Proxy and stun server via config webpage.

Original comment by hllyy...@gmail.com on 4 Aug 2011 at 5:46

GoogleCodeExporter commented 9 years ago

Original comment by juberti@google.com on 9 Sep 2011 at 7:28