Hi,
I am using graph_tool version 2.37 (commit 1d377b3e) on a server with Debian 10 Buster. Whenever I try to copy a MeasuredBlockState object I get segmentation fault. This does not happen with Uncertain or MixedMeasured object though.
``` from graph_tool.all import *
g = collection.data["lesmis"].copy()
n = g.new_ep("int", 2) x = g.new_ep("int", 2)
state = MeasuredBlockState(g, n = n, x = x, n_default = 0, x_default = 0)
st = state.copy() ```
The stack trace using gdb and calling the script above is as follows: ================================== Starting program: /usr/bin/python3 script.py [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff4ddd700 (LWP 19803)] [New Thread 0x7ffff45dc700 (LWP 19804)] [New Thread 0x7ffff1ddb700 (LWP 19805)] [New Thread 0x7fffef5da700 (LWP 19806)] [New Thread 0x7fffecdd9700 (LWP 19807)] [New Thread 0x7fffe85d8700 (LWP 19808)] [New Thread 0x7fffe7dd7700 (LWP 19809)] [New Thread 0x7fffe35d6700 (LWP 19810)] [New Thread 0x7fffe0dd5700 (LWP 19811)] [New Thread 0x7fffde5d4700 (LWP 19812)] [New Thread 0x7fffdbdd3700 (LWP 19813)] [New Thread 0x7fffd95d2700 (LWP 19814)] [New Thread 0x7fffd6dd1700 (LWP 19815)] [New Thread 0x7fffd45d0700 (LWP 19816)] [New Thread 0x7fffd3dcf700 (LWP 19817)] [New Thread 0x7fffcf5ce700 (LWP 19818)] [New Thread 0x7fffccdcd700 (LWP 19819)] [New Thread 0x7fffca5cc700 (LWP 19820)] [New Thread 0x7fffc7dcb700 (LWP 19821)] [New Thread 0x7fffc55ca700 (LWP 19822)] [New Thread 0x7fffc2dc9700 (LWP 19823)] [New Thread 0x7fffc05c8700 (LWP 19824)] [New Thread 0x7fffbfdc7700 (LWP 19825)] [New Thread 0x7fffbd5c6700 (LWP 19826)] [New Thread 0x7fffbadc5700 (LWP 19827)] [New Thread 0x7fffb65c4700 (LWP 19828)] [New Thread 0x7fffb3dc3700 (LWP 19829)] [New Thread 0x7fffb15c2700 (LWP 19830)] [New Thread 0x7fffaedc1700 (LWP 19831)] [New Thread 0x7fffac5c0700 (LWP 19832)] [New Thread 0x7fffa9dbf700 (LWP 19833)] [Thread 0x7fffac5c0700 (LWP 19832) exited] [Thread 0x7fffaedc1700 (LWP 19831) exited] [Thread 0x7fffa9dbf700 (LWP 19833) exited] [Thread 0x7fffb15c2700 (LWP 19830) exited] [Thread 0x7fffb3dc3700 (LWP 19829) exited] [Thread 0x7fffb65c4700 (LWP 19828) exited] [Thread 0x7fffbadc5700 (LWP 19827) exited] [Thread 0x7fffbd5c6700 (LWP 19826) exited] [Thread 0x7fffbfdc7700 (LWP 19825) exited] [Thread 0x7fffc05c8700 (LWP 19824) exited] [Thread 0x7fffc2dc9700 (LWP 19823) exited] [Thread 0x7fffc55ca700 (LWP 19822) exited] [Thread 0x7fffc7dcb700 (LWP 19821) exited] [Thread 0x7fffca5cc700 (LWP 19820) exited] [Thread 0x7fffccdcd700 (LWP 19819) exited] [Thread 0x7fffcf5ce700 (LWP 19818) exited] [Thread 0x7fffd3dcf700 (LWP 19817) exited] [Thread 0x7fffd45d0700 (LWP 19816) exited] [Thread 0x7fffd6dd1700 (LWP 19815) exited] [Thread 0x7fffd95d2700 (LWP 19814) exited] [Thread 0x7fffdbdd3700 (LWP 19813) exited] [Thread 0x7fffde5d4700 (LWP 19812) exited] [Thread 0x7fffe0dd5700 (LWP 19811) exited] [Thread 0x7fffe35d6700 (LWP 19810) exited] [Thread 0x7fffe7dd7700 (LWP 19809) exited] [Thread 0x7fffe85d8700 (LWP 19808) exited] [Thread 0x7fffecdd9700 (LWP 19807) exited] [Thread 0x7fffef5da700 (LWP 19806) exited] [Thread 0x7ffff1ddb700 (LWP 19805) exited] [Thread 0x7ffff45dc700 (LWP 19804) exited] [Thread 0x7ffff4ddd700 (LWP 19803) exited] [Detaching after fork from child process 19834] [Detaching after fork from child process 19835]
Thread 1 "python3" received signal SIGSEGV, Segmentation fault. 0x00007fff8e1a5ba5 in ?? () from /usr/lib/python3/dist-packages/graph_tool/inference/libgraph_tool_inference.so ==================================================
I tried to replicate the issue in my laptop using graph tool version 2.36dev (commit 15a33b72) in Arch Linux, but the issue does not happen, so it seems to be related to recent releases.
Thanks in advance, Herlander
-- Sent from: https://nabble.skewed.de/
Am 26.01.21 um 10:54 schrieb h-lima:
Hi,
I am using graph_tool version 2.37 (commit 1d377b3e) on a server with Debian 10 Buster. Whenever I try to copy a MeasuredBlockState object I get segmentation fault. This does not happen with Uncertain or MixedMeasured object though.
This is really strange. I can reproduce a segfault with the instantiation of MeasuredBlockState (not copying), but only on buster, not on unbuntu or any other distro.
Could you please open an issue for this in gitlab, so I can keep track, and investigate in more detail?
Best, Tiago
Hello Tiago,
I have been trying to file an issue in gitlab, but I am unable since the repository has restricted access. I registered through gitlab, perhaps should I do the login any other way (I see there are github or google login options)?
Thank you Herlander
-- Sent from: https://nabble.skewed.de/
Am 31.01.21 um 23:17 schrieb h-lima:
Hello Tiago,
I have been trying to file an issue in gitlab, but I am unable since the repository has restricted access. I registered through gitlab, perhaps should I do the login any other way (I see there are github or google login options)?
I have approved your user now; you should be able to log in.
I had to turn on manual approvals due to the huge number of spam accounts being created. I'm working on an alternative solution to this.
Best, Tiago