Opened 12 years ago

Closed 12 years ago

#350 closed bug (wontfix)

close() on ssi tcp links does not work

Reported by: steenpass Owned by: somebody
Priority: minor Milestone: 3-1-4 and higher
Component: singular-kernel Version: 3-1-3
Keywords: ssi links close Cc:


When using an ssi:tcp link l, the link should be killed by 'close(l);' even if there is still an ongoing computation, just like in the ssi:fork case.

steenpas@babu:~$ Singular -v
Singular for x86_64-Linux version 3-1-3 (3132- 14350 )  Jul 27 2011 14:27:46
	factory(@(#) factoryVersion = 3.1.3),libfac(3.1.3,March 2011),
	GMP(4.3),NTL(5.5.2),64bit,static readline,Plural,DBM,
	dynamic modules,dynamic p_Procs,OM_CHECK=0,OM_TRACK=0,random=1311944470
	CC= gcc -march=k8 -O3 -w -fomit-frame-pointer -pipe -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H,
	CXX= g++ -march=k8 -O3 -w -fomit-frame-pointer --no-rtti -I.. -I/tmp/hannes -pipe -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H (4.4.5)
argv[0]   :	Singular
SearchPath:	/usr/local/Singular/3-1-3/x86_64-Linux/MOD:/usr/local/Singular/3-1-3/LIB
Singular  :	/usr/local/Singular/3-1-3/x86_64-Linux/Singular
BinDir    :	/usr/local/Singular/3-1-3/x86_64-Linux
RootDir   :	/usr/local/Singular/3-1-3
InfoFile  :	/usr/local/Singular/3-1-3/info/singular.hlp
IdxFile   :	/usr/local/Singular/3-1-3/doc/singular.idx
HtmlDir   :	/usr/local/Singular/3-1-3/html
ManualUrl :
ExDir     :	/usr/local/Singular/3-1-3/examples
Path      :	/usr/local/Singular/3-1-3/x86_64-Linux:/usr/local/bin:/usr/bin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5
EmacsDir  :	/usr/local/Singular/3-1-3/emacs
Available HelpBrowsers: info, builtin, dummy, emacs, 
Current HelpBrowser: info 
                     SINGULAR                                 /
 A Computer Algebra System for Polynomial Computations       /   version 3-1-3
 by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   March 2011
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \
> link l = "ssi:tcp snork";
> open(l);
// ** program not specified, using /usr/local/bin/Singular
> ring r = 0, (x,y,z), lp;
> ideal j = 3x3y+x3+xy3+y2z2, 2x3z-xy-xz3-y4-z2, 2x2yz-2xy2+xz2-y4;
> write(l, quote(std(eval(j))));
> close(l);
> exit;
Auf Wiedersehen.

After this, the Singular session on the compute server snork is still running.

Change History (1)

comment:1 Changed 12 years ago by Oleksandr

Resolution: wontfix
Status: newclosed

the remote session will be terminated eventually upon the next message read

Note: See TracTickets for help on using tickets.