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

[BUG TRACKING] Various crashes #7

Closed
Darkpepito opened this issue Jul 8, 2023 · 10 comments · Fixed by #47
Closed

[BUG TRACKING] Various crashes #7

Darkpepito opened this issue Jul 8, 2023 · 10 comments · Fixed by #47
Labels
bug Something isn't working

Comments

@Darkpepito
Copy link

Hello,
I just discovered this app as a flatpak and it is awesome !
But unfortunately, the app just crah when I type certain prompts. For example :
list all files in /home/darkpepito result in a crash.
I use i3 as my main WM but I don't know if it's important.

Here are the specs of my machine :
Dell Latitude-E5470
CPU: Intel cored i5-6300U
GPU: Intel HD graphics 520
16 GB of RAM
OS: Zorin OS 16.2

Thank you for your time !

@qwersyk
Copy link
Owner

qwersyk commented Jul 8, 2023

Thank you, we're glad you enjoyed our app, and thank you for reporting the bug. If you can tell us more about the crashes, the program always crashes during these actions, can provide possible screenshots of chat, and can run the program through the terminal to get the error message (running the command flatpak run io.github.qwersyk.Newelle), the program is very crude and many crashes that I am trying to fix, but can not get the exact cause, because when I test the error happens and not. And once again, thank you very much about the bug report, I will try as much as possible in future versions to fix the error.

@qwersyk qwersyk added the bug Something isn't working label Jul 8, 2023
@Darkpepito
Copy link
Author

Ok I will investigate on my side in the coming days, do you want from me to open new issues each time the crash's cause is different or I just put them in this one ?

@qwersyk
Copy link
Owner

qwersyk commented Jul 9, 2023

Thank you very much, you can put them in this one.

@Darkpepito Darkpepito changed the title [BUG] Crash on certain prompts in i3 [BUG TRACKING] Various crashes Jul 9, 2023
@Darkpepito
Copy link
Author

So, when entering the list files in /home/darkpepito, it returns me this :

(newelle:2): Gtk-CRITICAL **: 13:32:01.054: gtk_text_attributes_ref: assertion 'values != NULL' failed
**
Gtk:ERROR:../gtk/gtktextlayout.c:1261:set_para_values: code should not be reached
Bail out! Gtk:ERROR:../gtk/gtktextlayout.c:1261:set_para_values: code should not be reached

So it seems to be a GTK error, but I have absolutely zero experience with it.

@qwersyk
Copy link
Owner

qwersyk commented Jul 9, 2023

Thank you very much, I will try to remove this error in future versions.

@kumraa-1
Copy link

kumraa-1 commented Jul 21, 2023

I really like the concept of your app but nearly every command that interacts with the system leads to a crash.
I'm running on Fedora 38 and installed the app via Flatpak.

Here's a few examples:
create an empty file in my home folder
(newelle:2): Gtk-CRITICAL **: 08:32:48.124: gtk_text_attributes_ref: assertion 'values != NULL' failed
(newelle:2): Pango-CRITICAL **: 08:32:48.147: pango_tab_array_new: assertion 'initial_size >= 0' failed

Find out my MAC address
(newelle:2): Gtk-CRITICAL **: 08:36:20.603: gtk_text_attributes_ref: assertion 'values != NULL' failed

(newelle:2): Gtk-CRITICAL **: 08:36:20.603: gtk_text_attributes_ref: assertion 'values != NULL' failed

do ls -l of my home folder worked perfectly
follow up command also include the hidden files
(newelle:2): Gtk-CRITICAL **: 08:39:07.646: gtk_text_attributes_ref: assertion 'values != NULL' failed
**
Gtk:ERROR:../gtk/gtktextlayout.c:1261:set_para_values: code should not be reached
Bail out! Gtk:ERROR:../gtk/gtktextlayout.c:1261:set_para_values: code should not be reached

@qwersyk
Copy link
Owner

qwersyk commented Jul 21, 2023

Thank you for your feedback. We're sorry to hear about such failures, we're trying to understand and fix what the problem is, but at the moment I don't know enough about GTK code to understand what the problem is, our code runs on high-level python and this error occurs on lower-level code, I hope more experts will be able to understand what the error is, but thank you very much for your bug report and the error itself.

@Darkpepito
Copy link
Author

If I don't say shit, GTK is the thing to make graphical apps ? If so, had you try to make a command line version ? Or a Qt one ?

@kumraa-1
Copy link

I'm wondering on how and what distro you tested the app for funcionality? I mean this hinders basic functionality.

@FrancescoCaracciolo
Copy link
Collaborator

Just for future reference, the issue was caused by updating the UI in another thread.
Every time a UI update must be done from another thread, the function that does it must be run with GLib.idle_add. This will run the specified function in the UI thread.
It should be mostly fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants