← Back to team overview

openjdk team mailing list archive

[Bug 347730] Re: SciLab 5.1 crashes when using kron()

 

and lucid

-- 
SciLab 5.1 crashes when using kron()
https://bugs.launchpad.net/bugs/347730
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: Triaged

Bug description:
SciLab 5 (Mar 6 2009 -  In Jaunty 9.04 Alpha6) crashes after
trying to get the kronecker product of two large vectors with kron().

Output:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xb7ca3896, pid=3971, tid=3023873744
#
# Java VM: OpenJDK Server VM (14.0-b08 mixed mode linux-x86 )
# Distribution: Ubuntu jaunty (development branch), package 6b14-1.4.1-0ubuntu4
# Problematic frame:
# C  [libc.so.6+0x79896]  memcpy+0x46
#
# An error report file with more information is saved as:
# /home/mmxgn/hs_err_pid3971.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

way to reproduce the bug in a 2GB c2d linux laptop (sony vaio fe31h) with lots of free space:

1 - start scilab
2 - In the scilab console, type:

--> a  = 1:1:10000;
--> b  = a';
--> kron(a,b);

** CRASHED ** with the output pasted above.

cat /proc/meminfo output (don't know if it's useful tho):

mmxgn@mmxgn-laptop:~$ cat /proc/meminfo 
MemTotal:        2060508 kB
MemFree:         1453304 kB
Buffers:           23432 kB
Cached:           317960 kB
SwapCached:            0 kB
Active:           381488 kB
Inactive:         167692 kB
Active(anon):     213812 kB
Inactive(anon):        0 kB
Active(file):     167676 kB
Inactive(file):   167692 kB
Unevictable:          16 kB
Mlocked:              16 kB
HighTotal:       1190472 kB
HighFree:         647776 kB
LowTotal:         870036 kB
LowFree:          805528 kB
SwapTotal:       6032368 kB
SwapFree:        6032368 kB
Dirty:               108 kB
Writeback:             0 kB
AnonPages:        207804 kB
Mapped:            72844 kB
Slab:              21624 kB
SReclaimable:      11528 kB
SUnreclaim:        10096 kB
PageTables:         2616 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     7062620 kB
Committed_AS:     709388 kB
VmallocTotal:     122880 kB
VmallocUsed:       52536 kB
VmallocChunk:      67052 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       4096 kB
DirectMap4k:       40952 kB
DirectMap4M:      864256 kB





References