View Issue Details

IDProjectCategoryView StatusLast Update
0003677unrealircdpublic2008-08-07 14:27
ReporterKein Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Version3.2.7 
Summary0003677: Link-crash under sparc64
DescriptionUnreal crashes under sparc64 when linking with other servers.
There is exist two conditions:
[1st]
test.bad-server.ru (under sparc64) tries to connect to test.good-server.ru (under FreeBSD 6) via SSL/ziplinks. Everything seems fine, but only if there is NO users on the both of these servers (no matter what the test.bad-server.ru: HUB or LEAF).
If any users will try to connect to any of the servers, test.bad-server.ru will immediately dies (crash).
[2nd]
If there is at last one user on the test.bad-server.ru (or on the test.good-server.ru - doesn't matter) -> test.bad-server.ru will immediately dies right after link establishing.
##############################################
=================== START HERE ======================
BACKTRACE:
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/home/d3m0n/astrnetwork/original/src/ircd'.
Program terminated with signal 10, Bus error.
#0 decode_ip (buf=<value optimized out>) at support.c:1942
1942 return inet_ntoa(*(struct in_addr *)targ);
#0 decode_ip (buf=<value optimized out>) at support.c:1942
#1 0xf7ba2704 in _register_user (cptr=
./unreal: line 134: 407 Аварийный останов gdb -batch -x gdb.commands /home/d3m0n/astrnetwork/original/src/ircd $corefile
GCC: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
UNAME: Linux irc.pp.ru 2.6.18-6-sparc64 #1 Tue Feb 12 21:51:30 UTC 2008 sparc64 GNU/Linux
UNREAL: Unreal3.2.7 build 1.1.1.1.2.1.2.1.2.2234.2.676 2007/07/13 10:43:04
CORE: -rw------- 1 d3m0n d3m0n 2326528 2008-04-07 03:07 core
=================== STOP HERE ======================
Additional Informationhttp://forums.unrealircd.com/viewtopic.php?f=3&t=4014&p=20950&hilit=sparc#p20950
3rd party modules

Activities

Kein

2008-04-06 23:39

reporter   ~0015248

Additional:
1. No HTML-encoded bug-report: http://www.everfall.com/paste/id.php?mrxd4cpupt3g (never expires)
2. That's no matter how to link the servers: with SSL/ziplinks support or without -> result is the same -> crash.

Kein

2008-04-09 00:14

reporter   ~0015257

!!!FIXED!!!
Just update gcc from "4.1.2 20061115 (prerelease)" to "4.3.1 20080401 (prerelease)" and recompile the IRCd.
Funnay.

syzop

2008-08-07 14:27

administrator   ~0015340

hm ok, good to know you fixed it :)

Issue History

Date Modified Username Field Change
2008-04-06 23:29 Kein New Issue
2008-04-06 23:39 Kein Note Added: 0015248
2008-04-09 00:14 Kein Note Added: 0015257
2008-08-07 14:27 syzop QA => Not touched yet by developer
2008-08-07 14:27 syzop U4: Need for upstream patch => No need for upstream InspIRCd patch
2008-08-07 14:27 syzop Status new => closed
2008-08-07 14:27 syzop Note Added: 0015340
2008-08-07 14:27 syzop Resolution open => no change required