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

Errors on WSL2 when choosing class type #5

Open
tanzhanbo opened this issue Jul 17, 2024 · 0 comments
Open

Errors on WSL2 when choosing class type #5

tanzhanbo opened this issue Jul 17, 2024 · 0 comments

Comments

@tanzhanbo
Copy link

Dear Zhi,

Thank you for sharing this awesome work! I've downloaded it and followed the instructions to run python software/main.py on Anaconda installed in WSL2. I can normally open, drag and zoom the images. I can also add new classes in the "Active Learning" page, but every time I click the button (circled in the following picture) to choose the type, the program will immediately get error and exit. The window of the software will also get stuck, which can only be closed by task manager.
button

What's more weird is that the error message varies. I've tried several times and discovered four types of error message:

QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
QLayout: Attempting to add QLayout "" to QWidget "centralwidget", which already has a layout
qt.webenginecontext: 

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.1
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name main.py
  *  browser-subprocess-path /home/tanzhanbo/anaconda3/envs/nuclei.io/lib/python3.10/site-packages/PySide6/Qt/libexec/QtWebEngineProcess
  *  create-default-gl-context
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  *  disable-setuid-sandbox
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  in-process-gpu
  *  use-gl desktop

WebChannel initiated.
****** update_classinfo ******
  classname isVisible         rgbcolor
0     Other         1  [150, 150, 150]
----------------------
Active class:
class_id: 0
class_name: Other
class_color: 150,150,150
----------------------
Browse Folder
double click
Preload all statistics at once.
Found deep learning features (patch=128).
690853 / 774924
Nuclei stat data loaded, took 2.05 seconds.
Total number of nuclei: 690853
No training data.
****** Show Overlay ML
****** Show Overlay Annotation
****** update_classinfo ******
  classname         rgbcolor isVisible
0     Other  [150, 150, 150]         1
1     Other      [255, 0, 0]         1
----------------------
Active class:
class_id: 1
class_name: Other
class_color: 255,0,0
----------------------
Segmentation fault
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
QLayout: Attempting to add QLayout "" to QWidget "centralwidget", which already has a layout
qt.webenginecontext: 

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.1
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name main.py
  *  browser-subprocess-path /home/tanzhanbo/anaconda3/envs/nuclei.io/lib/python3.10/site-packages/PySide6/Qt/libexec/QtWebEngineProcess
  *  create-default-gl-context
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  *  disable-setuid-sandbox
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  in-process-gpu
  *  use-gl desktop

WebChannel initiated.
****** update_classinfo ******
  classname isVisible         rgbcolor
0     Other         1  [150, 150, 150]
----------------------
Active class:
class_id: 0
class_name: Other
class_color: 150,150,150
----------------------
Browse Folder
double click
Preload all statistics at once.
Found deep learning features (patch=128).
690853 / 774924
Nuclei stat data loaded, took 2.57 seconds.
Total number of nuclei: 690853
No training data.
****** Show Overlay ML
****** Show Overlay Annotation
****** update_classinfo ******
  classname         rgbcolor isVisible
0     Other  [150, 150, 150]         1
1     Other      [255, 0, 0]         1
----------------------
Active class:
class_id: 1
class_name: Other
class_color: 255,0,0
----------------------
malloc(): unsorted double linked list corrupted
Aborted
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
QLayout: Attempting to add QLayout "" to QWidget "centralwidget", which already has a layout
qt.webenginecontext: 

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.1
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name main.py
  *  browser-subprocess-path /home/tanzhanbo/anaconda3/envs/nuclei.io/lib/python3.10/site-packages/PySide6/Qt/libexec/QtWebEngineProcess
  *  create-default-gl-context
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  *  disable-setuid-sandbox
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  in-process-gpu
  *  use-gl desktop

WebChannel initiated.
****** update_classinfo ******
  classname isVisible         rgbcolor
0     Other         1  [150, 150, 150]
----------------------
Active class:
class_id: 0
class_name: Other
class_color: 150,150,150
----------------------
Browse Folder
double click
Preload all statistics at once.
Found deep learning features (patch=128).
690853 / 774924
Nuclei stat data loaded, took 2.31 seconds.
Total number of nuclei: 690853
No training data.
****** Show Overlay ML
****** Show Overlay Annotation
****** Show Overlay ML
****** Show Overlay Annotation
****** Show Overlay ML
****** Show Overlay Annotation
****** Show Overlay ML
****** Show Overlay Annotation
****** Show Overlay ML
****** Show Overlay Annotation
pressImage
left click
****** Show Overlay ML
****** Show Overlay Annotation
****** update_classinfo ******
  classname         rgbcolor isVisible
0     Other  [150, 150, 150]         1
1     Other      [255, 0, 0]         1
----------------------
Active class:
class_id: 1
class_name: Other
class_color: 255,0,0
----------------------
corrupted double-linked list
Aborted
QStandardPaths: wrong permissions on runtime directory /run/user/1000/, 0755 instead of 0700
qt.core.qobject.connect: QObject::connect: No such signal QPlatformNativeInterface::systemTrayWindowChanged(QScreen*)
QLayout: Attempting to add QLayout "" to QWidget "centralwidget", which already has a layout
qt.webenginecontext: 

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.1
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name main.py
  *  browser-subprocess-path /home/tanzhanbo/anaconda3/envs/nuclei.io/lib/python3.10/site-packages/PySide6/Qt/libexec/QtWebEngineProcess
  *  create-default-gl-context
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture
  *  disable-setuid-sandbox
  *  disable-speech-api
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess
  *  enable-threaded-compositing
  *  in-process-gpu
  *  use-gl desktop

WebChannel initiated.
****** update_classinfo ******
  classname isVisible         rgbcolor
0     Other         1  [150, 150, 150]
----------------------
Active class:
class_id: 0
class_name: Other
class_color: 150,150,150
----------------------
Browse Folder
double click
Preload all statistics at once.
Found deep learning features (patch=128).
690853 / 774924
Nuclei stat data loaded, took 3.01 seconds.
Total number of nuclei: 690853
No training data.
****** Show Overlay ML
****** Show Overlay Annotation
****** update_classinfo ******
  classname         rgbcolor isVisible
0     Other  [150, 150, 150]         1
1     Other      [255, 0, 0]         1
----------------------
Active class:
class_id: 1
class_name: Other
class_color: 255,0,0
----------------------
malloc(): unsorted double linked list corrupted
Aborted

I'm not sure if the type of error is related to the operations before clicking the type choosing button. The error occurs in all three given experimental data as well as the data I trained in step 3 and step 4.
I'm running it on WSL2 in Windows 10, 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz 2.42 GHz CPU.

Thanks,
tzb

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

1 participant