[BACK]Return to changelog-ja.tex CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Doc

Diff for /OpenXM/src/kan96xx/Doc/changelog-ja.tex between version 1.34 and 1.35

version 1.34, 2013/09/26 05:33:06 version 1.35, 2015/10/12 11:29:48
Line 1 
Line 1 
 % $OpenXM: OpenXM/src/kan96xx/Doc/changelog-ja.tex,v 1.33 2013/09/25 07:30:52 takayama Exp $  % $OpenXM: OpenXM/src/kan96xx/Doc/changelog-ja.tex,v 1.34 2013/09/26 05:33:06 takayama Exp $
 \documentclass{jarticle}  \documentclass{jarticle}
 \title{ChangeLog \\ ---kan96xx, kxx, k097}  \title{ChangeLog \\ ---kan96xx, kxx, k097}
 \author{Nobuki Takayama}  \author{Nobuki Takayama}
Line 751  asir $B$G$O(B {\tt polymake.log()} $B$K3JG<(B.
Line 751  asir $B$G$O(B {\tt polymake.log()} $B$K3JG<(B.
   
 screenflow $B$K$h$k3P$(=q$-$O(B,  screenflow $B$K$h$k3P$(=q$-$O(B,
 fe $B$N(B {\tt /Movies/oxvh/2013-09-25-polymake}.  fe $B$N(B {\tt /Movies/oxvh/2013-09-25-polymake}.
   
   \section{2015-10-10, cygwin64, msys64}
   
   cygwin64, msys64 $BBP1~(B.
   \begin{enumerate}
   \item gc $B$K$O(B patch. cygwin64 $B$N(B gc.h $B$O$9$G$K(B patch $B$,Ev$?$C$F$k(B.
     $B$h$C$F(B gc $B$,99?7$5$l$?$i(B patch $B$OB?J,ITMW(B.
   \item sigsetjmp $B$r(B {\tt \_setjmp} $B$K$7$J$$$H$?$H$($P(B
   $BHyJ,:nMQAG4D$N3]$1;;$G(B segfault.  $B860x$O$h$/$o$+$i$:(B.
   \item string.h, stdlib.h $BEy$N(B prototype $B@k8@$r$7$F$*$+$J$$$H(B {\tt ox\_sm1} $B$,(B segfault.
   \item msys $B$G$O(B cmd.exe $B$,?7$7$$(B window $B$r3+$+$J$$$N$G(B($BFf(B), mintty $B$r;H$&(B.
   \end{enumerate}
   fe $B$N(B {\tt /Movies/archive} $B$N(B bandicam $B$K$b5-O?(B.
   
   Todo, ctrl-C $B$,0lEY$7$+M-8z$G$J$$(B. sigaction $B$rMxMQ$9$k$Y$-(B?
   
   {\tt ox\_sm1} $B$N(B segfault $B$N(B debug
   {\tiny
   \begin{verbatim}
     misc-2015/10/cygwin-for-sm1 $B$K(B
     oxserver00-d.c Makefile-for-ox_sm1d tmp-o.txt $B$"$j(B.
     tmp-o.txt $B$O(B ( (1).. (0).. div ) oxsubmit $B$G(B $B%(%i!<$r5/$3$9L?Na$r(B,
     stream dump $B$7$?$b$N(B.  cf. (ox.sm1) run (extension-oxLog) usage
     oxpipe.c $B$r(B oxserver00.c $B$XAH$_9~$s$@$b$N(B. gdb $BMQ(B.  ox_sm1d
     523  rm ox_sm1d
     525  make -f Makefile-for-ox_sm1d  ox_sm1d
     526  ./ox_sm1d <tmp-o.txt
   
   cygwin, msys $B$N(B gdb $B$O(B run <file $B$,=PMh$J$$$3$H$KCm0U(B.
   $ gdb ./ox_sm1d
   GNU gdb (GDB) 7.9
   Copyright (C) 2015 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
   and "show warranty" for details.
   This GDB was configured as "x86_64-pc-msys".
   Type "show configuration" for configuration details.
   For bug reporting instructions, please see:
   <http://www.gnu.org/software/gdb/bugs/>.
   Find the GDB manual and other documentation resources online at:
   <http://www.gnu.org/software/gdb/documentation/>.
   For help, type "help".
   Type "apropos word" to search for commands related to "word"...
   Reading symbols from ./ox_sm1d...done.
   (gdb) break main
   Breakpoint 1 at 0x10049b7b8: file oxserver00-d.c, line 37.
   (gdb) run
   Starting program: /home/Nobuki/OX4/OpenXM/src/kxx/ox_sm1d
   [New Thread 11260.0x17c8]
   [New Thread 11260.0x2e50]
   [New Thread 11260.0x8ac]
   [New Thread 11260.0x29d0]
   [New Thread 11260.0x27b8]
   
   Breakpoint 1, main (argc=1, argv=0x24cb10) at oxserver00-d.c:37
   37      main(int argc, char *argv[]) {
   (gdb) call dup2(open("tmp-o.txt",0),0)
   // run <file $B$9$kBe$o$j(B. cf. stackoverflow  [cygwin gdb pipe]
   $1 = 0
   (gdb) break Sm1_popErrorMessage
   Breakpoint 2 at 0x100402720: file sm1stackmachine.c, line 205.
   (gdb) continue
   Continuing.
   [New Thread 11260.0x2f84]
   oxserver00-d.c for debug.
   [New Thread 11260.0x2a28]
   sm1>macro package : dr.sm1,   9/26,1995 --- Version 09/22, 2013.
   sm1>macro package : module1.sm1, 1994 -- Nov 8, 1998
   sm1 version : 3.050615
   sm1 url : http://www.math.kobe-u.ac.jp/KAN
   name = ox_sm1
   sm1>---------------------------------------------------
   engineByteOrder=0
   Hello world.
   Set EnvOfChildServer.
   Set EnvOfStackMachine.
   
   mtag is 514 (serial=11) :  OX_DATA
   (CMO_STRING[4],[size=17],$ (1).. (0).. div $),
   mtag is 513 (serial=12) :  OX_COMMAND
   
   function_id is 268; SM_executeStringByLocalParser
   KSexecuteString( (1).. (0).. div )
   
   ERROR(kanExport[0|1].c): KisInvalidRational(): zero division. You have f/0.
   Trace: div<-;
   
   Breakpoint 2, Sm1_popErrorMessage (s=0x10049d084 "executeString: ")
       at sm1stackmachine.c:205
   205     char *Sm1_popErrorMessage(char *s) {
   (gdb) print s
   $2 = 0x10049d084 "executeString: "
   (gdb) print ErrorMessageMode
   $3 = 2
   (gdb) break popErrorStackByString
   Breakpoint 3 at 0x1004033f0: file stackmachine.c, line 1445.
   (gdb) continue
   Continuing.
   
   Breakpoint 3, popErrorStackByString () at stackmachine.c:1445
   1445    char *popErrorStackByString(void) {
   (gdb) list
   1440      }else{
   1441        return( (ErrorStack.ostack)[--(ErrorStack.sp)]);
   1442      }
   1443    }
   1444
   1445    char *popErrorStackByString(void) {
   1446      struct object obj = OINIT;
   1447      struct object eobj = OINIT;
   1448      eobj = popErrorStack();
   1449      if (ectag(eobj) != CLASSNAME_ERROR_PACKET) {
   (gdb) break sGC_malloc
   Breakpoint 4 at 0x1004035a0: file stackmachine.c, line 1510.
   (gdb) continue
   Continuing.
   
   Breakpoint 4, sGC_malloc (n=93) at stackmachine.c:1510
   1510    void *sGC_malloc(size_t n) { /* synchronized function */
   (gdb) up
   #1  0x000000010040276b in Sm1_popErrorMessage (s=0x10049d084 "executeString: ")
       at sm1stackmachine.c:221
   221         a = (char *) sGC_malloc(sizeof(char)*(strlen(s)+strlen(e)+2));
   (gdb) print s
   $4 = 0x10049d084 "executeString: "
   (gdb) print e
   $5 = 0x6008d4d70 "\nERROR(kanExport[0|1].c): KisInvalidRational(): zero division. You have f/0."
   //  $B@5>o(B
   (gdb) continue
   Continuing.
        14 [main] ox_sm1d 11260 cygwin_exception::open_stackdumpfile: Dumping stack trace to ox_sm1d.exe.stackdump
   [Thread 11260.0x2e50 exited with code 35584]
   [Thread 11260.0x8ac exited with code 35584]
   [Thread 11260.0x29d0 exited with code 35584]
   [Thread 11260.0x2f84 exited with code 35584]
   [Thread 11260.0x2a28 exited with code 35584]
   [Inferior 1 (process 11260) exited with code 0105400]
   (gdb) quit
   
   GC_malloc $B$d(B strcpy $BEy$,2x$7$$$H$K$i$`(B.
   
   
     char * $B7O(B void * $B7O$N@k8@$J$7$,(B segfault $B$N860x(B?
     strcpy $B$,JQ(B.
   
     kxx/serversm.h $B$K(B
   #include <string.h>
   void *sGC_malloc(int n);
   $B$r2C$($k(B.
     ./ox_sm1d <tmp-o.txt  $B$,@5>o=*N;(B.
   \end{verbatim}
   } %% end tiny
   
 \end{document}  \end{document}
   

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>