Bug 93365 - IDL/ENVI for MAC doesn't open with new beta (2.7.9_beta1)
Summary: IDL/ENVI for MAC doesn't open with new beta (2.7.9_beta1)
Status: RESOLVED NOTOURBUG
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: development (betas, rcs, git)
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium blocker
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-13 20:36 UTC by Antonio Carlos Varela Saraiva
Modified: 2015-12-14 16:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Antonio Carlos Varela Saraiva 2015-12-13 20:36:43 UTC
After I updated XQuartz to the new beta (2.7.9_beta1), IDL doesn't even start anymore. I have this problem with versions 7.1 and 8.2 of the software.

The error I got from IDL 7.1 was variable, depending on the machine I was testing, but always with the same outcome, something like this:

==3355==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62100000c500 at pc 0x000101e384cd bp 0x7fff5fbfe0f0 sp 0x7fff5fbfd8b0
WRITE of size 26988 at 0x62100000c500 thread T0
    #0 0x101e384cc in wrap_readdir (libclang_rt.asan_osx_dynamic.dylib+0x274cc)
    #1 0x10042999a in search_dir (libidl.7.1.dylib+0x40f99a)
    #2 0x10042a1fe in IDL_FillPathExpand (libidl.7.1.dylib+0x4101fe)
    #3 0x10042a596 in IDL_FillPathExpandSysvDLM (libidl.7.1.dylib+0x410596)
    #4 0x100428577 in init_sysv_dlm_path (libidl.7.1.dylib+0x40e577)
    #5 0x10042947d in IDL_SysvInit (libidl.7.1.dylib+0x40f47d)
    #6 0x1000230ff in IDL_Initialize (libidl.7.1.dylib+0x90ff)
    #7 0x100004435 in ops_main (idl_opserver+0x100004435)
    #8 0x100004788 in main (idl_opserver+0x100004788)
    #9 0x100000d7f in start (idl_opserver+0x100000d7f)
    #10 0x1  (idl_opserver)+0x1)

0x62100000c500 is located 0 bytes to the right of 4096-byte region [0x62100000b500,0x62100000c500)
allocated by thread T0 here:
    #0 0x101e57770 in wrap_malloc (libclang_rt.asan_osx_dynamic.dylib+0x46770)
    #1 0x7fff84e9705b in __opendir_common (libsystem_c.dylib+0x8205b)
    #2 0x101e38194 in wrap_opendir (libclang_rt.asan_osx_dynamic.dylib+0x27194)
    #3 0x10042990f in search_dir (libidl.7.1.dylib+0x40f90f)
    #4 0x10042a1fe in IDL_FillPathExpand (libidl.7.1.dylib+0x4101fe)
    #5 0x10042a596 in IDL_FillPathExpandSysvDLM (libidl.7.1.dylib+0x410596)
    #6 0x100428577 in init_sysv_dlm_path (libidl.7.1.dylib+0x40e577)
    #7 0x10042947d in IDL_SysvInit (libidl.7.1.dylib+0x40f47d)
    #8 0x1000230ff in IDL_Initialize (libidl.7.1.dylib+0x90ff)
    #9 0x100004435 in ops_main (idl_opserver+0x100004435)
    #10 0x100004788 in main (idl_opserver+0x100004788)
    #11 0x100000d7f in start (idl_opserver+0x100000d7f)
    #12 0x1  (idl_opserver)+0x1)

When I revert to a prior version of XQuartz, I got no error staring these applications.
Comment 1 Jeremy Huddleston Sequoia 2015-12-14 16:58:32 UTC
This is a bug in IDL that address sanitization found.

You should report this bug to the authors of IDL.

Note that ASan is only being enabled in beta versions of XQuartz.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.