[hatari-devel] Two Hatari bugs

Anders Eriksson ae at dhs.nu
Thu Jun 2 18:51:47 CEST 2011


On Tue, 24 May 2011, Nicolas Pomarède wrote:

>> Bug #1
>> If you leave Hatari with the F12 menu open for many hours (say over a
>> night) Hatari becomes unresponsive and needs a kill -9 to terminate.
>> I've confirmed this with the Hatari in the repositry from both Mac OS X
>> 10.6 and Ubuntu Linux 11.04.
>
> Hello
>
> regarding this problem, do you have an idea of how many hours you waited with 
> F12 open to get this problem ?
>
> OSX doesn't have nanosleep, which could cause such time wrapping problem as 
> you observed ; if that's the case, it could be fixed easily. But under linux, 
> the counter is 64 bits, with 32 bits for seconds, so that should be way 
> beyond what is needed to wait more than a few hours.
>
> Just to be sure, what do you get when running "./configure" under your mac 
> and your ubuntu ? Do you get the following lines :
>
> -- Looking for gettimeofday
> -- Looking for gettimeofday - found
> -- Looking for nanosleep
> -- Looking for nanosleep - found

Hi,

sorry for being late with this. Unfortenly I've not been able to try this 
on the Ubuntu machine (it's at work, and things have been very busy there 
lately).

I don't know exactly how long it takes until it locks up, but leaving it 
open over a night definitly make it happen.


On Mac OS X (10.6.7) ./configure says this:


QuadMBP:hatari ae$ ./configure
-- The C compiler identification is GNU
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test MUDFLAP_AVAILABLE
-- Performing Test MUDFLAP_AVAILABLE - Failed
-- Found MATH: /usr/lib/libm.dylib
-- Found READLINE: /usr/lib/libreadline.dylib
-- Looking for rl_filename_completion_function
-- Looking for rl_filename_completion_function - found
-- Found ZLIB: /usr/include (found version "1.2.3")
-- Found PNG: /Library/Frameworks/libpng.framework
-- Looking for XOpenDisplay in 
/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib
-- Looking for XOpenDisplay in 
/usr/X11R6/lib/libX11.dylib;/usr/X11R6/lib/libXext.dylib - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/X11R6/lib/libX11.dylib
-- Could NOT find PORTAUDIO (missing:  PORTAUDIO_LIBRARY 
PORTAUDIO_INCLUDE_DIR)
-- Looking for include files HAVE_TERMIOS_H
-- Looking for include files HAVE_TERMIOS_H - found
-- Looking for include files HAVE_STRINGS_H
-- Looking for include files HAVE_STRINGS_H - found
-- Looking for include files HAVE_MALLOC_H
-- Looking for include files HAVE_MALLOC_H - not found.
-- Looking for include files HAVE_SDL_SDL_CONFIG_H
-- Looking for include files HAVE_SDL_SDL_CONFIG_H - found
-- Looking for include files HAVE_SYS_TIMES_H
-- Looking for include files HAVE_SYS_TIMES_H - found
-- Looking for include files HAVE_UNIX_DOMAIN_SOCKETS
-- Looking for include files HAVE_UNIX_DOMAIN_SOCKETS - found
-- Looking for cfmakeraw
-- Looking for cfmakeraw - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for select
-- Looking for select - found
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for memalign
-- Looking for memalign - not found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for alphasort
-- Looking for alphasort - found
-- Looking for scandir
-- Looking for scandir - found
-- Found PythonInterp: /usr/bin/python2.6
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/ae/Atari/source/hatari


--
Anders Eriksson
ae at dhs.nu     http://www.dhs.nu/
ae at atari.org  http://www.atari.org/


More information about the hatari-devel mailing list