bugProject PSIworld - Bugs: bug #19971, Server crashes, when client...

 
 

bug #19971: Server crashes, when client connects

Submitted by:  Tolga Dalman <tolgadalman>
Submitted on:  Sat 26 May 2007 11:48:10 AM UTC  
 
Category: PSIroadsSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Tolga Dalman <tolgadalman>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 30 May 2007 09:33:46 AM UTC, comment #1:

Fixed. On disconnect, a chunk had been allocated with

cnk = malloc(sizeof(psi_chunk_t*));

obviously, the * is too much, causing too little memory to be allocated ...

Tolga Dalman <tolgadalman>
Project AdministratorIn charge of this item.
Sat 26 May 2007 11:48:10 AM UTC, original submission:

When a client connects to the server, both do crash. The server
has this log message:
----------------
[debug] libPSIroads.so socket.c[310]: socket_recv(): Setting chunk [0x80532a8] recipient to [0x8053108]
Debugging chunk [0x8053320]:
size: 0
flags: PEER_DISCONNECTED
data [0x0]: ''
destr [0xb7f0fec6]: psi_dont_free
[debug] libPSIutil.so memory.c[70]: psi_free(): Freeing [0x80532c8]
[debug] libPSIutil.so memory.c[70]: psi_free(): Freeing [0x80502b0]
[debug] libPSIutil.so memory.c[70]: psi_free(): Freeing [0x8053320]

      • glibc detected *** ./aeolus: free(): invalid next size (fast): 0x08053320 ***

Aborted
----------------

Tolga Dalman <tolgadalman>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tolgadalman (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 May 2007 09:33:46 AM UTCtolgadalmanStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
      Carbon-Copy-=>Added -unavailable-
    Wed 30 May 2007 09:33:45 AM UTCtolgadalmanCategoryPSIaeolus=>PSIroads

    Back to the top


    Powered by Savane 3.1-cleanup1