LWJGL
May 22, 2012, 04:30:31 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Sys.alert(...) causes giop_thread_request_push error console output  (Read 1502 times)
Ciardhubh
Talks Too Much
***
Posts: 159


« on: September 29, 2009, 04:05:37 »

I ran into something weird. Sys.alert(...) causes the following messages to be printed to the console after you exit an application:
Code:
** (<unknown>:6180): CRITICAL **: giop_thread_request_push: assertion `tdata != NULL' failed

** (<unknown>:6180): CRITICAL **: giop_thread_request_push: assertion `tdata != NULL' failed

** (<unknown>:6180): CRITICAL **: giop_thread_request_push: assertion `tdata != NULL' failed

** (<unknown>:6180): CRITICAL **: giop_thread_request_push: assertion `tdata != NULL' failed

** (<unknown>:6180): CRITICAL **: giop_thread_request_push: assertion `tdata != NULL' failed

Test code:
Code:
import org.lwjgl.Sys;

public class SysAlertTest {

    public static void main(String[] args) throws InterruptedException {
        // Yay, no more Toolkit instantiation needed ;)
        Sys.alert("Title", "Message!");
    }
}

Happens on Linux (Ubuntu 9, 32 bit, Nvidia 8800). It does NOT happen on Windows XP (32 bit, ATI 1250x ). Happens with LWJGL 2.1.0 and latest 2.2.0 #246.

It's not a bug per se, because everything appears to work as expected and alert windows show up. Just when the app finally finishes, these four five messages get printed to the console, i.e. not when Sys.alert(...) is actually called but when Java exits. Multiple calls to Sys.alert(...) do not change the number of printed error messages.

Thought I'd mention this because it took some time to find out which call was responsible since the output is delayed until the app quits; in case somebody else runs into this.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!