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

Bambu Studio instant segfault when i try and view the camera #2981

Open
2 tasks done
jasonblewis opened this issue Nov 28, 2023 · 11 comments
Open
2 tasks done

Bambu Studio instant segfault when i try and view the camera #2981

jasonblewis opened this issue Nov 28, 2023 · 11 comments
Assignees
Labels
bug Something isn't working connection connection and liveview issue Waiting response Waiting more information from user

Comments

@jasonblewis
Copy link

Bambu Studio Version

BambuStudio_linux_ubuntu_v01.08.00.62-20231123075101.AppImage

Where is the application from?

Bambu Lab github releases

OS version

Debian 12

Additional system information

(bambu-studio:252356): Gtk-CRITICAL **: 18:25:09.640: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
Segmentation fault
jason@almond:~/Downloads$ ./BambuStudio_linux_ubuntu_v01.08.00.62-20231123075101.AppImage

Printer

Bambu P1S with AMS

How to reproduce

click on the device tab
click the green play button to view the camera
app segfaults immediatly

(bambu-studio:261874): Gtk-CRITICAL **: 18:42:43.227: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
Segmentation fault
jason@almond:~/Downloads$ 

Actual results

app segfaults

(bambu-studio:261874): Gtk-CRITICAL **: 18:42:43.227: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
Segmentation fault
jason@almond:~/Downloads$ 

Expected results

app should show me the camera view

Project file & Debug log uploads

debug_Tue_Nov_28_18_46_23_265968.log.0.gz

crashproject.3mf.gz

Checklist of files to include

  • Log file
  • Project file
@jasonblewis jasonblewis added the bug Something isn't working label Nov 28, 2023
@lanewei120
Copy link
Collaborator

@jasonblewis

how about the fedora image?

we have a known issue #1814 for jpeg version mismatch
could you also help to check your jpeg version used by gstreamer following #1814 (comment)

@aduewel
Copy link

aduewel commented Dec 20, 2023

@lanewei120 I am running debian 12, too:

readelf -d /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstjpeg.so                                                                                                               1 ↵

Dynamic section at offset 0xcd70 contains 32 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libgstreamer-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgobject-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libglib-2.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgstbase-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libgstvideo-1.0.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libjpeg.so.62]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x000000000000000e (SONAME)             Library soname: [libgstjpeg.so]
 0x000000000000000c (INIT)               0x3000
 0x000000000000000d (FINI)               0x9334
 0x0000000000000019 (INIT_ARRAY)         0xdc90
 0x000000000000001b (INIT_ARRAYSZ)       8 (bytes)
 0x000000000000001a (FINI_ARRAY)         0xdc98
 0x000000000000001c (FINI_ARRAYSZ)       8 (bytes)
 0x000000006ffffef5 (GNU_HASH)           0x260
 0x0000000000000005 (STRTAB)             0xdf8
 0x0000000000000006 (SYMTAB)             0x288
 0x000000000000000a (STRSZ)              2960 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000003 (PLTGOT)             0xdfe8
 0x0000000000000002 (PLTRELSZ)           2736 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x1dd8
 0x0000000000000007 (RELA)               0x1af0
 0x0000000000000008 (RELASZ)             744 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffb (FLAGS_1)            Flags: NODELETE
 0x000000006ffffffe (VERNEED)            0x1a80
 0x000000006fffffff (VERNEEDNUM)         2
 0x000000006ffffff0 (VERSYM)             0x1988
 0x000000006ffffff9 (RELACOUNT)          26
 0x0000000000000000 (NULL)               0x0

Starting video with ubuntu image fails:

[1]    1253416 segmentation fault  ./BambuStudio_linux_ubuntu_v01.08.02.56-20231213.AppImage

Fedora app image works! THANKS!
image

@ddirector51
Copy link

I am having the same issue as described by @jasonblewis when the ticket was created.

@bambu123
Copy link
Collaborator

@jasonblewis @ddirector51 @aduewel
Can you help me call practice run with gdb in the console to get more error messages?

@ddirector51
Copy link

ddirector51 commented Dec 25, 2023 via email

@aduewel
Copy link

aduewel commented Jan 1, 2024

@bambu123
short:

gdb BambuStudio_linux_ubuntu_v01.08.02.56-20231228.AppImage
...
Thread 1642 "source:src" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffc8fb7d6c0 (LWP 174053)]
____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:167
167	../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: No such file or directory.
(gdb) bt
#0  ____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:167
#1  0x834dc2db5d8dbc3c in  ()

Full output: gdb_BambuStudio_linux_ubuntu_v01.08.02.56-20231228.AppImage.txt

Let me know if you need more information. I am not that experienced with gdb, but I can offer a call/screen sharing session.

@bambu123
Copy link
Collaborator

bambu123 commented Jan 2, 2024

@bambu123 short:

gdb BambuStudio_linux_ubuntu_v01.08.02.56-20231228.AppImage
...
Thread 1642 "source:src" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffc8fb7d6c0 (LWP 174053)]
____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:167
167	../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: No such file or directory.
(gdb) bt
#0  ____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:167
#1  0x834dc2db5d8dbc3c in  ()

Full output: gdb_BambuStudio_linux_ubuntu_v01.08.02.56-20231228.AppImage.txt

Let me know if you need more information. I am not that experienced with gdb, but I can offer a call/screen sharing session.

It seems to be an inconsistency issue with the JPEG library.
the same as #1814
and #1665 (comment)

could you have a check in the above issues?

@aduewel
Copy link

aduewel commented Jan 2, 2024

Yes, already did this and also commented there. ;)

Would it be possible to include the jpeglib to the appimage?

@lanewei120
Copy link
Collaborator

how about using this flatpat image
https://flathub.org/apps/com.bambulab.BambuStudio

@SaltWei SaltWei added the connection connection and liveview issue label Jan 18, 2024
@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 lanewei120 added Waiting response Waiting more information from user and removed inactive customer 90 days wont reply labels Aug 8, 2024
@lanewei120 lanewei120 assigned MackBambu and unassigned bambu123 Aug 8, 2024
@lanewei120
Copy link
Collaborator

Yes, already did this and also commented there. ;)

Would it be possible to include the jpeglib to the appimage?

jpeglib is included by gstreamer, which is conflict with the one included in bambustudio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working connection connection and liveview issue Waiting response Waiting more information from user
Projects
None yet
Development

No branches or pull requests

8 participants