Inspect often fails

Tagged:
Project:GNU Smalltalk
Component:Base classes
Category:bug
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

For example... myVar inspect.

- Calling inspect from a system without gst-blox doesn't always work. Sometimes it stack dumps.
- Calling inspect from a system with gst-blox will try to open a graphical "inspect" window. Sometimes this window shows in the operating system but no output appears in it and then after about 30 secs it disappears. Sometimes GST gets in a loop generating inspect windows.

System documentation is...

inspect
  Print all the instance variables of the receiver on the Transcript

This doesn't imply that an X Window will get opened.

The "inspect" method is useful for debugging and when using a class that someone else has written to see what objects it returns. Please remove the "Windowing link" so that if a script is _not_ running inside gst-blox, then GST will dump output to Transcript and not try to open an XWindow.

Updates

#1 submitted by Paolo Bonzini on Thu, 03/05/2009 - 09:56

Can you provide a simple way to reproduce this?

Thanks!

#2 submitted by Paolo Bonzini on Fri, 03/06/2009 - 09:24
Status:active» duplicate

the root problem was the last one (deadlock if the transcript raises an exception), which I had split out to issue 283.

User login


Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: LOCK TABLES gst_cache_page WRITE</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em></em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: LOCK TABLES gst_variable WRITE</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_variable WHERE name = &amp;#039;poormanscron_lastrun&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_variable (name, value) VALUES (&amp;#039;poormanscron_lastrun&amp;#039;, &amp;#039;i:1422586401;&amp;#039;)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_cache WHERE cid = &amp;#039;variables&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_cache_filter WHERE expire != 0 AND expire &amp;lt; 1422609697</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_history WHERE timestamp &amp;lt; 1420017697</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: LOCK TABLES gst_variable WRITE</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_variable WHERE name = &amp;#039;node_cron_comments_scale&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_variable (name, value) VALUES (&amp;#039;node_cron_comments_scale&amp;#039;, &amp;#039;d:0.0434782608695652161845401906248298473656177520751953125;&amp;#039;)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_cache WHERE cid = &amp;#039;variables&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: LOCK TABLES gst_variable WRITE</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_variable WHERE name = &amp;#039;node_cron_views_scale&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_variable (name, value) VALUES (&amp;#039;node_cron_views_scale&amp;#039;, &amp;#039;d:1;&amp;#039;)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_cache WHERE cid = &amp;#039;variables&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_watchdog WHERE timestamp &amp;lt; 1422004897</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_flood WHERE timestamp &amp;lt; 1422606097</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, &amp;#039;cron&amp;#039;, &amp;#039;Cron run completed (via poormanscron).&amp;#039;, 0, &amp;#039;&amp;#039;, &amp;#039;http://smalltalk.gnu.org/project/issue/279&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;54.87.129.16&amp;#039;, 1422609697)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: LOCK TABLES gst_variable WRITE</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_variable WHERE name = &amp;#039;poormanscron_lastrun&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_variable (name, value) VALUES (&amp;#039;poormanscron_lastrun&amp;#039;, &amp;#039;i:1422609697;&amp;#039;)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_cache WHERE cid = &amp;#039;variables&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: LOCK TABLES gst_variable WRITE</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_variable WHERE name = &amp;#039;cron_last&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_variable (name, value) VALUES (&amp;#039;cron_last&amp;#039;, &amp;#039;i:1422609697;&amp;#039;)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: DELETE FROM gst_cache WHERE cid = &amp;#039;variables&amp;#039;</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', '54.87.129.16', 1422609697) in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, &amp;#039;cron&amp;#039;, &amp;#039;Akismet cron started at &amp;lt;em&amp;gt;09:21:37&amp;lt;/em&amp;gt;.&amp;#039;, 0, &amp;#039;&amp;#039;, &amp;#039;http://smalltalk.gnu.org/project/issue/279&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;54.87.129.16&amp;#039;, 1422609697)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '', ' in /home/content/75/3598575/html/includes/database.mysql.inc on line 172

Warning: The MySQL server is running with the --read-only option so it cannot execute this statement query: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>The MySQL server is running with the --read-only option so it cannot execute this statement\nquery: INSERT INTO gst_watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, &amp;#039;cron&amp;#039;, &amp;#039;Akismet cron completed at &amp;lt;em&amp;gt;09:21:37&amp;lt;/em&amp;gt;.&amp;#039;, 0, &amp;#039;&amp;#039;, &amp;#039;http://smalltalk.gnu.org/project/issue/279&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;54.87.129.16&amp;#039;, 1422609697)</em> in <em>/home/content/75/3598575/html/includes/database.mysql.inc</em> on line <em>172</em>.', 2, '', 'http://smalltalk.gnu.org/project/issue/279', '',  in /home/content/75/3598575/html/includes/database.mysql.inc on line 172