* Octave crashes with segfault
@ 2018-05-12 3:38 Takashi Yano
2018-05-15 16:22 ` Takashi Yano
0 siblings, 1 reply; 2+ messages in thread
From: Takashi Yano @ 2018-05-12 3:38 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]
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>
[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 205324 bytes --]
[-- Attachment #3: Type: text/plain, Size: 219 bytes --]
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Octave crashes with segfault
2018-05-12 3:38 Octave crashes with segfault Takashi Yano
@ 2018-05-15 16:22 ` Takashi Yano
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Yano @ 2018-05-15 16:22 UTC (permalink / raw)
To: cygwin
I have confirmed that this is resolved with fontconfig 1.12.6-2.
Thanks.
On Sat, 12 May 2018 12:37:47 +0900
Takashi Yano <takashi.yano@nifty.ne.jp> wrote:
> 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>
--
Takashi Yano <takashi.yano@nifty.ne.jp>
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-15 15:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-12 3:38 Octave crashes with segfault Takashi Yano
2018-05-15 16:22 ` Takashi Yano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).