View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003183 | unreal | ircd | public | 2007-01-03 05:18 | 2007-01-03 06:44 |
| Reporter | yasinbey | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | sometimes |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.2.5 | ||||
| Summary | 0003183: svr4_current_sos: Can't read pathname for load map: Input/output error | ||||
| Description | This ircd uses 3.2.5 and didnt update to 3.2.6 yet but I haven' t seen that this was fixed on 3.2.6. So I reported. It crashs but I dont know how or when.. Here is the backtrace report: =================== START HERE ====================== BACKTRACE: Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `/home/enguzelasklarcom/Unreal3.2/src/ircd'. Program terminated with signal 11, Segmentation fault. warning: svr4_current_sos: Can't read pathname for load map: Input/output error #0 0x002fcde0 in strcpy () from /lib/tls/libc.so.6 #0 0x002fcde0 in strcpy () from /lib/tls/libc.so.6 #1 0x00b0276c in m_user (cptr=0x9f100a8, sptr=0x9f100a8, parc=4, parv=0x8113340) at m_user.c:110 #2 0x0806365d in parse (cptr=0x9f100a8, buffer=0x9f115a4 "USER", bufend=0x9f115bc "") at parse.c:441 #3 0x080627eb in dopacket (cptr=0x9f100a8, buffer=0x80a6400 "USER easklar NICK BeBop-\r", length=0) at packet.c:138 #4 0x08056cb1 in read_message (delay=1, listp=0x8129300) at s_bsd.c:1504 #5 0x0805f01b in main (argc=1, argv=0xbfa3d564) at ircd.c:1620 #0 0x002fcde0 in strcpy () from /lib/tls/libc.so.6 0x812b100 <backupbuf>: "USER easklar NICK BeBop-" #0 0x002fcde0 in strcpy () from /lib/tls/libc.so.6 No symbol table info available. #1 0x00b0276c in m_user (cptr=0x9f100a8, sptr=0x9f100a8, parc=4, parv=0x8113340) at m_user.c:110 username = Variable "username" is not available. GCC: gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) UNAME: Linux aktifshell.aktifshell.com 2.6.17-8_teknofixsmp #1 SMP Fri Aug 18 00:12:49 EEST 2006 i686 i686 i386 GNU/Linux UNREAL: Unreal3.2.5 build 1.1.1.1.2.23 2006/06/16 18:29:12 CORE: -rw------- 1 enguzelasklarcom enguzelasklarcom 2609152 Jan 3 04:38 core.22144 =================== STOP HERE ====================== | ||||
| 3rd party modules | m_ircops hideservers netadmins adwords | ||||
|
|
if (parc < 5 || *parv[1] == '\0' || *parv[2] == '\0' || *parv[3] == '\0' || *parv[4] == '\0') I'm not sure how picky c is about things like this, because I'm only fairly new with C, but would it really be a good idea to be checking all 5 elements of parv when your not sure if there is even 5 parameters? sounds like something that could make it crash |
|
|
hmm, according to the bottom part of your backtrace, its not the same line that I'm looking at: what is in you src/modules/m_user.c on line 110 (copy several lines behind and ahead of it as well)? |
|
|
I' ve just learnt that ircd owner has modified this ircd. So it crashes. I apologize for wasting your time with this issue. You can delete this report. |
|
|
*nod* |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-01-03 05:18 | yasinbey | New Issue | |
| 2007-01-03 05:18 | yasinbey | 3rd party modules | => m_ircops hideservers netadmins adwords |
| 2007-01-03 05:31 | djGrrr | Note Added: 0012975 | |
| 2007-01-03 05:41 | djGrrr | Note Added: 0012976 | |
| 2007-01-03 05:55 | yasinbey | Note Added: 0012977 | |
| 2007-01-03 06:44 | syzop | Status | new => closed |
| 2007-01-03 06:44 | syzop | Note Added: 0012978 | |
| 2007-01-03 06:44 | syzop | Resolution | open => no change required |