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

Watching camera causes a crash #2065

Open
itsonlymedan opened this issue Jul 16, 2023 · 11 comments
Open

Watching camera causes a crash #2065

itsonlymedan opened this issue Jul 16, 2023 · 11 comments
Assignees

Comments

@itsonlymedan
Copy link

Currently using the latest version of the Beta of Bambu Studio.

When watching the camera too long it causes Bambu Studio to crash this is with both of my P1P's.

If I am watching the camera for a period of time or if the print finishes while watching the camera Bambu Studio crashes

@bambu123
Copy link
Collaborator

@redlinebikeparts Please send me the logs include the .dmp files in the log folder.

@WayneManion
Copy link

I have never been able to get the camera stream to work in BambuStudio (or OrcaSlicer). I have a P1P and I run Arch Linux. I have tried the Ubuntu AppImage, the Fedora AppImage, and the Arch User Repo (AUR) version of BambuStudio (built from source). I have also tried the different OrceSlicer AppImages and the build-from-source and precompiled binary versions available in AUR.

I am currently running the Fedora AppImage 1.7.0 Beta 2. When I try to view the camera feed the app crashes immediately. In past versions the stream has always failed, but the window has typically stayed open.

I didn't see any .dmp files in ~/.config/BambuStudio/log. The log files from today are here:

https://pastebin.com/3ACL8qjE
https://pastebin.com/RsEWgYCv
https://pastebin.com/mPNMcyeF
https://pastebin.com/wJUJG3mw

@itsonlymedan
Copy link
Author

@redlinebikeparts Please send me the logs include the .dmp files in the log folder.

how do i do that?

@bambu123
Copy link
Collaborator

bambu123 commented Jul 23, 2023 via email

@bambu123
Copy link
Collaborator

@redlinebikeparts
I think you are in windows system.
For linux, please help debug with gdb, send back the crash stack.

To do:

$ gdb Bambu_Studio_linux_ubuntu_vXXX.AppImage
run
bt

please input the 'run' command in gdb. then when it stops on a crash, input the 'bt' command.
then send the console output back here.

@WayneManion
Copy link

I tried my best to follow the instructions.

Captured console log output: https://pastebin.com/ck42fd5G

This came from opening the app, switching to the Device tab, then clicking the Play button for the camera.

@bambu123
Copy link
Collaborator

It seems to be an issue with the jpeg library which is not compatible.

Thread 199 "source:src" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffdcedc76c0 (LWP 41841)]
____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:168
168 jmpq *%rdx
�[?2004h�[?2004l
�[?2004h(gdb) bt
�[?2004l
#0 ____longjmp_chk ()
at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:168
#1 0xb3179467f25fcdd8 in ()

@lanewei120
Copy link
Collaborator

the same as #1814
and #1665 (comment)

@WayneManion @redlinebikeparts

could you have a check in the above issues?

@itsonlymedan
Copy link
Author

image

Which file to put here?

@WayneManion
Copy link

WayneManion commented Aug 1, 2023

I am running Arch. I am running the AUR package (built from source) from here: https://aur.archlinux.org/packages/bambustudio-git

The application doesn't crash when I click the play button to view the camera stream, but I can't see any video either. It just says:

Loading Failed [2]!

The gdb logs from running the built-from-source version of the app is here: https://pastebin.com/bhUK8JAh

@Polsaker
Copy link

I'm seeing the same error in Arch Linux with the latest fedora appimage. Here's what i managed to capture with gdb:

Thread 278 "source:src" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffda0bff6c0 (LWP 1584553)]
____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:168
Downloading source file /usr/src/debug/glibc/glibc/debug/../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
168             jmpq    *%rdx                                                                             
(gdb) bt
#0  ____longjmp_chk () at ../sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S:168
#1  0x53e4ef590606223a in  ()

It happens as soon as I try to start watching the camera feed.

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

5 participants