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

ThreadPool segfault #1526

Closed
emanuele-f opened this issue Oct 19, 2017 · 5 comments
Closed

ThreadPool segfault #1526

emanuele-f opened this issue Oct 19, 2017 · 5 comments
Assignees
Labels

Comments

@emanuele-f
Copy link
Contributor

Thread 8 "ntopng" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe7269700 (LWP 9945)]
0x000000000041b6be in ThreadPool::dequeueJob (this=0x8a3820, waitIfEmpty=true) at src/ThreadPool.cpp:130
130	  t = threads.front();
(gdb) backtrace 
#0  0x000000000041b6be in ThreadPool::dequeueJob (this=0x8a3820, waitIfEmpty=true)
    at src/ThreadPool.cpp:130
#1  0x000000000041b570 in ThreadPool::run (this=0x8a3820) at src/ThreadPool.cpp:82
#2  0x000000000041b268 in doRun (ptr=0x8a3820) at src/ThreadPool.cpp:29
#3  0x00007ffff69cf6ba in start_thread (arg=0x7fffe7269700) at pthread_create.c:333
#4  0x00007ffff46c73dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
@ryny24
Copy link

ryny24 commented Oct 19, 2017

Is this the same issue as mine? I upgraded today and it won't run:

probe@cust225-240-78-64:~$ /usr/local/bin/ntopng /etc/ntopng/ntopng.conf >> /var/log/ntopng/ntopng.log
Segmentation fault

I'm trying to downgrade but haven't been able to yet.

@emanuele-f
Copy link
Contributor Author

Hi, if the segfault happens at startup, then it's probably fixed with ccb4c2c . This is a different bug

@ryny24
Copy link

ryny24 commented Oct 19, 2017

Ok I am running again. I was able to downgrade.
sudo dpkg -i ntopng_3.1.171018-3577_amd64.deb
dpkg: warning: downgrading ntopng from 3.1.171019-3590 to 3.1.171018-3577

@emanuele-f
Copy link
Contributor Author

Hi, a new package containing the fix is now available, please update to new version.

This bug should be fixed with commit 2e8be3e

@simonemainardi
Copy link
Contributor

I confirm the issue is fixed as of the latest dev build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants