bugRamon - A RMON2 Network Monitoring Agent - Bugs: bug #20602, Bad system call

 
 

bug #20602: Bad system call

Submitted by:  Ricardo Nabinger Sanchez <rnsanchez>
Submitted on:  Thu 26 Jul 2007 08:58:17 PM UTC
 
Category:  RMON2 Severity:  5 - Blocker
Priority:  5 - Normal Status:  Confirmed
Assigned to:  None Open/Closed:  Open
Operating System:  FreeBSD Fixed Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Fri 29 Feb 2008 08:39:27 PM UTC, comment #2: 

This error happened again.  It only happens when using the Net-SNMP module.  I will try to use pthread-only stuff, nuking semaphores.

Ricardo Nabinger Sanchez <rnsanchez>
Project Administrator
Thu 28 Feb 2008 10:31:47 PM UTC, comment #1: 

This error doesn't happen anymor with FreeBSD-6.1 and newer, so it became invalid.  I'm not sure, but it may have to do with huge POSIX threading changes in FreeBSD during 5 -> 6 transition.

Ricardo Nabinger Sanchez <rnsanchez>
Project Administrator
Thu 26 Jul 2007 08:58:17 PM UTC, original submission:  

I think this is related to semaphores:

(gdb) bt f
#0  0x284c592b in ksem_init () from /lib/libc.so.6
No symbol table info available.
#1  0x284bc1f5 in sem_init () from /lib/libc.so.6
No symbol table info available.
#2  0x2857d327 in fila_inicializa () at src/conversor.c:287
No locals.
#3  0x2857d999 in captura_processa_pacote () at src/conversor.c:645
        prepacote = {is_broadcast = 0, prot_enlace = 0, prot_rede = 0,
  prot_transporte = 0, rede_sport = 0, rede_dport = 0, interface = 0, tamanho = 0,
  uptime = 0, ip_orig = 0, ip_dest = 0, nl_localindex = 0, al_localindex = 0,
  offset_rede = 0, offset_trans = 0, offset_aplic = 0}
#4  0x28857319 in pthread_create () from /usr/lib/libpthread.so.2
No symbol table info available.
#5  0x28522637 in _ctx_start () from /lib/libc.so.6
No symbol table info available.

Code:

static int fila_inicializa()
{
287:    if (sem_init(&fila_semaforo, 0, 0) != 0) {
return ERROR_PKTQUEUE;
    }

    return SUCCESS;
}

Ricardo Nabinger Sanchez <rnsanchez>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rnsanchez (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-02-29 rnsanchez StatusInvalid => Confirmed
        Open/ClosedClosed => Open
    2008-02-28 rnsanchez StatusConfirmed => Invalid
        Open/ClosedOpen => Closed

    Back to the top


    Powered by Savane 3.9