andru-kun / wildrig-multi

multi algo miner for AMD, NVIDIA and Intel gpu's
251 stars 51 forks source link

Segfault/core dump at shutdown #74

Open Liniya opened 3 years ago

Liniya commented 3 years ago

Wildrig doesn't seem to exit gracefully on my machine, always closes with a segfault (mining itself seems fine). One thing I'm not sure about is whether I have all the required dependencies because I'm not seeing a list of those here. Off the bat, I've only installed ocl-icd and opencl-nvidia.

PC specs: Manjaro KDE, Nvidia GeForce 1030

Nov 13 09:53:33 hikaru-pc systemd-coredump[5143]: [🡕] Process 5125 (wildrig-multi) of user 1000 dumped core.

                                                  Found module /usr/lib/libnvidia-compiler.so.470.63.01 with build-id: 198d2d90ecb833dcf6347c688ea2474664a1229c
                                                  Found module /usr/lib/libnss_resolve.so.2 with build-id: 73f8ff308722aa502c4a598b911171351cad9fb5
                                                  Found module /usr/lib/libcuda.so.470.63.01 with build-id: e20f06f63dc8324740a14ce8936b3b88898edb15
                                                  Found module /usr/lib/libnvidia-opencl.so.470.63.01 with build-id: 494131844618d2bd4dbb68ef2e2c018151110769
                                                  Found module /usr/lib/libicudata.so.69.1 with build-id: 0ab994a49ef1848499c4af333b3266f28432a922
                                                  Found module /usr/lib/libLLVM-12.so with build-id: d1f4954a30a9c39d86e0b944607e0ca8020d651e
                                                  Found module /usr/lib/libclang-cpp.so.12 with build-id: 70946222923ac260b1adc2a2015667fe2b7d5f82
                                                  Found module [dso] without build-id.
                                                  Found module linux-vdso.so.1 with build-id: 21dd0b95b6d40459fda840e512d3ee4b5e26d389
                                                  Stack trace of thread 5125:
                                                  #0  0x00007f7c5ce6a662 n/a ([dso] + 0x13f9662)
                                                  #1  0x00007f7c5cfa6bad n/a ([dso] + 0x1535bad)

Core dump (Google Drive)

Liniya commented 3 years ago

Should have clarified, but this only seems to happen when I do Ctrl+C (during the GPU shutting down message), and doesn't occur if I simply close the terminal window.

andru-kun commented 3 years ago

Thanks for report. I will try to look on this.