lbm

core dump when browsing a web page containing a lot of pictures

Bug #221172 reported by Beber
2
Affects Status Importance Assigned to Milestone
lbm
Fix Committed
Undecided
Beber

Bug Description

This bug happened when surfing on http://planet.ubuntu.com/

To reproduce :
 - empty Firefox's cache
 - start LBM with : # gdb --args lbm -i eth1 -b 480
 - go to http://planet.ubuntu.com/

Revision history for this message
Beber (bertrand-goareguer) wrote :
Changed in lbm:
assignee: nobody → bertrand-goareguer
Changed in lbm:
status: New → Confirmed
Changed in lbm:
status: Confirmed → Fix Committed
Revision history for this message
Beber (bertrand-goareguer) wrote :

In function get_process_name_from_PID, the file descriptor fin was closed even if it had not been opened.

The fix consisted in closing the file descriptor only if it had been opened.

This is quick and dirty. The get_process_name_from_PID function finds the name of the process using a given connection. If the process terminated when the list was being updated, the connection should be removed from the list instead of setting the process name to "unknown". I'll add this as a new blueprint.

Revision history for this message
Beber (bertrand-goareguer) wrote :

The imrovement has been commited in revision 4.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.