Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301625 - sci-mathematics/scilab-4.1.2-r2 - /usr/bin/scilab: line 355: 31256 Segmentation fault $SCI/bin/zterm $zterm_arg -e gdb $SCI/bin/scilex $sci_args
Summary: sci-mathematics/scilab-4.1.2-r2 - /usr/bin/scilab: line 355: 31256 Segmentati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 360601
  Show dependency tree
 
Reported: 2010-01-20 14:18 UTC by Vladimir
Modified: 2011-09-19 15:30 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.81 KB, text/plain)
2010-01-20 14:19 UTC, Vladimir
Details
don't set geometry on unrealized widgets (scilab-zterm-dont-set-geometry-on-unrealized-widgets.patch,502 bytes, patch)
2011-06-04 23:21 UTC, Maciej S. Szmigiero
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2010-01-20 14:18:57 UTC
sci-mathematics/scilab-4.1.2-r2 doesn't want to start after installation.
Running it with "-debug" option gives the following output:

/usr/bin/scilab: line 355: 31256 Segmentation fault      $SCI/bin/zterm $zterm_arg -e gdb $SCI/bin/scilex $sci_args

Reproducible: Always

Steps to Reproduce:
1. emerge scilab
2. type "scilab" in the command line

Actual Results:  
Nothing happens (Scilab doesn't start).

Expected Results:  
Scilab should start.
Comment 1 Vladimir 2010-01-20 14:19:33 UTC
Created attachment 216973 [details]
emerge --info
Comment 2 Artem Semendyaev 2010-02-20 22:14:40 UTC
same problem here
Comment 3 Thomas Capricelli 2010-03-20 05:13:13 UTC
same problem here with sci-mathematics/scilab-4.1.2-r2 on ~amd64:
% scilab -debug
/usr/bin/scilab: line 355: 28240 Segmentation fault (core dumped) $SCI/bin/zterm $zterm_arg -e gdb $SCI/bin/scilex $sci_args
Comment 4 Urs Hunkeler 2010-03-26 09:07:59 UTC
Same problem here. zterm (/usr/lib/scilab-4.1.2/bin/zterm) seems to be the problem. Running it in gdb gives:

Program received signal SIGSEGV, Segmentation fault.
0xb7b7a3b5 in gdk_window_set_geometry_hints () from /usr/lib/libgdk-x11-2.0.so.0

Re-emerging gtk+ did not help.

Currently I manage to use scilab with two workarounds:
- scilab -nw (to not use the scilab GUI)
- emerge scilab with -gtk (I get a warning that this is the last version to use the old graphics mode)
Comment 5 Eugene Smirnoff 2010-12-17 08:58:05 UTC
(In reply to comment #4)
I have this problem too (on x86) with the same version of scilab.

zterm[27417]: segfault at 50 ip b7162f54 sp bfb47220 error 4 in libgdk-x11-2.0.so.0.2000.1[b70fa000+94000]

I have to run scilab on Fedora machine until this bug is solved.
Comment 6 Maciej S. Szmigiero 2011-06-04 23:21:58 UTC
Created attachment 275853 [details, diff]
don't set geometry on unrealized widgets

This patch fixes the crash in zterm for me.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2011-09-19 15:30:18 UTC
+  19 Sep 2011; Justin Lecher <jlec@gentoo.org> scilab-4.1.2-r2.ebuild,
+  +files/scilab-4.1.2-gcc45-2.patch:
+  Fix for seqf on zterm, thanks Maciej Szmigiero for the patch , #301625
+