Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001326 [Squeak] VM minor always 06-08-05 15:37 01-08-11 18:51
Reporter saidani View Status public  
Assigned To lewis
Priority normal Resolution open  
Status assigned   Product Version 3.7
Summary 0001326: [BUG] PseudoTTY broken in 3.7-7
Description Compile the VM with the PseudoTTY plugin then load PseudoTTY.st
Try a do it on PseudoTTY example : it fails (could not create pty or process)
and /PseudoTTYPlugin: undefined symbol: sqUnixAsyncFileSessionID

The problem is that AsyncFilePlugin is not loaded properly, a work around is to
call AsyncFile new test: 10000 fileName: 'testData'
and the PseudoTTY example works (euh sometimes, don't know why)
Additional Information
Attached Files

- Relationships
child of 0006671closed tim Build VMMaker for 3.9 

- Notes
(0002454 - 767 - 1146 - 1146 - 1146 - 1146 - 1146)
saidani
08-20-05 05:07

It seems that there is two problems :
first one :
in sqUnixPseudoTTYPlugin.c

/* Ian says: never EVER #include things in the Unix Squeak sources
   using relative paths. Never. Ever. Period. Write a Makefile.inc
   with the right XCPPFLAGS instead. Having said that... */

#include "../AsyncFilePlugin/sqUnixAsynchFile.h"
I replace it by copying the adequate file and give up the relative path
#include "sqUnixAsynchFile.h"

second one:
a syntax error in the PseudoTTYPlugin
initialiseModule
    self export: true.
    "We have to load AsyncFile first, to get the sessionID."
    interpreterProxy ioLoadFunction: 'initializeModule' From: 'AsynchFilePlugin'.
    ^ self
        cCode: 'ptyInit()'
        inSmalltalk: [true]

initialzeModule --> initialiseModule !
 
(0002467 - 237 - 261 - 261 - 261 - 261 - 261)
saidani
08-21-05 04:51

Ok, find a new weird things : another syntax error here
Squeak-3.7-7/platforms/unix/plugins/PseudoTTYPlugin$ vi Makefile.inc
XCPPFLAGS= -I$(topdir)/platforms/unix/plugins/AsyncFilePlugin

AsyncFilePlugin must become AsynchFilePlugin
 
(0011612 - 26 - 26 - 26 - 26 - 26 - 26)
tim
12-29-07 03:31

Would need Ian's attention
 

- Issue History
Date Modified Username Field Change
06-08-05 15:37 saidani New Issue
08-20-05 05:07 saidani Note Added: 0002454
08-21-05 04:51 saidani Note Added: 0002467
06-02-06 20:53 tim Status new => assigned
06-02-06 20:53 tim Assigned To  => tim
09-14-07 04:00 tim Relationship added child of 0006671
12-29-07 03:31 tim Note Added: 0011612
12-29-07 03:31 tim Assigned To tim =>
01-08-11 18:51 lewis Assigned To  => lewis


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
50 total queries executed.
36 unique queries executed.
Powered by Mantis Bugtracker