[mesa-users] segmentation fault (core dumped)

Robert Farmer rjfarmer at asu.edu
Fri Aug 4 11:32:41 EDT 2017


I think the confusion is that originally there was only ubuntu available so
i think that was always installed originally with the subsystem. Now a few
more distro's are available (as long as you have a new enough version of
windows 10)

But yes i'm saying with everything enabled, pre req's installed and i even
rebuilt the sdk itself, it is still buggy

Rob

On Fri, Aug 4, 2017 at 4:21 PM, amber lauer <amberlauer at gmail.com> wrote:

> I've seen guides that only require enabling the subsystem, and the full
> distro only became available recently compared to the built in components,
> but my assumption was that it would be easier with the latter.
>
> So you're saying even with the distro installed as well as the prereqs,
> it's still buggy?
>
> So even with the full "distro" installed and the
>
> On Aug 4, 2017 4:55 AM, "Robert Farmer" <rjfarmer at asu.edu> wrote:
>
>> There the same thing, you first have to enable the linux subsystem on
>> windows then you can download a linux distro to use with it, i don't think
>> you can use the linux subsystem without the downloaded distro.
>>
>> Anyway the problem is not a mesa problem, its a gcc problem. For some
>> reason on windows it does not like calling functions that have been passed
>> as arguments to other functions. I'v seen this before when building mesa
>> with cygwin, that time required a patched gcc, however we are now using
>> (and need) a newer gcc so the patches don't apply.
>>
>> Rob
>>
>>
>> On Fri, Aug 4, 2017 at 4:32 AM, amber lauer <amberlauer at gmail.com> wrote:
>>
>>> I was wondering when this would come up. I was going to try it as soon
>>> as I had time, but someone has beat me to it. I'm also interested to know
>>> if it will be possible to use MESA on bash for Windows. I thought these
>>> were two different functionalities, my understanding was that bfw was a
>>> bash "software emulator" and the other was more of a virtual machine. But I
>>> see that you need to enable bfw to use the Ubuntu install, but they are
>>> packaged as two different items. So far I've not found confirmation that
>>> the Ubuntu package is really virtualized.
>>>
>>> So I'm curious exactly which packages were used in this case? Bash for
>>> Windows as well as Ubuntu? Also, were you able to "install" the prereqs?
>>>
>>>
>>> On Aug 2, 2017 8:23 AM, "Robert Farmer" <rjfarmer at asu.edu> wrote:
>>>
>>> Hi
>>>
>>> The problem is you are one of the first people to try mesa on the linux
>>> subsystem for windows, as such we don't currently support it (or have even
>>> tried to get it working). I'll have a look and see if i can get something
>>> working, so in the mean time your best option for running on windows is
>>> under cygwin:
>>>
>>> https://sourceforge.net/p/mesa/mailman/message/34636241/
>>>
>>> or to install linux as a virtual machine and run mesa inside that.
>>>
>>> Rob
>>>
>>>
>>> On Wed, Aug 2, 2017 at 11:40 AM, 李二涛 <let at szu.edu.cn> wrote:
>>>
>>>>
>>>>
>>>> Dear Rob,
>>>>
>>>> I am trying to using the linux(Ubuntu 16.04) subsystem for windows10.
>>>> Please kindly find the test_quietly.txt file as attached.
>>>>
>>>> ertao
>>>>
>>>> ------------------------------
>>>> Er-Tao Li(李二涛)
>>>> Institute of Nuclear Technology,College of Physics & Energy, Shenzhen
>>>> University
>>>> Nanhai Ave 3688, Shenzhen, Guangdong, P.R.China, 518060
>>>> Tel: 86-755-26536232. Fax: 86-755-26534374
>>>>
>>>> *From:* Robert Farmer <rjfarmer at asu.edu>
>>>> *Date:* 2017-08-02 17:43
>>>> *To:* 李二涛 <ertaoLee at gmail.com>
>>>> *CC:* mesa-users <mesa-users at lists.sourceforge.net>; 李二涛深大
>>>> <let at szu.edu.cn>
>>>> *Subject:* Re: [mesa-users] segmentation fault (core dumped)
>>>> Hi
>>>>
>>>> Are you using the linux subsystem for windows? Otherwise its a little
>>>> confusing whether your machine is a linux or windows machine
>>>>
>>>> Could you also send the file $MESA_DIR/eos/test/test_quietly.txt file
>>>>
>>>> Rob
>>>>
>>>> On Wed, Aug 2, 2017 at 4:39 AM, ertaoLee <ertaolee at gmail.com> wrote:
>>>>
>>>>> Dear MESA users,
>>>>>
>>>>> I am trying to install the mesa 9793, but I encountered the following
>>>>> problem:
>>>>>
>>>>> gfortran -fopenmp -o ../sample sample_eos.o -L../../make -le
>>>>> os -L../../../lib -lchem -linterp_2d -linterp_1d -lnum -lf2c
>>>>> rlibm -lcrlibm -lmtx -lconst -lutils -lmesaklu `mesasdk_lapa
>>>>> ck_link` `mesasdk_blas_link` `mesasdk_hdf5_link`
>>>>> ../utils/build_and_test_parallel: line 56: 17804 Segmentatio
>>>>> n fault      (core dumped) ./test_quietly &> test_quietly.tx
>>>>> t
>>>>>
>>>>> /mnt/d/mesa/eos/test
>>>>> FAILED
>>>>>
>>>>>
>>>>> /mnt/d/mesa/eos
>>>>> ./build_and_test FAILED
>>>>>
>>>>> I can't solve it. Please help me
>>>>>
>>>>> The following information may be useful.
>>>>>
>>>>> - The version of MESA I am trying to build
>>>>> 9793
>>>>> - The version of the SDK I am using
>>>>> x86_64-linux-20160129 and x86_64-linux-20150908 both tried and can't
>>>>> work
>>>>> - My platform (machine type, operating system, version)
>>>>> Thinkpad T430
>>>>> windows10(ubuntu 16.04)
>>>>> - uname -a
>>>>> Linux LENOVO-PC 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 1
>>>>> 4:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
>>>>> - gfortran -v
>>>>> Using built-in specs.
>>>>> COLLECT_GCC=/home/let/mesasdk/bin/gfortran.exec
>>>>> COLLECT_LTO_WRAPPER=/home/let/mesasdk/bin/../libexec/gcc/x86
>>>>> _64-pc-linux-gnu/5.3.1/lto-wrapper
>>>>> Target: x86_64-pc-linux-gnu
>>>>> Configured with: /root/mesasdk-src/gcc/configure CC=gcc --bu
>>>>> ild=x86_64-pc-linux-gnu --prefix=/root/mesasdk --with-gmp=/
>>>>> oot/mesasdk --with-mpfr=/root/mesasdk --with-mpc=/root/mesas
>>>>> dk --enable-languages=c,c++,fortran --disable-multilib --dis
>>>>> able-nls --disable-libsanitizer --enable-clocale=generic
>>>>> Thread model: posix
>>>>> gcc version 5.3.1 20160129 (GCC)
>>>>> - echo $MESASDK_ROOT
>>>>> /home/let/mesasdk
>>>>> - echo $PATH
>>>>> /home/let/mesasdk/bin:/home/let/mesasdk/bin:/usr/local/sbin:
>>>>> /usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr
>>>>> /local/games:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/
>>>>> Program Files (x86)/Intel/iCLS Client:/mnt/c/Program Files/I
>>>>> ntel/iCLS Client:/mnt/c/Windows/System32:/mnt/c/Windows:/mnt
>>>>> /c/Windows/System32/wbem:/mnt/c/Windows/System32/WindowsPowe
>>>>> rShell/v1.0:/mnt/c/Program Files/Intel/Intel(R) Management E
>>>>> ngine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Man
>>>>> agement Engine Components/IPT:/mnt/c/Program Files (x86)/Int
>>>>> el/Intel(R) Management Engine Components/DAL:/mnt/c/Program
>>>>> Files (x86)/Intel/Intel(R) Management Engine Components/IPT:
>>>>> /mnt/c/CTeX/MiKTeX/miktex/bin:/mnt/c/CTeX/CTeX/ctex/bin:/mnt
>>>>> /c/CTeX/CTeX/cct/bin:/mnt/c/CTeX/CTeX/ty/bin:/mnt/c/CTeX/Gho
>>>>> stscript/gs9.05/bin:/mnt/c/CTeX/GSview/gsview:/mnt/c/CTeX/Wi
>>>>> nEdt:/mnt/d/BIN:/mnt/c/Users/LENOVO/AppData/Local/Programs/P
>>>>> ython/Python36-32/Scripts:/mnt/c/Users/LENOVO/AppData/Local/
>>>>> Programs/Python/Python36-32
>>>>>
>>>>> Thanks in advance for any help that you can offer!
>>>>>
>>>>> ------------------------------
>>>>> Er-Tao Li(李二涛)
>>>>> Institute of Nuclear Technology,College of Physics & Energy, Shenzhen
>>>>> University
>>>>> Nanhai Ave 3688, Shenzhen, Guangdong, P.R.China, 518060
>>>>> Tel: 86-755-26536232. Fax: 86-755-26534374
>>>>>
>>>>> ------------------------------------------------------------
>>>>> ------------------
>>>>> Check out the vibrant tech community on one of the world's most
>>>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>>>> _______________________________________________
>>>>> mesa-users mailing list
>>>>> mesa-users at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> mesa-users mailing list
>>> mesa-users at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mesa-users
>>>
>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr.gif
Type: image/gif
Size: 240 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_bg.gif
Type: image/gif
Size: 250 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tl.gif
Type: image/gif
Size: 802 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spacer.gif
Type: image/gif
Size: 43 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0003.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ml.gif
Type: image/gif
Size: 2232 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0004.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_tl.gif
Type: image/gif
Size: 1275 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0005.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_bgr.gif
Type: image/gif
Size: 344 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0006.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_tr.gif
Type: image/gif
Size: 1137 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0007.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bg.gif
Type: image/gif
Size: 64 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0008.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m_bgl.gif
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20170804/f69556d5/attachment-0009.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-------------- next part --------------
_______________________________________________
mesa-users mailing list
mesa-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa-users


More information about the Mesa-users mailing list