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

Ducktape Editor does not launch on Ubuntu #179

Open
AshishKingdom opened this issue Aug 9, 2023 · 2 comments
Open

Ducktape Editor does not launch on Ubuntu #179

AshishKingdom opened this issue Aug 9, 2023 · 2 comments

Comments

@AshishKingdom
Copy link
Contributor

Describe the bug
Ducktape Editor does not launch on Ubuntu

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repo
  2. Build the files
  3. Start 'DucktapeEditor'
  4. The program crashes immediately

Expected behavior
The editor should run fine without crashing.

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu-22.04.2 LTS
  • OS-Type: 64bit
@aryanbaburajan
Copy link
Member

Interesting, this is most likely related to the broken code currently pushed to main. I suggest you retry once I fix that. (I'll update you). But also, could you debug the app, in the same directory, and post the output here?
gdb DucktapeEditor
run
then once the program crashes, bt for backtrace. Please do post the output here.

@AshishKingdom
Copy link
Contributor Author

Here it is

Reading symbols from DucktapeEditor...
(gdb) run
Starting program: /media/ashishkingdom/Games n Stuff/Ashish-DEV/Bedroom/Projects/Ducktape/Build/DucktapeEditor 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[LOG] ResourceManager Constructed
42
[LOG] ContextPtr Initialized
[New Thread 0x7fffea87e640 (LWP 23540)]
[New Thread 0x7fffea07d640 (LWP 23541)]
[New Thread 0x7fffe987c640 (LWP 23542)]
[New Thread 0x7fffe907b640 (LWP 23543)]
[New Thread 0x7fffe887a640 (LWP 23544)]
[New Thread 0x7fffd3fff640 (LWP 23545)]
[New Thread 0x7fffcbfff640 (LWP 23546)]
[New Thread 0x7fffd37fe640 (LWP 23547)]
[New Thread 0x7fffd2ffd640 (LWP 23548)]
[New Thread 0x7fffd27fc640 (LWP 23549)]
[New Thread 0x7fffd1ffb640 (LWP 23550)]
[New Thread 0x7fffd17fa640 (LWP 23551)]
[New Thread 0x7fffd0ff9640 (LWP 23552)]
[New Thread 0x7fffcb7fe640 (LWP 23553)]
[LOG] Created GLFW Window.
[LOG] Initialized GLAD.
[LOG] Window Constructed
[LOG] Loaded shader at /media/ashishkingdom/Games n Stuff/Ashish-DEV/Bedroom/Projects/Ducktape/Resources/Editor/Shaders/Screen.glsl
[LOG] Loaded shader at /media/ashishkingdom/Games n Stuff/Ashish-DEV/Bedroom/Projects/Ducktape/Resources/Editor/Shaders/Skybox.glsl
[LOG] Renderer Constructed
[LOG] Input Constructed
free(): double free detected in tcache 2

Thread 1 "DucktapeEditor" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=140737352574848) at ./nptl/pthread_kill.c:44
44	./nptl/pthread_kill.c: No such file or directory.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737352574848) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737352574848) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737352574848, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff6c42476 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
Backtrace stopped: Cannot access memory at address 0x7fffffffce08
(gdb) 

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

2 participants