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

Agora receives SIGABRT #1376

Closed
kchulj opened this issue Nov 20, 2020 · 12 comments
Closed

Agora receives SIGABRT #1376

kchulj opened this issue Nov 20, 2020 · 12 comments
Assignees
Labels
C.Blockchain An issue related to general blockchain issues Story-Points:13 This takes > 7 days to complete type-bug Things don't work as they were intended to, or the way they were intended to work doesn't make sense
Milestone

Comments

@kchulj
Copy link

kchulj commented Nov 20, 2020

The result is from gdb.

Thread 1 "agora" received signal SIGABRT, Aborted.
0x00007f4eaa4599ff in setjmp ()
   from /lib/ld-musl-x86_64.so.1
(gdb) bt
#0  0x00007f4eaa4599ff in setjmp ()
   from /lib/ld-musl-x86_64.so.1
#1  0x00007f4eaa459b5a in raise ()
   from /lib/ld-musl-x86_64.so.1
#2  0x000055cf95403c2b in _D3std5range10primitives__T5doPutTSQBh5stdio4File17LockingTextWriterTaZQBsFNfKQBsKaZv (r=...,
    e=<error reading variable: Cannot access memory at address 0xfffffffffffffff8>)
    at /usr/include/d/std/range/primitives.d:276

Blocks #1367 (and/or #1362)

@kchulj kchulj added the type-bug Things don't work as they were intended to, or the way they were intended to work doesn't make sense label Nov 20, 2020
@Geod24
Copy link
Collaborator

Geod24 commented Nov 20, 2020

Do you have a reliable way to reproduce this ?

@kchulj
Copy link
Author

kchulj commented Nov 20, 2020

Do you have a reliable way to reproduce this ?

I'm still testing, but it happens quite randomly.

@Geod24
Copy link
Collaborator

Geod24 commented Nov 20, 2020

I'm saying this because:

  1. This is a very generic error and a million things could cause it;
  2. It might be related to a bug I noticed on Musl w.r.t. debug infos and I'm going to work on this weekend;

@kchulj
Copy link
Author

kchulj commented Nov 24, 2020

Update: Yes, this error is reproducible. So far, it has triggered every time I ran the program.

GDB 9.2 and GDB 10.1 show the same error.

@bpalaggi bpalaggi added this to the 2. Validator milestone Dec 1, 2020
@AndrejMitrovic
Copy link
Contributor

I think this was just a symptom of #1367.

@kchulj can you still reproduce the issue?

@kchulj
Copy link
Author

kchulj commented Dec 2, 2020

I think this was just a symptom of #1367.

@kchulj can you still reproduce the issue?

Will test with the update.

@kchulj kchulj added the Story-Points:13 This takes > 7 days to complete label Dec 2, 2020
@bpalaggi bpalaggi added the C.Blockchain An issue related to general blockchain issues label Dec 4, 2020
@kchulj
Copy link
Author

kchulj commented Dec 4, 2020

Tested with latest version of agora on the servers and the assert no longer triggers.
This issue can be closed now.

@kchulj kchulj closed this as completed Dec 4, 2020
@Geod24
Copy link
Collaborator

Geod24 commented Dec 5, 2020

The bug is actually in the backtrace code, upstream.

@AndrejMitrovic
Copy link
Contributor

Is there a ticket upstream we can link to? Let's add it to #561.

@kchulj
Copy link
Author

kchulj commented Dec 7, 2020

Is there a ticket upstream we can link to? Let's add it to #561.

I'll add #21442 , but it's not exactly related to this issue.
We need a new ticket for this.

@Geod24
Copy link
Collaborator

Geod24 commented Dec 7, 2020

No ticket upstream yet, because it's not an upstream bug. It's merely an enhancement, and unrelated to 21442 (although it might have made the issue more obvious).

@AndrejMitrovic
Copy link
Contributor

I'll add #21442

I already added that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C.Blockchain An issue related to general blockchain issues Story-Points:13 This takes > 7 days to complete type-bug Things don't work as they were intended to, or the way they were intended to work doesn't make sense
Projects
None yet
Development

No branches or pull requests

4 participants