gtk with purify



Hi,

 

We built and ran a gtk application using gtk2.4.1 on Solaris 2.8. Then we purified it using Rational’s purify. When we run the purified application, the purify window comes up and the application dies. The purify window shows it received a SIGSEGV in a gtk initialization function. The same behavior happens when we tried running a purified gtk sample program. The non purified program works fine, but with the purified one the purify window shows a SEGV occurring in a startup function.

 

****  Purify instrumented base (pid 28870)  ****

ZPR: Zero page read:

  * This is occurring while in:

        type_class_init_Wm [gtype.c:1561]

        g_type_class_ref [gtype.c:2044]

        g_type_class_ref [gtype.c:2038]

        g_type_class_ref [gtype.c:2038]

        g_object_newv  [gobject.c:641]

        g_object_new_valist [gobject.c:764]

  * Reading 4 bytes from 0xc

 

****  Purify instrumented base (pid 28870)  ****

COR: Fatal core dump:

  * This is occurring while in:

        type_class_init_Wm [gtype.c:1561]

        g_type_class_ref [gtype.c:2044]

        g_type_class_ref [gtype.c:2038]

        g_type_class_ref [gtype.c:2038]

        g_object_newv  [gobject.c:641]

        g_object_new_valist [gobject.c:764]

  * Received signal 11 (SIGSEGV - Segmentation Fault)

  * Faulting address = 0xc

  * Signal mask: (SIGSEGV)

  * Pending signals:

 

 

Has anyone got purify to work with gtk on solaris

 

-Thanks



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