Bug Gtk or SGI ? please help ...


I just changed my machin, to a new SGI Octane R12000 with System 6.5.5,
and I got an awfull problem !

as soon as I use gtk in a program, It becomes impossible for me to use
purify or gdb.


#include <stdio.h>
#include <gtk/gtk.h>

int main(int argc, char *argv[])
  GtkWidget *window;

  printf(" glop 1 \n");

  gtk_init (&argc, &argv);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);

  printf(" glop  2 \n");



Problem  1 : PURIFY. when i run the program (test.c is compiled with cc,
purify is still incompatible with gcc ) :

      SIG: Signal handled
      This is occurring while in:
            mark_from_block [leaks.c:1604]
            _exit          [syscalls.c:5478]
            exit_certain   [fork.c:202]
            _SGIPT_libc_exit [fork.c:253]
            ptctl          [libcthread.c:149]
            __exit         [cuexit.c:60]
      Received signal 48 (SIGReserved48 - System reserved signal 48)
      Handler function:
            sched_handler  [vp.c:243]
      Signal mask: (SIGReserved48)
      Pending signals:

and then the program is stopped by purify .... No "glop"  appears :-( !


Problem  2 : Gdb, with ddd  ( test.c is compiled with cc OR gcc .....
same pb)

when i run the program, i got :

Starting program: /usr/people/laurent/test/test.c
warning: Signal ? does not exist on this system.

and then ...... cpu usage at 92% and nothing happens ! also ... no
"glop":-( !



Nothing is done in the main ( no "glop"  !)
But .... with no link with gtk .... everything is working fine .....


On system 6.4, I already had the message under ddd, but the program
still runned.


What do you think about this .... ?

please help .......


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