View Single Post
Old 25 February 2020, 00:20   #369
SnakeCoils
Registered User

 
Join Date: Mar 2014
Location: Italy
Posts: 153
Well... the build phase is ended but sadly the emulator crashed on startup (it does not open the screen either), this is the log of what happened:

Code:
Process:         fs-uae [31519]
Path:            /Users/snakecoils/Downloads/fs-uae-master/dist/macos/FS-UAE.app/Contents/MacOS/fs-uae
Identifier:      no.fengestad.fs-uae
Version:         3.1.0 (3.1.0)
Code Type:       PPC (Native)
Parent Process:  launchd [68]

Interval Since Last Report:          369 sec
Crashes Since Last Report:           3
Per-App Interval Since Last Report:  15 sec
Per-App Crashes Since Last Report:   2

Date/Time:       2020-02-24 23:08:11.705 +0100
OS Version:      Mac OS X 10.5.8 (9L31a)
Report Version:  6
Anonymous UUID:  93FD90A9-23B1-4542-896F-0CCD6DEFA072

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000090349c98
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSEvent modifierFlags]: unrecognized selector sent to class 0xa0a333f4'

Thread 0 Crashed:
0   com.apple.CoreFoundation      	0x90349c98 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 0
1   libobjc.A.dylib               	0x95c374e8 objc_exception_throw + 68
2   com.apple.CoreFoundation      	0x90350f5c +[NSObject doesNotRecognizeSelector:] + 164
3   com.apple.CoreFoundation      	0x9034f4b0 ___forwarding___ + 332
4   com.apple.CoreFoundation      	0x9034f744 _CF_forwarding_prep_0 + 212
5   libSDL2-2.0.0.dylib           	0x053c6158 Cocoa_InitKeyboard + 132
6   libSDL2-2.0.0.dylib           	0x053c988c Cocoa_VideoInit + 32
7   libSDL2-2.0.0.dylib           	0x053c2d10 SDL_VideoInit_REAL + 624
8   libSDL2-2.0.0.dylib           	0x0531f24c SDL_InitSubSystem_REAL + 228
9   no.fengestad.fs-uae           	0x00d26df0 0x2000 + 13782512
10  no.fengestad.fs-uae           	0x00008288 0x2000 + 25224

Thread 1:
0   libSystem.B.dylib             	0x9169ba8c __semwait_signal + 12
1   libSystem.B.dylib             	0x916d8318 _pthread_cond_wait + 1580
2   libSDL2-2.0.0.dylib           	0x053ce728 SDL_CondWaitTimeout_REAL + 176
3   libSDL2-2.0.0.dylib           	0x053ce24c SDL_SemWaitTimeout_REAL + 132
4   libSDL2-2.0.0.dylib           	0x0538d0e8 SDL_TimerThread + 456
5   libSDL2-2.0.0.dylib           	0x0538c5a0 SDL_RunThread + 68
6   libSDL2-2.0.0.dylib           	0x053ce064 RunThread + 12
7   libSystem.B.dylib             	0x916d6f70 _pthread_start + 316

Thread 0 crashed with PPC Thread State 32:
  srr0: 0x90349c98  srr1: 0x0002f030   dar: 0xe0021000 dsisr: 0x42000000
    r0: 0x95c374ec    r1: 0xbffff690    r2: 0xa005a5f8    r3: 0x0581c038
    r4: 0x00000000    r5: 0x00000011    r6: 0x00005110    r7: 0x00000010
    r8: 0x059fc080    r9: 0x00050fa0   r10: 0x0581c040   r11: 0x24002442
   r12: 0x9169f734   r13: 0x00000000   r14: 0x00000000   r15: 0x00000000
   r16: 0x00000000   r17: 0x00000000   r18: 0x00000000   r19: 0x00000000
   r20: 0x00000000   r21: 0x00000000   r22: 0x00d2eafc   r23: 0x00000000
   r24: 0xbffff7e8   r25: 0x95ce7348   r26: 0xa043bc7c   r27: 0xa0a333f4
   r28: 0xa006d810   r29: 0x059502d0   r30: 0xa09b5dc0   r31: 0x95c374b4
    cr: 0x24002442   xer: 0x00000004    lr: 0x95c374ec   ctr: 0x9169f734
vrsave: 0x00000000
The warnings from compiling were the following:

Code:
src/custom.cpp: In function 'void linesync_fsemu()':
src/custom.cpp:9443:37: warning: division by zero [-Wdiv-by-zero]
    if (sleep_mod && extra_counter++ % sleep_mod == 0) {
                     ~~~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h: In function 'void docols(color_entry*)':
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h: In function 'void notice_new_xcolors()':
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~
In file included from src/custom.cpp:37:0:
./src/include/drawing.h:169:30: warning: iteration 32 invokes undefined behavior [-Waggressive-loop-optimizations]
   return ce->color_regs_ecs[c];
          ~~~~~~~~~~~~~~~~~~~~^
src/custom.cpp:628:17: note: within this loop
   for (i = 0; i < 256; i++) {
               ~~^~~~~

Code:
g++-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -O3 -maltivec -mabi=altivec -MT src/inputdevice.o -MD -MP -MF $depbase.Tpo -c -o src/inputdevice.o src/inputdevice.cpp &&\
	mv -f $depbase.Tpo $depbase.Po
In function 'bool inputdevice_handle_inputcode2(int, int, int, const TCHAR*)',
    inlined from 'void inputdevice_handle_inputcode()' at src/inputdevice.cpp:4756:38:
src/inputdevice.cpp:4432:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[0].df, s, MAX_PATH);
src/inputdevice.cpp:4442:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[1].df, s, MAX_PATH);
src/inputdevice.cpp:4452:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[2].df, s, MAX_PATH);
src/inputdevice.cpp:4462:12: warning: 'char* strncpy(char*, const char*, size_t)' writing 1024 bytes into a region of size 1000 overflows the destination [-Wstringop-overflow=]
    _tcsncpy(changed_prefs.floppyslots[3].df, s, MAX_PATH);
depbase=`echo src/isofs.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\

Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT libfsemu/src/ml/render.o -MD -MP -MF $depbase.Tpo -c -o libfsemu/src/ml/render.o libfsemu/src/ml/render.c &&\
	mv -f $depbase.Tpo $depbase.Po
libfsemu/src/ml/render.c: In function 'save_screenshot_of_opengl_framebuffer':
libfsemu/src/ml/render.c:226:28: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
     void *line2 = out_data + stride * (h - 1);
                            ^
libfsemu/src/ml/render.c:231:15: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
         line1 += stride;
               ^~
libfsemu/src/ml/render.c:232:15: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
         line2 -= stride;
               ^~


Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT libfsemu/src/video/sdl-video.o -MD -MP -MF $depbase.Tpo -c -o libfsemu/src/video/sdl-video.o libfsemu/src/video/sdl-video.c &&\
	mv -f $depbase.Tpo $depbase.Po
libfsemu/src/video/sdl-video.c: In function 'sdl_video_render':
libfsemu/src/video/sdl-video.c:160:47: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.data + buffer->buffer.crop.y * \
                                               ^
libfsemu/src/video/sdl-video.c:161:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.stride + buffer->buffer.crop.x * \
                                                 ^


Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT libfsemu/src/video/sdl-video-software.o -MD -MP -MF $depbase.Tpo -c -o libfsemu/src/video/sdl-video-software.o libfsemu/src/video/sdl-video-software.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from libfsemu/src/video/sdl-video-software.c:2:0:
libfsemu/src/video/sdl-video.c: In function 'sdl_video_render':
libfsemu/src/video/sdl-video.c:160:47: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.data + buffer->buffer.crop.y * \
                                               ^
libfsemu/src/video/sdl-video.c:161:49: warning: pointer of type 'void *' used in arithmetic [-Wpointer-arith]
                           buffer->buffer.stride + buffer->buffer.crop.x * \
                                                 ^


Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT fsemu/src/fsemu-theme.o -MD -MP -MF $depbase.Tpo -c -o fsemu/src/fsemu-theme.o fsemu/src/fsemu-theme.c &&\
	mv -f $depbase.Tpo $depbase.Po
fsemu/src/fsemu-theme.c: In function 'fsemu_theme_module_init':
fsemu/src/fsemu-theme.c:24:33: warning: implicit declaration of function 'fsemu_data_stream'; did you mean 'fsemu_image_unref'? [-Wimplicit-function-declaration]
         fsemu_image_from_stream(fsemu_data_stream("Background.png"), true),
                                 ^~~~~~~~~~~~~~~~~
                                 fsemu_image_unref
fsemu/src/fsemu-theme.c:24:33: warning: passing argument 1 of 'fsemu_image_from_stream' makes pointer from integer without a cast [-Wint-conversion]
In file included from fsemu/src/fsemu-font.h:5:0,
                 from fsemu/src/fsemu-gui.h:8,
                 from fsemu/src/fsemu-theme.c:4:
fsemu/src/fsemu-image.h:43:16: note: expected 'fsemu_stream_t * {aka struct fsemu_stream *}' but argument is of type 'int'
 fsemu_image_t *fsemu_image_from_stream(fsemu_stream_t *stream, bool owner);
                ^~~~~~~~~~~~~~~~~~~~~~~
fsemu/src/fsemu-theme.c:32:21: warning: implicit declaration of function 'FSEMU_RGB'; did you mean 'FSEMU_GLIB'? [-Wimplicit-function-declaration]
     widget->color = FSEMU_RGB(0xffffff);
                     ^~~~~~~~~
                     FSEMU_GLIB

Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT fsemu/src/fsemu-time.o -MD -MP -MF $depbase.Tpo -c -o fsemu/src/fsemu-time.o fsemu/src/fsemu-time.c &&\
	mv -f $depbase.Tpo $depbase.Po
In file included from fsemu/src/fsemu-time.c:2:0:
fsemu/src/fsemu-time.h: In function 'fsemu_time_clock_gettime_mach':
fsemu/src/fsemu-time.h:70:5: warning: implicit declaration of function 'SDL_assert'; did you mean 'g_assert'? [-Wimplicit-function-declaration]
     SDL_assert(clk_id == CLOCK_MONOTONIC);
     ^~~~~~~~~~
     g_assert

Code:
gcc-mp-7 -DHAVE_CONFIG_H -I.  -DMACOSX -DMACOS -DUAE -DFSUAE    -I./flac/include -I./gen -I./src -I./src/jit -I./src/include -I./src/od-fs -I./src/od-fs/include -I./src/od-win32 -I./src/od-win32/caps -I./libfsemu/include -I./fsemu/src  -I./manymouse -I./glad/include   -I./libudis86/include  -I./prowizard/include    -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -DLUA_USE_POSIX -I/opt/local/include/libpng16 -I/opt/local/include  -D_THREAD_SAFE -I/opt/local/include/SDL2 -D_THREAD_SAFE -I/opt/local/include/SDL2 -I/opt/local/include  -fno-strict-overflow -fno-strict-aliasing -Wno-format-truncation -Waddress -Werror=missing-declarations -Wpointer-arith -fvisibility=hidden -I/opt/local/include/mpeg2dec -std=gnu99 -O3 -maltivec -mabi=altivec -MT manymouse/macosx_hidmanager.o -MD -MP -MF $depbase.Tpo -c -o manymouse/macosx_hidmanager.o manymouse/macosx_hidmanager.c &&\
	mv -f $depbase.Tpo $depbase.Po
manymouse/macosx_hidmanager.c: In function 'macosx_hidmanager_init':
manymouse/macosx_hidmanager.c:370:28: warning: the comparison will always evaluate as 'false' for the address of 'IOHIDManagerCreate' will never be NULL [-Waddress]
     if (IOHIDManagerCreate == NULL)
                            ^~
SnakeCoils is offline  
 
Page generated in 0.04588 seconds with 11 queries