<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>19580</bug_id>
          
          <creation_ts>2009-04-11 08:23:16 +0400</creation_ts>
          <short_desc>maxima lapack can not be loaded</short_desc>
          <delta_ts>2025-12-21 13:38:20 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>maxima-bin-sbcl</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Valery Pipin">pip</reporter>
          <assigned_to name="Ilya Mashkin">oddity</assigned_to>
          <cc>antohami</cc>
    
    <cc>kirill</cc>
    
    <cc>oddity</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>viy</cc>
    
    <cc>vkni</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>89193</commentid>
    <comment_count>0</comment_count>
    <who name="Valery Pipin">pip</who>
    <bug_when>2009-04-11 08:23:16 +0400</bug_when>
    <thetext>В 32 bit дистрибутиве (сизиф или brach 5.0), с установленным sbcl-1.0.25, в сессии maxima -l sbcl, набираем load(lapack). Компиляция завершается  сообщением : 

##########
.......
;; loading #P&quot;/usr/share/maxima/5.17.1/share/lapack/lapack/binary-sbcl/dgesd
d.fasl&quot;                                                                     
; compiling file &quot;/usr/share/maxima/5.17.1/share/lapack/lapack/dgesvd.lisp&quot; 
(written 08 APR 2007 04:08:55 AM):                                          
                                                                            
; compiling (IN-PACKAGE :LAPACK)                                            
                                                                            
; compiling (LET* (# #) ...)Heap exhausted during garbage collection: 4096 b
ytes available, 4104 requested.                                             
 Gen StaPg UbSta LaSta LUbSt Boxed Unboxed LB   LUB  !move  Alloc  Waste   T
rig    WP  GCs Mem-age                                                      
    0:     0     0     0     0     0     0     0     0     0        0     0 
 2000000    0   0  0,0000                                                   
       1: 77761 78367     0     0  1351 28304     0     0     0 63677592 577
89288 50280456    0   1  0,7582                                             
          2: 128622 131071     0     0  1035 64197     0     0    56 1358955
44 131294728  2000000  259   0  1,1300                                      
             3: 76174 76111 20526     0  6875 14655   258    84    76 632242
56 26363456  2000000 3956   0  0,0000                                       
                4: 16480 16474 13438     0  1520   492   466    10    78  96
47016 543832  2000000 1393   0  0,0000                                      
                   5:     0     0     0     0     0     0     0     0     0 
       0     0  2000000    0   0  0,0000                                    
                      6:     0     0     0     0 11825     0     0     0    
 0 48435200     0  2000000 11659   0  0,0000                                
    Total bytes allocated    = 320879608                                    
    Dynamic-space-size bytes = 536870912                                    
    GC control variables:                                                   
        *GC-INHIBIT* = false                                                
        *GC-PENDING* = true                                                 
fatal error encountered in SBCL pid 9234:                                   
Heap exhausted, game over.
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb&gt;

[va@shiva-225 ~]$ uname -a
Linux shiva-225.localdomain 2.6.27-ovz-smp-alt1.1 #1 SMP Thu Mar 26 18:35:53
 UTC 2009 i686 GNU/Linux
[va@shiva-225 ~]$ rpm -q sbcl
sbcl-1.0.25-alt1
[va@shiva-225 ~]$ rpm -q maxima-bin-sbcl
maxima-bin-sbcl-5.17.1-alt0.3

#####################

Ошибка воспроизводится  также на ядрах std-def и std-pae. Проверено на 2 машинах с интеловской матерью и оперативной памятью 4гб и 2гб. Ошибка воспроизводится и в более новой версии maxima-5.18.0


Решение: downgrade to sbcl-1.0.20! 

PS на 64-bit платформе все работает!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90213</commentid>
    <comment_count>1</comment_count>
    <who name="Valery Pipin">pip</who>
    <bug_when>2009-04-28 12:09:03 +0400</bug_when>
    <thetext>
&gt; Решение: downgrade to sbcl-1.0.20! 
&gt; 
&gt; PS на 64-bit платформе все работает!
another solution is to start sbcl with option like
--dynamic-space-size 1024</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102484</commentid>
    <comment_count>2</comment_count>
    <who name="Ilya Mashkin">oddity</who>
    <bug_when>2009-11-01 00:56:16 +0300</bug_when>
    <thetext>
Попробуйте на текущей комбинации, которая сегодня ушла в сизиф : sbcl-1.0.32-alt1.src.rpm и maxima-5.19.2-alt0.2.src.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114868</commentid>
    <comment_count>3</comment_count>
    <who name="Valery Pipin">pip</who>
    <bug_when>2010-11-05 20:14:54 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; Попробуйте на текущей комбинации, которая сегодня ушла в сизиф :
&gt; sbcl-1.0.32-alt1.src.rpm и maxima-5.19.2-alt0.2.src.rpm

Закрывайте уже. Для нормальной компиляции lapack с sbcl на 32bit машине нужна опция --dynamic-space-size 1024 ,  а именно в /usr/bin/maxima будет строчка:

elif [ &quot;$MAXIMA_LISP&quot; = &quot;sbcl&quot; ]; then
    exec &quot;sbcl&quot; --core &quot;$maxima_image_base.core&quot; --dynamic-space-size 1024

можно больше
Вообщем это &quot;feature&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>279331</commentid>
    <comment_count>4</comment_count>
    <who name="Ilya Mashkin">oddity</who>
    <bug_when>2025-12-21 13:38:20 +0300</bug_when>
    <thetext>В текущих версиях не актуально</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>