[Bug 47944] Wine64 tries to change permissions in /private/tmp/ that fails on macOS 10.15 Catalina

WineHQ Bugzilla wine-bugs at winehq.org
Thu Oct 17 10:26:07 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=47944

--- Comment #5 from Alexandre Julliard <julliard at winehq.org> ---
(In reply to Michel Terrisse from comment #3)
> During that time I try to understand what is specific to CEF and makes it
> crash.
> The string "anonmap." appears only in server/mapping.c for this function
>   /* create a temp file for anonymous mappings */
>   static int create_temp_file( file_pos_t size )
> called by this one
>   /* allocate and fill the temp file for a shared PE image mapping */
>   static int build_shared_mapping( struct mapping *mapping, int fd,
>                                  IMAGE_SECTION_HEADER *sec, unsigned int
> nb_sec )
> that is called by this one :
>   /* retrieve the mapping parameters for an executable (PE) image */
>   static unsigned int get_image_params( struct mapping *mapping, file_pos_t
> file_size, int unix_fd )
> So Wineserver creates a shared library and tries to load it.
> Do you know why? This doesn't happen for all the dynamic libraries loaded by
> the program but just when CEF is trying to display some HTML, and I can't
> understand what is specific here.

That's because it's loading a DLL that contains a shared section. In that case
we need to create a tmp file with the contents of the section. Most DLLs don't
use shared sections so they work fine.

You should try current git, probably commit
98238aa8736022ec08205e66a4e92f690ddcc711 will help for you case.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list