<body><div id="__MailbirdStyleContent" style="font-size: 12pt;font-family: calibri;color: #000000">
                                        Hi Max,<div><br></div><div>quick guess: "CurrentReadOnlySouceFiles" is a subclass of "Exception". There was a discussion about it last year on this list. So, if you catch too many exceptions in head-less mode (?), you cannot access the source code for a "CompiledMethod" anymore.</div><div><br></div><div>Best,</div><div>Marcel</div><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
                        <p style="color: #AAAAAA; margin-top: 10px;">Am 08.10.2017 20:54:24 schrieb David T. Lewis <lewis@mail.msen.com>:</p>On Sun, Oct 08, 2017 at 06:20:31PM +0200, Max Leske wrote:<br>> Hi,<br>> <br>> We have a problem with the Seaside tests in Squeak 5.1. The underlying<br>> issue is that source code lookup fails in headless mode on Linux (not<br>> reproducible on macOS). To reproduce evaluate in headless mode:<br>> <br>> Object compile: 'foobar ^ [ 1+ 2] value "blah"'. (Object>>#foobar)<br>> getSourceFromFileAt: (Object>>#foobar) trailer sourcePointer.<br>> <br>> This will signal an error (RemoteString past end of file). (Note: I checked<br>> the alternative conditions in CompiledMethod>>#getSource: the method<br>> trailer has no temp names, no #source property but has a source pointer).<br>> <br>> I would appreciated it if someone would look into this.<br>> <br>> Cheers,<br>> Max<br>> <br>> <br>> <br>> Environment:<br>> Ubuntu 14.04 and 17.04<br>> 32-bit<br><br><br>I tried putting your example code into a start script (a file that is evaluated<br>at image startup), and I get the same error. This is on an image with display open<br>(not headless), so it may not be related to headlessness.<br><br>I am not sure what the issue is here, but it will probably be easier to debug<br>with the display open :-)<br><br>Dave<br><br><br>
                        </blockquote>
                                        </div></body>