Closed MegaLoler closed 8 years ago
EDIT: Nevermind, I'm dumb, I didn't copy the res files. x_X
Hi! From freshly compiled source, 64-bit Arch Linux 4.4.5-1, sdl2 2.0.4-2, sdl2_image 2.0.1-1:
$ ./klystrack [DEBUG] Starting klystrack 1.7.0 20160613 [DEBUG] Loading filebox favorites (/home/aardbei/.klystrackfavorites) [DEBUG] Renderer: opengl (Accelerated) [DEBUG] Setting screen mode (scale = 1) [DEBUG] Rendering to texture enabled [DEBUG] Screen size is 640x480 [DEBUG] Window size is 640x480 [DEBUG] init [DEBUG] Enumerating themes at /usr/lib/klystrack/res [WARNING] Could not enumerate themes at /usr/lib/klystrack/res [DEBUG] Enumerating keymaps at /usr/lib/klystrack/key [WARNING] Could not enumerate keymaps at /usr/lib/klystrack/key [DEBUG] undo = (nil) redo = (nil) [DEBUG] init done [DEBUG] Setting screen mode (scale = 1) [DEBUG] Rendering to texture enabled [DEBUG] Screen size is 640x480 [DEBUG] Window size is 640x480 [DEBUG] Setting screen mode (scale = 1) [DEBUG] Rendering to texture enabled [DEBUG] Screen size is 640x480 [DEBUG] Window size is 640x480 [DEBUG] Setting screen mode (scale = 1) [DEBUG] Rendering to texture enabled [DEBUG] Screen size is 640x480 [DEBUG] Window size is 640x480 [DEBUG] Loading theme '/usr/lib/klystrack/res/Default' [WARNING] Can't open bundle '/usr/lib/klystrack/res/Default' [DEBUG] Theme loading failed [DEBUG] Loading filebox favorites (/home/aardbei/.klystrackfavorites) [DEBUG] Reserving 32 Cyd channels [DEBUG] New song [DEBUG] Zap instruments [DEBUG] Zap sequence [DEBUG] Zap FX [DEBUG] Zap wavetable [DEBUG] Changed num_channels = 4 [DEBUG] Reserving 4 Cyd channels [DEBUG] Opening SDL audio [DEBUG] Got 44100 Hz/format 32784/2 channels [DEBUG] SDL_WINDOWEVENT_SIZE_CHANGED 640x480 Segmentation fault (core dumped)
It doesn't make it passed the start screen, the one with the flashy colors. gbd shows this:
Thread 1 "klystrack" received signal SIGSEGV, Segmentation fault. 0x0000000000413d32 in my_draw_view (views=0x446ae0 <classic_view_tab>, _event=0x7ffffff89550, domain=0x7bc7c0) at src/view.c:113 113 memcpy(&mused.console->clip, &area, sizeof(view->position)); (gdb) print mused.console $1 = (Console *) 0x0
It looks like mused.console is empty! I'm not too sure where it's intended to be allocated in the code
Glad that you figured that out. :) It should notify the user more clearly though!
EDIT: Nevermind, I'm dumb, I didn't copy the res files. x_X
Hi! From freshly compiled source, 64-bit Arch Linux 4.4.5-1, sdl2 2.0.4-2, sdl2_image 2.0.1-1:
It doesn't make it passed the start screen, the one with the flashy colors. gbd shows this:
It looks like mused.console is empty! I'm not too sure where it's intended to be allocated in the code