help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Error while opening URL via FileStream


From: Stefan Krecher
Subject: Re: [Help-smalltalk] Error while opening URL via FileStream
Date: Fri, 15 Jun 2012 12:14:26 +0200

Hi,
thanks for the strace-tip - i noticed that NetClients could not get
loaded - i fixed this, but now gst dies after opening the FileStream
(on Android), here are the last lines of the strace log, i have no
idea what's happening ...

connect(3, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("208.118.235.148")}, 16) = -1 EINPROGRESS
(Operation now in progress)
sigprocmask(SIG_BLOCK, ~[QUIT ILL ABRT BUS SEGV], [QUIT TRAP USR2 PIPE
ALRM STKFLT CHLD]) = 0
sigprocmask(SIG_SETMASK, [QUIT TRAP USR2 PIPE ALRM STKFLT CHLD], NULL) = 0
poll([{fd=3, events=POLLOUT}], 1, 0)    = 0
sigaction(SIGIO, {0x3e338, ~[QUIT ILL ABRT BUS SEGV], 0}, {SIG_IGN}, 0) = 0
sigaction(SIGURG, {0x3e338, ~[QUIT ILL ABRT BUS SEGV], 0}, {SIG_IGN},
0xa999c) = 0
fcntl64(3, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC) = 0
getpid()                                = 14499
fcntl64(3, F_SETOWN, 14499)             = 0
poll([{fd=3, events=POLLOUT}], 1, 0)    = 0
sigprocmask(SIG_BLOCK, ~[QUIT ILL ABRT BUS SEGV], [QUIT TRAP USR2 PIPE
ALRM STKFLT CHLD]) = 0
sigprocmask(SIG_SETMASK, [QUIT TRAP USR2 PIPE ALRM STKFLT CHLD], NULL) = 0
sigprocmask(SIG_BLOCK, ~[QUIT ILL ABRT BUS SEGV], [QUIT TRAP USR2 PIPE
ALRM STKFLT CHLD]) = 0
sigsuspend([])                          = -1 EINTR (Interrupted system call)
--- SIGIO (I/O possible) @ 0 (0) ---
)  = 29
sigaction(SIGIO, {0x3e338, ~[QUIT ILL ABRT BUS SEGV], 0}, {0x3e338,
~[QUIT ILL ABRT BUS KILL SEGV STOP], 0}, 0x4057d378) = 0

2012/6/15 Paolo Bonzini <address@hidden>:
> Il 15/06/2012 10:49, Stefan Krecher ha scritto:
>> st> PackageLoader fileInPackage: 'NetClients'
>> PackageLoader
>> st> (FileStream open: 'http://www.gnu.org/' mode: FileStream read) contents
>> Object: File error: Permission denied
>> SystemExceptions.FileError(Exception)>>signal (ExcHandling.st:254)
>> SystemExceptions.FileError class(Exception class)>>signal: 
>> (ExcHandling.st:161)
>> File class>>checkError: (File.st:83)
>> File class>>checkError (File.st:74)
>> File>>remove (File.st:526)
>
> Can you run it under strace to see what file is being removed?
>
> Paolo



-- 
Dipl.-Wirtsch.-Inf. Stefan Krecher
Neulander Str. 17, 27374 Visselhövede
Tel +49(0)4262 958848
mobil +49(0)172 3608616
http://krecher.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]