Comments (23)
Once I'm home, I'll prepare a special build of Nicotine+ that you can run in the console/terminal. The console output should hopefully provide some insight into the issue.
from nicotine-plus.
Try the windows-*-package build at the bottom of this page: https://github.com/mathiascode/nicotine-plus/actions/runs/6016923293
In case you don't know how to run it in the console: extract the zip, navigate to the Nicotine+\
subfolder the extracted folder, type cmd
in the Windows Explorer path bar, and run Nicotine+.exe
.
Once Nicotine+ starts, enable debug logging (all categories, see instructions here: https://nicotine-plus.org/doc/DEVELOPING.html#debug-logging). When Nicotine+ crashes, copy the crash message and a few lines of log output above it (remove any sensitive information such as usernames and IP addresses).
from nicotine-plus.
Good catch, I can confirm Nicotine+ crashes when I unplug an external monitor. Seems like a GTK 4 bug, GTK 3 is not affected.
from nicotine-plus.
@slook @mathiascode I've set up that one build with console output on another laptop that I don't connect to any external screens and it's been running smoothly so far. Also, on the other machine, it survived several power events such as hibernation and standby modes.
So far the only thing that I know that has caused Nicotine to silently crash is external monitor disconnection, nothing else has caused a dent, so I believe I can stop investigating.
from nicotine-plus.
A fix will be available soon: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6412
from nicotine-plus.
Have you had the same issue also occur with the current stable version of Nicotine+ 3.2.9 for Windows?
from nicotine-plus.
Have you had the same issue also occur with the current stable version of Nicotine+ 3.2.9 for Windows?
I think so, but I haven't used that version for long enough.
from nicotine-plus.
Windows fatal exception: access violation
Thread 0x00002870 (most recent call first):
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2624 in run
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 995 in _bootstrap
Thread 0x0000359c (most recent call first):
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/cli.py", line 82 in _handle_prompt
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/cli.py", line 44 in run
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 995 in _bootstrap
Thread 0x0000b17c (most recent call first):
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/events.py", line 324 in _run_scheduler
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 975 in run
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 995 in _bootstrap
Current thread 0x000061e4 (most recent call first):
File "C:/msys64/mingw64/lib/python3.11/site-packages/gi/overrides/Gio.py", line 42 in run
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/gtkgui/application.py", line 101 in run
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/gtkgui/__init__.py", line 106 in run
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/__init__.py", line 211 in run
File "D:/a/nicotine-plus/nicotine-plus/nicotine", line 34 in load_module
File "D:/a/nicotine-plus/nicotine-plus/nicotine", line 38 in <module>
File "C:/msys64/mingw64/lib/python3.11/site-packages/cx_Freeze/initscripts/console.py", line 16 in run
File "C:/msys64/mingw64/lib/python3.11/site-packages/cx_Freeze/initscripts/__startup__.py", line 124 in run
from nicotine-plus.
and a few lines of log output above it
The logs were completely uninteresting, simply a lot of attempt to allocate GtkBox box 000001da59f0ed70 with width 1 and height -46
caused by minimizing the window
from nicotine-plus.
I haven't been able to reproduce the issue yet, but I have some questions to hopefully narrow this down a bit:
- Are you uploading or downloading anything when the crash happens?
- Have you joined any chatrooms?
- Do you have any items in your wishlist?
- Does Nicotine+ crash when you're disconnected from the server (Menu -> Disconnect)?
- Are you able to reproduce the issue with a fresh installation/config (completing the Setup Assistant and letting Nicotine+ run)?
from nicotine-plus.
- Are you uploading or downloading anything when the crash happens?
I don't think so. At least nothing that I have initiated.
- Have you joined any chatrooms?
I don't think so. Not intentionally at least.
- Do you have any items in your wishlist?
Yes, many.
- Does Nicotine+ crash when you're disconnected from the server (Menu -> Disconnect)?
No idea.
- Are you able to reproduce the issue with a fresh installation/config (completing the Setup Assistant and letting Nicotine+ run)?
I can try! I'll delete my config file (after backing it up) and do the setup assistant and let it do its thing
from nicotine-plus.
Thanks! Another thing I remembered is that a notification bubble appears when new wishlist results are found. It could also be worth checking if those are causing issues.
The easiest way to test this would probably be to temporarily join one of the popular rooms (e.g. nicotine), and enable chatroom notifications in Preferences -> User Interface.
from nicotine-plus.
Thanks! Another thing I remembered is that a notification bubble appears when new wishlist results are found. It could also be worth checking if those are causing issues.
The easiest way to test this would probably be to temporarily join one of the popular rooms (e.g. nicotine), and enable chatroom notifications in Preferences -> User Interface.
Just did this, no issues whatsoever.
For what it's worth, the Nicotine crash that I logged happened around 1 AM UTC
from nicotine-plus.
Here's what I'll do, I'll take the newly made config file, but migrate entries that I feel are safe from the old one, and then leave that running
from nicotine-plus.
Sure.
The logs were completely uninteresting, simply a lot of
attempt to allocate GtkBox box 000001da59f0ed70 with width 1 and height -46
caused by minimizing the window
This looks like https://gitlab.gnome.org/GNOME/gtk/-/issues/5724
from nicotine-plus.
Windows fatal exception: access violation
Thread 0x000054d8 (most recent call first):
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/slskproto.py", line 2624 in run
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 995 in _bootstrap
Thread 0x00009948 (most recent call first):
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/cli.py", line 82 in _handle_prompt
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/cli.py", line 44 in run
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 995 in _bootstrap
Thread 0x00005740 (most recent call first):
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/events.py", line 324 in _run_scheduler
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 975 in run
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 1038 in _bootstrap_inner
File "C:/msys64/mingw64/lib/python3.11/threading.py", line 995 in _bootstrap
Current thread 0x000014a0 (most recent call first):
File "C:/msys64/mingw64/lib/python3.11/site-packages/gi/overrides/Gio.py", line 42 in run
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/gtkgui/application.py", line 101 in run
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/gtkgui/__init__.py", line 106 in run
File "D:/a/nicotine-plus/nicotine-plus/pynicotine/__init__.py", line 211 in run
File "D:/a/nicotine-plus/nicotine-plus/nicotine", line 34 in load_module
File "D:/a/nicotine-plus/nicotine-plus/nicotine", line 38 in <module>
File "C:/msys64/mingw64/lib/python3.11/site-packages/cx_Freeze/initscripts/console.py", line 16 in run
File "C:/msys64/mingw64/lib/python3.11/site-packages/cx_Freeze/initscripts/__startup__.py", line 124 in run
Program just died the moment I unplugged an external monitor
from nicotine-plus.
Reported upstream: https://gitlab.gnome.org/GNOME/gtk/-/issues/6080
from nicotine-plus.
I think, unless something else happens, this might actually be the "unpredictable" cause of my initial report because I was just not expecting monitor unplugs to kill applications
I'll keep launching in a cmd window and seeing if something else happens
from nicotine-plus.
It might be triggered not only by unplugging the monitor, but also by power saving and other events.
Perhaps there might also be some events logged about it in the Windows Event Viewer.
from nicotine-plus.
It might be triggered not only by unplugging the monitor, but also by power saving and other events.
Perhaps there might also be some events logged about it in the Windows Event Viewer.
Feel free to let me know what exactly I'm supposed to click and report in the event viewer and I'll provide relevant things if they're there
from nicotine-plus.
Not sure exactly. It will just be any relevant looking Warning or Information system/application administrative events with timestamps that coincide with when the crash occurs. There may of course be none, and the Windows NT kernel event logger is prone to producing unhelpful garbage.
Reported upstream: https://gitlab.gnome.org/GNOME/gtk/-/issues/6080
added
GdkMonitor
label
from nicotine-plus.
Error
\lib\libgobject-2.0-0.dll, Version: 2.76.4.0, exception code 0xc0000005
2 seconds later, APPCRASH and error
\lib\libgobject-2.0-0.dll, Version: 2.76.4.0, exception code 0xc000041d
1 second later, APPCRASH
from nicotine-plus.
Should be fixed in the latest development build.
from nicotine-plus.
Related Issues (20)
- Found another bug
- New error ive never experienced HOT 2
- Appimage download HOT 4
- Can you incorporate the autoban feature into the Leech Detector from this other (abandoned) Leech plugin? HOT 1
- Incorporate A Language Translator For (at least) CHATS! HOT 1
- Ability to see user's client & version in PROFILE HOT 1
- Arbitrary Critical Error HOT 3
- Scrolling performance suddenly abysmal (again) HOT 6
- Can't access "Format Codes" link in settings through left mouse click on 3.3.3 HOT 1
- Sometimes, Nicotine+ (3.3.3) window doesn't open on top when other windows already opened full screen on the desktop. HOT 9
- Config search HOT 2
- Nicotine won't connect HOT 4
- Autoclear finished/filtered downloads from transfer list option doesn't work HOT 2
- Nicotine+ refuses to start after installing latest version; "bad magic number" HOT 2
- Add timestamp columns to Uploads and Downloads views HOT 1
- Download Folder in the Search Files tab does nothing HOT 11
- Cant connect to server? HOT 2
- Crash on Mac OS Monterey 12.7.5 (Intel) - Nicotine+ Version: 3.3.5.dev1 HOT 4
- Crash on load, Nicotine+ 3.3.4 mingw x86_64 (Fixed) HOT 5
- Remove/clear HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nicotine-plus.