Article

17 views
Skip to first unread message

Murali Krishnan

unread,
Apr 17, 2020, 1:34:40 PM4/17/20
to xos-developers

Hi All, 

  This is an article on expos written by Mr. Deepu Benson, a research
scholar at IIT Palakkad who was one of  the instructors who conducted the course at IIT Palakad. 



There is one issue reported here.  Can someone try to fix this.

The package readline-dev is not available in Linux operating systems like Fedora. I have tried with equivalent packages like readline-devel on Fedora. But so far, I have been unable to install eXpOS on Fedora, and I will be very happy if somebody could help me do so.

Hope everyone is in space and doing fine. 
Murali

Deepak Sirone

unread,
Apr 17, 2020, 9:41:42 PM4/17/20
to XOS Developers
Dear Murali sir,

Hope you are doing well and are safe.

I am running Fedora 29 and both the packages at https://exposnitc.github.io/support_tools-files/setting-up.html seem to build for me. I have the packages readline-7.0-12.fc29.x86_64 and readline-devel-7.0-12.fc29.x86_64 installed on my machine.

Hope this helps.

Warm regards,
Deepak

Faris Shajahan

unread,
Apr 18, 2020, 1:11:31 AM4/18/20
to xos-dev...@googlegroups.com
Sir,

I have just verified the setup on a Fedora 31 machine. I was able to get it running by installing the "readline-devel", "byacc" and the "flex-devel" packages.

Could you please update the person regarding the same?

Regards,
Faris

--
You received this message because you are subscribed to the Google Groups "XOS Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xos-developer...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/xos-developers/db02203d-39ec-4130-a456-f3a0b9d5ec75%40googlegroups.com.

Murali Krishnan

unread,
Apr 18, 2020, 11:05:23 AM4/18/20
to xos-developers
Thanks.  Nice to hear from Deepak.  I will contact Dipu Benson and get back if there are further issues. 

Faris Shajahan

unread,
Apr 19, 2020, 12:18:53 AM4/19/20
to xos-dev...@googlegroups.com
Sir,
I've updated the setup instructions on the website with the addition of commands for  Red Hat based distros and Arch Linux. I hope it will be sufficient to resolve a similar situation in the future.

Regards,
Faris.

Murali Krishnan

unread,
Apr 19, 2020, 6:56:04 AM4/19/20
to xos-developers
Fariz,
  It is on the roadmap stage 1 page - right ?  I think this link also requires an update:  http://exposnitc.github.io/support_tools-files/setting-up.html
 
  BTW, could you please update the release notes sometime.  It is too outdated.  I think there have been many updates this academic year whose update is pending.  

  Another issue that was reported was that when strings with special characters were read as input using the IN instruction (or MOV instruction), the machine
  was crashing.  The same problem was found when file names contained special characters in xfsinterface.  I think Nikhil had solved the issue.  Could you please
  check whether the software is correctly updated and release notes updated.

Murali



Nikhil Sojan

unread,
Apr 19, 2020, 9:41:35 AM4/19/20
to xos-developers
Sir
I didn't find any issues loading files with names having special characters like ',' '?' ';' etc.. using xfs-interface. There in't any particular check in filename extraction rather than length of the filename. So whatever the name of the file, it gets loaded. Do you happen to know what the exact error was?
Nikhil

Murali Krishnan

unread,
Apr 20, 2020, 1:29:05 AM4/20/20
to xos-developers
I am unable to extract the exact email communication.  Trying to report the issue, as I understood it. 
(If I remember it right, Nikhil had fixed it at that time). 

Issue 1:
  Suppose someone's code contains. 
  MOV R0, "abx%&*"   /*or some weird combination like this".  */   
  CMP R0, R1.
  MOV [LOC], R0    
  MOV R1, [LOC]    /* one of these instructions created error - I don't remember which one */
  The machine was crashing (segmentation fault core dumped).  

Issue 2:
  In the lab, on otherwise working file system code written by a student, when an application program (ExpL code) contained:    
  Create("abx%&*"),    /*  or something like this */
  The resultant XSM code (after ExpL compilation) when run on the simulator again gave "segmentation fault core dumped". 

Issue 3:
A file name "abx%&*.xsm" was created and then loaded to XFS disk.    When ExpL code containing  Exec("abx%&*.xsm)  was
compiled and run, segmentation fault core error appeared. 

Issue 4: 
A file name "abx%&*.dat" was created and then loaded to the XFS disk.    When ExpL code containing  Open("abx%&.dat*)  was
compiled and run, segmentation fault core error appeared. 

In all the above, the underlying problem appears to be common. 
Could you please try a few weird combinations like these once again and check.  If these errors can't be reproduced, we will assume that the issue is fixed,
till someone reports it again :-)







Nikhil Sojan

unread,
Apr 20, 2020, 4:09:17 AM4/20/20
to xos-developers
Sir,
The cases in issues 2, 3 and 4 worked fine. In issue 1, I wasn't quite sure how to create instruction 4. The other three caused no error.
Nikhil

Murali Krishnan

unread,
Apr 20, 2020, 5:39:43 AM4/20/20
to xos-developers
For instruction 4, I was suggesting running some assembly code that first stores a string (with special characters) into a memory location and then reads it back into a register. 


Nikhil Sojan

unread,
Apr 20, 2020, 10:16:05 AM4/20/20
to xos-developers
Sir, 
A conditional statement followed by write("abx%&*") seem to have all four of these instructions (in issue 1) in the corresponding xsm code and it works. 
Nikhil

Karunakaran Murali Krishnan

unread,
Apr 20, 2020, 2:46:21 PM4/20/20
to xos-dev...@googlegroups.com
I think, we can close this issue now, till it props up again.
BTW, could you please update the release notes. 

Nikhil Sojan

unread,
Apr 21, 2020, 12:19:56 AM4/21/20
to xos-developers
Sir, 
Okay. And release notes are updated until the recent changes made by Faris on the packages to be installed for Fedora. Will update that today
Nikhil


Murali Krishnan

unread,
Apr 21, 2020, 1:49:29 AM4/21/20
to xos-developers
Okey.  Just send a mail to the group after everything is done. 

Faris Shajahan

unread,
Apr 23, 2020, 5:24:08 AM4/23/20
to xos-dev...@googlegroups.com
Sir,

All release notes updates are complete.

Faris.a

Reply all
Reply to author
Forward
0 new messages