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

Somehow gop stuff is being #132

Open
PerilousApricot opened this issue Oct 12, 2016 · 7 comments
Open

Somehow gop stuff is being #132

PerilousApricot opened this issue Oct 12, 2016 · 7 comments

Comments

@PerilousApricot
Copy link
Member

Sometime in to a long-running process, it appears gop is being initialized after already being initialized once:

Thread 1 (Thread 0x7f87c8ff1700 (LWP 26243)):
#0  0x00007f87ea7e1bd0 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f87df87c680 in tbx_pch_reserve (pc=0x7f87ef52c1f0) at /home/meloam/lstore/src/toolbox/pigeon_coop.c:224
#2  0x00007f87dfabae64 in gop_init (gop=0x7f879c0008c0) at /home/meloam/lstore/src/gop/gop.c:690
#3  0x00007f87dfac244b in init_opque (q=0x7f879c0008c0) at /home/meloam/lstore/src/gop/opque.c:241
#4  0x00007f87dfac25db in gop_opque_new () at /home/meloam/lstore/src/gop/opque.c:269
#5  0x00007f87dfd06ead in amp_dirty_thread (th=0x7f87ef640aa8, data=0x7f87ef63f660)
    at /home/meloam/lstore/src/lio/cache/amp.c:249
#6  0x00007f87ea7dfdc5 in start_thread () from /lib64/libpthread.so.0
#7  0x00007f87ec3a7ced in clone () from /lib64/libc.so.6

That lock somehow causes a deadlock in the process. I haven't quite had time to hunt down how that's slipping through, the init stuff happens on module load, and shouldn't be hit again, AFAICT

@tacketar
Copy link
Contributor

tacketar commented Oct 12, 2016 via email

@tacketar
Copy link
Contributor

tacketar commented Oct 12, 2016 via email

@PerilousApricot
Copy link
Member Author

I put it in /lio/lfs/cms/store/user/meloam/core-oct12

@tacketar
Copy link
Contributor

tacketar commented Oct 12, 2016 via email

@PerilousApricot
Copy link
Member Author

PerilousApricot commented Oct 12, 2016 via email

@tacketar
Copy link
Contributor

tacketar commented Oct 12, 2016 via email

@PerilousApricot
Copy link
Member Author

PerilousApricot commented Oct 12, 2016 via email

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

2 participants