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

Assert crash on launch solid_pen_lines num >= 2 #44

Open
SpecificityD3luxe opened this issue Oct 11, 2024 · 5 comments
Open

Assert crash on launch solid_pen_lines num >= 2 #44

SpecificityD3luxe opened this issue Oct 11, 2024 · 5 comments

Comments

@SpecificityD3luxe
Copy link

Hello, thanks for a great way to run notepad-plus-plus!

A couple of days ago I did an update of the snap and I started getting this on launch:

a couple of these
ERROR: ld.so: object '/snap/notepad-plus-plus/409/gnome-platform/$LIB/bindtextdomain.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

and then
notepad-plus-plus.exe: dlls/win32u/dibdrv/objects.c:812: solid_pen_lines: Assertion `num >= 2' failed.

I couldn't find this solid_pen_lines anywhere in your git log, so I assume some new thing platform, core, wine, something that you switched to has a dependency that I am not aware of.

I am on Ubuntu 22.04 and I installed using instructions on this page, worked great before, started crashing recently (unfortunately I dont know which version worked great or how to revert to it, this snap thing only uses stable and edge as versions?)

Cheers ...

@fcazorla
Copy link

fcazorla commented Oct 28, 2024

Hello,

I'm facing the same problem, same ignored error messages about bindtextdomain.so, then the application window briefly shows up, and it crashes instantly showing exactly the same message about solid_pen_lines assertion.

It also happened after the last snap app update, in my case on Ubuntu 24.04.

I think it's worth to mention that when the app window appears for a fraction of a second, I can see the menu's buttons and the tabs of my previously opened files with their content, so the app (I guess almost) finished loading before crashing.

Just in case it helps... Thanks!

@mmtrt
Copy link
Owner

mmtrt commented Nov 2, 2024

Try fresh install of snap with snap data removed following this

@SpecificityD3luxe
Copy link
Author

Removing previous stuff works, it gets notepad-plus-plus starting ok.

I can still get it to crash though, if I go into setting and select dark mode, that throws me out again with same error.

So, maybe the issue was triggered by settings? When I started it with settings from before, it will crash, but starting with default settings after purge is enough to get it up?

I can avoid that setting obviously, but might also get triggered by more things than just dark mode?

Cheers ...

@fcazorla
Copy link

fcazorla commented Nov 4, 2024

Yep, complete uninstall and reinstall worked for me too.

But I had made a copy of the settings in snap app .wine dir (drive_c/Users/<my_user>/AppLocal/Roaming/Notepad++). After restoring old settings it crushed again with the same error and it turns out I also had Dark Mode theme in my previous setup.

So yes it must have to do with that. Thanks for the tip tho, I could make it work again :)

@mmtrt
Copy link
Owner

mmtrt commented Nov 4, 2024

That seems to be wine issue though I can reproduce with wine devel 9.20 AppImage as well.

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

3 participants