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

assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed #2479

Open
1 of 2 tasks
iridesc opened this issue Sep 7, 2023 · 12 comments
Open
1 of 2 tasks

assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed #2479

iridesc opened this issue Sep 7, 2023 · 12 comments
Assignees
Labels
bug Something isn't working inactive customer 90 days wont reply

Comments

@iridesc
Copy link

iridesc commented Sep 7, 2023

Bambu Studio Version

Bambu_Studio_linux_ubuntu-v01.07.04.52_538e9789b3d4e6c6dfd560cdb229231e.AppImage

Where is the application from?

Bambu Lab github releases

OS version

DISTRIB_ID="ManjaroLinux" DISTRIB_RELEASE="23.0.0" DISTRIB_CODENAME="Uranos" DISTRIB_DESCRIPTION="Manjaro Linux"

Additional system information

Linux ird-ms7a40 6.1.49-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sun Aug 27 23:08:04 UTC 2023 x86_64 GNU/Linux

Printer

p1p

How to reproduce

  1. download https://objects.githubusercontent.com/github-production-release-asset-2e65be/511797274/03a93af5-bf54-47f9-8de3-ad7e8f84a2c2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20230907%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230907T171357Z&X-Amz-Expires=300&X-Amz-Signature=99a43e9966e87f10541353bd107f0dfa1eb94d531805f645b0b1352f28505d86&X-Amz-SignedHeaders=host&actor_id=26148052&key_id=0&repo_id=511797274&response-content-disposition=attachment%3B%20filename%3DBambu_Studio_linux_ubuntu-v01.07.04.52.AppImage&response-content-type=application%2Foctet-stream
  2. chmod +x Bambu_Studio_linux_ubuntu-v01.07.04.52_538e9789b3d4e6c6dfd560cdb229231e.AppImage
  3. ./Bambu_Studio_linux_ubuntu-v01.07.04.52_538e9789b3d4e6c6dfd560cdb229231e.AppImage

Actual results

error result in current user:
image

with sudo have some error printing but working fine:
image

Expected results

like with sudo

Project file & Debug log uploads

[2023-09-08 01:14:58.133203] [0x00007fabedef7480] [trace] Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1

(process:31433): GLib-GObject-CRITICAL **: 01:14:58.280: invalid (NULL) pointer instance

(process:31433): GLib-GObject-CRITICAL **: 01:14:58.281: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Checklist of files to include

  • Log file
  • Project file
@iridesc iridesc added the bug Something isn't working label Sep 7, 2023
@iridesc
Copy link
Author

iridesc commented Sep 12, 2023

update: after rm -rf .config/BambuStudio it`s started. but when i login, the it's get stuck and exited.... the OrcaSlicer got the same problem. guess i have to use it without login for now.

@randerzander
Copy link

I have the same issue using Bambu_Studio_linux_ubuntu-v01.07.04.52.AppImage

@viveksood97
Copy link

I am having the same issue

@Achllle
Copy link

Achllle commented Nov 4, 2023

Same with 1.7.7.89. Removing ~/.config/BambuStudio did not fix it for me, failing instead with a SegFault

(bambu-studio:164207): Gtk-CRITICAL **: 11:43:42.824: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
EGLDisplay Initialization failed: EGL_BAD_ACCESS
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)
Segmentation fault (core dumped)

@noisersup
Copy link

Same here

@lanewei120
Copy link
Collaborator

which OS are you using @noisersup @Achllle @randerzander @viveksood97 ?

wad the homepage shown when crashed?
and if yes, did you click login?

thanks

@Achllle
Copy link

Achllle commented Nov 6, 2023

I'm on Ubuntu 22.04. The app does not launch, only the following message is shown:

To manually specify the system certificate store, set the SSL_CERT_FILE environment variable to the correct CA 

Once you select 'yes', it crashes.

@deftdawg
Copy link
Contributor

deftdawg commented Nov 22, 2023

@Achllle It's basically crashing as soon as the dialog closes and bambu-studio tries to start doing EGL/OpenGL graphical rendering

Can you run gdb and check if you're also seg-faulting on this function on ImFont::CalcTextSizeA like I am seeing on NixOS:

# Open a gnome-terminal, konsole or xterm
sudo apt install -y gdb # Install GNU Debugger
echo -e "run\nbt\n\n" | LC_ALL=C gdb bambu-studio # Run bambu-studio inside GDB and dump the backtrace

NOTE: You might have to change bambu-studio to be the path to your AppImage or where-ever you're running it from

@deftdawg
Copy link
Contributor

@Achllle the problem I described with EGL/OpenGL has been resolved in the NixOS's bambu-studio PR based on some fixes upstream in prusa slicer to do with overriding the defaults for wgtk3.1... No idea if that was your issue though, as you didn't reply. 😆

@BambulabRobot BambulabRobot added the inactive customer 90 days wont reply label Aug 6, 2024
@BambulabRobot
Copy link

This issue has been marked as inactive due to no response for 90 days.

@lanewei120
Copy link
Collaborator

Hello guys,

Do you still has this issue?

@j4k0xb
Copy link

j4k0xb commented Aug 12, 2024

Do you still has this issue?

I came across the same error today and the root cause was an empty .config/BambuStudio/BambuStudio.conf file (probably interrupted while saving).
Deleting the whole directory fixed everything (including login).

To reproduce:

mv BambuStudio.conf BambuStudio.conf.bak
touch BambuStudio.conf
bambu-studio
[2024-08-12 18:48:16.615045] [0x00007f88ee912480] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1

(process:21697): GLib-GObject-CRITICAL **: 18:48:16.646: invalid (NULL) pointer instance

(process:21697): GLib-GObject-CRITICAL **: 18:48:16.646: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

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

No branches or pull requests

10 participants