Segmentation fault (core dumped)

175 views
Skip to first unread message

Tergel Munkhbat

unread,
Feb 4, 2021, 6:56:31 AM2/4/21
to Pantheon
Hello folks,

I have faced some issues related to Copa schemes.

I would like to run a single congestion control scheme, so I run the below command on my server. However, I got this error - segmentation fault (core dumped)


bc5c5e150c63:~/pantheon$ src/wrappers/copa.py sender  xx.xx.xx.xx 9001
Segmentation fault (core dumped)
Traceback (most recent call last):
  File "src/wrappers/copa.py", line 45, in <module>
    main('do_ss:auto:0.1')
  File "src/wrappers/copa.py", line 41, in main
    check_call(sh_cmd, shell=True, stdout=devnull)
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'export MIN_RTT=1000000 && /home/tergel/pantheon/third_party/genericCC/sender serverip=210.110.206.254 serverport=9001 offduration=1 onduration=1000000 traffic_params=deterministic,num_cycles=1 cctype=markovian delta_conf=do_ss:auto:0.1' returned non-zero exit status 139

Any idea how I could resolve this?

Cheers.
Tergel

Francis Y. Yan

unread,
Feb 17, 2021, 2:10:06 AM2/17/21
to Tergel Munkhbat, Pantheon
Hello Tergel,

Sorry for the delayed response, and I am not sure why Copa doesn't work for you.

What would be the error if you manually run the printed command? Have you tried gdb? You could also consider contacting Copa's authors on this issue.

Best,
Francis

--
You received this message because you are subscribed to the Google Groups "Pantheon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pantheon-stanf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pantheon-stanford/6b6e959f-0c7f-4f62-8d87-4f62d5329da9n%40googlegroups.com.

Tergel Munkhbat

unread,
Mar 3, 2021, 5:49:11 AM3/3/21
to Pantheon
Hello Francis,

Greatly appreciate your response. When I manually run the command, it is the same error. Therefore, I will contact Copa authors. Thanks.

Sincerely,
Tergel

liu yuanyuan

unread,
Jun 3, 2021, 3:53:20 AM6/3/21
to Pantheon
I ran into the same problem with Copa as follows


Traceback (most recent call last):
  File "/home/liu/pantheon/src/wrappers/copa.py", line 46, in <module
>    main('do_ss:auto:0.1')
  File "/home/liu/pantheon/src/wrappers/copa.py", line 41, in main
    check_call(sh_cmd, shell=True, stdout=devnull)
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'export MIN_RTT=1000000 && /home/liu/pantheon/third_party/genericCC/sender serverip=100.64.0.3 serverport=44099 offduration=1 onduration=1000000 traffic_params=deterministic,num_cycles=1 cctype=markovian delta_conf=do_ss:auto:0.1' returned non-zero exit status 139

How can I solve this problem?

Sincerely,
liuyuan

Francis Y. Yan

unread,
Jun 6, 2021, 4:30:41 PM6/6/21
to liu yuanyuan, Pantheon
Sorry I have no idea either -- please contact the Copa authors regarding this issue.

Best,
Francis

张毅航

unread,
Jul 8, 2021, 6:25:48 AM7/8/21
to Pantheon
same problem I meet when I try to run copa schemes

Xudong Liao

unread,
Aug 3, 2021, 8:57:53 AM8/3/21
to Pantheon
Hi folks,

I also have encountered this issue and found it may result from the loop of std::map at for (auto x : unacknowledged_packets) . I modified the code to loop and erase by iterator and found the problen solved. The modification is:

auto iter = unacknowledged_packets.begin();
while (iter != unacknowledged_packets.end()){
    auto x = *iter;
    assert(tmp_seq_num <= x.first);
    // some code here
    iter = unacknowledged_packets.erase(iter);
}

Hope this works for you :)

Best,
Xudong

PhD Student from iSING@HKUST
Reply all
Reply to author
Forward
0 new messages