[shadow-support] Invalid pointer errors

Rob Jansen jansen at cs.umn.edu
Wed Nov 5 07:33:20 CST 2014


Hi Mary,

This seems like a bug, but I believe both of your experiments completed
successfully. It is during shutdown/cleanup that the error occurs. Does the
log file contain a backtrace at the tail end? If so, could you please send
that?

Rob

On Sun, Nov 2, 2014 at 12:43 PM, Mary Baca <maryrbaca at gmail.com> wrote:

> Hello,
>
> I'm just getting started with Shadow, doing the tutorial, and am getting
> some errors. I'm running it on Ubuntu 14.04.1 LTS. I'm just running
> through the getting started examples and this happens:
>
> ~$ shadow --file > filetest.log
> [2014-11-02 12:09:20.370540] shadow-wrapper: Use 'shadow --usage' to get
> help for the Shadow wrapper script
> [2014-11-02 12:09:20.370611] shadow-wrapper: set environmental variable:
> LD_PRELOAD=/home/mary/.shadow/lib/libshadow-preload.so
> [2014-11-02 12:09:20.370629] shadow-wrapper: set environmental variable:
> OPENSSL_ia32cap=~0x200000200000000
> [2014-11-02 12:09:20.370641] shadow-wrapper: running:
> '/home/mary/.shadow/bin/shadow-bin --file'
> *** Error in `/home/mary/.shadow/bin/shadow-bin': free(): invalid
> pointer: 0x00007f989403c8a0 ***
> [2014-11-02 12:10:05.556942] shadow-wrapper: run returned -6
>
> But word count  (as in the tutorial) produces 10,000 things, as
> expected, and the fileserver stats says there were 340000 bytes in and
> 1101230000 bytes out and 10000 replies. So, maybe it worked?
>
> Also, doing the following produces a similar error:
> ~/Desktop/shadow-1.9.2/resource/examples/filetransfer$ shadow
> shadow.config.xml
>
> After a bunch of output I get
> 00:00:00:000000 [thread-0] n/a [shadow-message] [n/a] [master_free]
> Shadow v1.9.2 [build-date: 2014-10-18] shut down cleanly at 2014-11-02
> 12:15:27
> *** Error in `/home/mary/.shadow/bin/shadow-bin': free(): invalid
> pointer: 0x00007f72285a08a0 ***
> [2014-11-02 12:15:27.642556] shadow-wrapper: run returned -6
>
> I'm running one of the longer examples now, but am totally new to this
> and not sure if these pointer errors are gonna throw stuff off. How can
> I fix them, if necessary?
>
> Thanks,
> Mary
> _______________________________________________
> shadow-support mailing list
> shadow-support at cs.umn.edu
> https://wwws.cs.umn.edu/mm-cs/listinfo/shadow-support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.umn.edu/archives/shadow-support/attachments/20141105/4c541310/attachment.html>


More information about the shadow-support mailing list