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

Serialization of hpx::util::function between two localities causes seg faults #728

brycelelbach opened this issue Feb 26, 2013 · 2 comments


None yet
2 participants
Copy link

commented Feb 26, 2013

As per the testcase I just committed, serializations of hpx::util::function between two localities appears to cause segfaults. At first I thought it might be stack overflow, but this appears to not be the case.

Steps to reproduce:

Run the function_serialization test on two localities.

Issue appears like this:

[09:35:43]:wash@trillian01:/home/wash:0:$ ~/install/hpx/gcc-4.6.2-debug/bin/function_serialization_test -l2 -t1 -1
    {stack-trace}: 5 frames:
0x7f83ab6438a0  : hpx::util::backtrace::backtrace(unsigned long) + 0x80 in /home/wash/install/hpx/gcc-4.6.2-debug/lib/hpx/
0x7f83ab643a04  : hpx::util::trace() + 0x1e in /home/wash/install/hpx/gcc-4.6.2-debug/lib/hpx/
0x7f83ab6a8234  : hpx::termination_handler(int) + 0x46 in /home/wash/install/hpx/gcc-4.6.2-debug/lib/hpx/
0x7f83a67df310  : ??? + 0x7f83a67df310 in /lib/x86_64-linux-gnu/
{what}: Segmentation fault
{version}: V1.0.0-trunk (AGAS: V2.1), Git: e134a44bf6dfcbf4a5cba24db606033be28ee6f4
{boost}: V1.52.0
{build-type}: debug
{date}: Feb 25 2013 23:28:07
{platform}: linux
{compiler}: GNU C++ version 4.6.2
{stdlib}: GNU libstdc++ version 20120120

@ghost ghost assigned hkaiser Feb 26, 2013


This comment has been minimized.

Copy link

commented Feb 26, 2013

This problem seems to be related to object tracking of the function::vtables, which are saved polymorphically through the base pointer.


This comment has been minimized.

Copy link
Member Author

commented Mar 1, 2013

Nope, still there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.