From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fa3517ae578a23ad,start X-Google-Attributes: gidfee84,public From: jmdta80@aol.com (JmdTA80) Subject: Problem with a Motif custom dialog Date: 1995/12/01 Message-ID: <49np9k$rio@newsbf02.news.aol.com>#1/1 X-Deja-AN: 120605537 sender: root@newsbf02.news.aol.com organization: America Online, Inc. (1-800-827-6364) reply-to: jmdta80@aol.com (JmdTA80) newsgroups: comp.unix.osf.osf1 I am designing a motif user application and I am having a problem with one of my custom dialogs. All my dialogs are created/compiled in UIL form. I have acallback installed for the OK button which when called will store information based on what was entered in the dialog. When the OK button is depressed my callback gets called, I store my information, and then I remove the dialog using XtPopdown(). The problem is my application terminates sometimes when XtPopdown() gets called or when my OK callback returns. I have debugged this using the Motif debugger and found out that the malloc chain gets messed up during the XtPopdown() call stack and I get a segmentation violation in XtRealFree. If it fails during the OK callback list I get a SIGNALLED 11 (segv) in p1 [XClearArea]. My library line is LIB=-L/usr/X/lib -lDnD -lDt -lMrm -lXm -lXmu -lXext -lXt -lX11 -lnsl -lXol The application runs on the following hardware and software: Gateway 200 P5-100 Novell Netware 2.01 Motif Version 1.2 Any help would be appreciated. Jerry JmdTA80@aol.com