-
I know. The version of GT-ITM that it is provided on the web site
is for Solaris, which "forgives" some errors concerning memory allocation.

This problem appears only in the "geo" method, when one tries to generate
multiple graphs. For the other methods everything works OK.

I had the same problem and after a one-day searching the source files
I found that they forget to NULL-ize a pointer concerning the multiple graph
creation process. The "free" memory de-allocation function is applied twice
to this pointer (once at the end of the first iteration and once at
the beginning
of the second) and that is why it generates a "segmentation fault" - like
error.

I have corrected the error and I will forward to your e-mail (because
the list does not
accept attachments) a tar file with the error in the source files corrected.

However, you will have to re-configure and re-make the application in
order to make it work.

Regards,

-Fk

On 7/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> ---------- Forwarded message ----------
> From: "piyush sharma" <[EMAIL PROTECTED]>
> To: [email protected]
> Date: Wed, 12 Jul 2006 15:00:34 +0530
> Subject: [ns] gt-itm: error producing multiple graphs!
> Hi everybody,
> I am using the gt-itm for the generation of random topologies . Its works
> fine  for this case :
>
> (this is the r10 file)
> geo 1
> 10  10  3  0.2
>
> $ .bin/itm r10
> it produces a file named as r10-0.gb (as expected)
>
> but when I change the 'number of graphs' argument next to 'geo' as more
than
> one, say to three, I expect it produces three different files (r10-0.gb,
> r10-1.gb & r10-2.gb )...........but it gives the following error:
>
> (modified r10 file)
> geo 3
> 10 10 3 0.2
>
> $ ./bin/itm
> $ *** glibc detected *** double free or corruption: 0x08053170 ***
>    Aborted
>
>  only a single file with the same  name as above (r10-0.gb) is generated
> instead of three files........
>
> Please Help!
> Piyush

-Fk

--
Filippos N Kolovos

Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: [EMAIL PROTECTED],
          [EMAIL PROTECTED]
----------------------------------------------

Reply via email to