Octave crashes with segfault

Takashi Yano takashi.yano@nifty.ne.jp
Sat May 12 03:38:00 GMT 2018


Hi, cygwin folks.

I found octave cannot start, or crashes by plot command in recent
32bit cygwin. This occurs in Windows 10 (1709 or later).

It seems that this is a problem of fontconfig package.

To reproduce this:
1. Install 32bit version of cygwin with the following packages.
    - octave
    - gnuplot
    - xorg-server
    - dbus
2. execute 'dbus-uuidgen'. Without this step, octave complains
    about dbus.
3. execute 'run XWin -multiwindow'
4. execute 'export DISPLAY=':0.0'
5.1 execute 'octave'. This fails with the message:
octave exited with signal 11
5.2 execute 'octave -W' and issue the command 'plot([])'.
    This fails with the message:
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Segmentation fault (core dumped)

Workaround 1:
 Remove /usr/share/fonts/microsoft/bahnschrift.ttf

Workaround 2:
 Build fontconfig package from source code and replace
 cygfontconfig-1.dll.

cygcheck.out in failure environment is attached.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 205324 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20180512/140a3f33/attachment.obj>
-------------- next part --------------

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list