Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intel11 has a memory error when using a stringstream? #15

Open
cwsmith opened this issue Jul 20, 2015 · 0 comments
Open

intel11 has a memory error when using a stringstream? #15

cwsmith opened this issue Jul 20, 2015 · 0 comments

Comments

@cwsmith
Copy link
Collaborator

cwsmith commented Jul 20, 2015

==32149== Invalid read of size 8
==32149==    at 0x488258: __intel_sse2_strlen (in /lore/cwsmith/develop/streamInMem/phastaChef/buildIntelMpich312/phasta/bin/phIOreadheaderFtn)
==32149==    by 0x40A147: readheader_ (phastaIO.cc:1429)
==32149==    by 0x4063A4: sync_readheader(int*, char const*, void*, int*, char const*, char const*) (phio_sync.cc:60)
==32149==    by 0x4053CC: phio_readheader (phIO.cc:17)
==32149==    by 0x405243: MAIN__ (phIOreadheader.f:35)
==32149==    by 0x404D6B: main (in /lore/cwsmith/develop/streamInMem/phastaChef/buildIntelMpich312/phasta/bin/phIOreadheaderFtn)
==32149==  Address 0x6b4c098 is 40 bytes inside a block of size 43 alloc'd
==32149==    at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261)
==32149==    by 0x5DBDB28: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==32149==    by 0x5DBE824: ??? (in /usr/lib/libstdc++.so.6.0.13)
==32149==    by 0x5DBE8E9: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<char*>(char*, char*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.13)
==32149==    by 0x5DBC47D: std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::str() const (in /usr/lib/libstdc++.so.6.0.13)
==32149==    by 0x406376: sync_readheader(int*, char const*, void*, int*, char const*, char const*) (phio_sync.cc:59)
==32149==    by 0x4053CC: phio_readheader (phIO.cc:17)
==32149==    by 0x405243: MAIN__ (phIOreadheader.f:35)
==32149==    by 0x404D6B: main (in /lore/cwsmith/develop/streamInMem/phastaChef/buildIntelMpich312/phasta/bin/phIOreadheaderFtn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant