SEGV with IRRToolSet 4.8.5 on Solaris

S.P.Zeidler spz at serpens.de
Mon Jan 7 15:46:07 UTC 2008


Hi,

this is the better patch (the previous one is a memory leak):

--- snip ---
--- src/irr/autnum.hh.orig      2007-02-09 20:46:31.000000000 +0100
+++ src/irr/autnum.hh
@@ -395,9 +395,11 @@ public:
                afi_list->merge(*tmp_afi_list);
                delete list;
                delete tmp_afi_list;
+               tmp_afi_list = new ItemList;
             }
          }
       }
+      delete tmp_afi_list;
    }
 
    FilterAction *first() {
--- snip ---

In this case, calling AutNumSelector::select with a null pointer in place
of the ItemList **tmp_afi_list was a dead giveaway, ie the backtrace was
sufficient input.

regards,
	spz
-- 
spz at serpens.de (S.P.Zeidler)


More information about the irrtoolset mailing list