home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: straw@cam.nist.gov (Mike_Strawbridge_x3852)
- Newsgroups: fj.mail-lists.x-window
- Subject: selecting in Motif ScrolledList causes core dump
- Message-ID: <1992Dec25.000710.22561@sm.sony.co.jp>
- Date: 25 Dec 92 00:07:10 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: National Institute of Standards & Technology, Gaithersburg, MD
- Lines: 46
- Approved: michael@sm.sony.co.jp
-
- Date: 24 Dec 92 13:54:50 GMT
- Message-Id: <9956@oak.cam.nist.gov>
- Newsgroups: comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
- I posted this to comp.windows.x.motif but have received no responses yet ...
-
- I am running this on a Sun 4, SunOS 4.1.3, MIT X11R4 and Motif 1.1.
-
- In my application I have a List contained inside a Scrolled Window. The list
- has selectionPolicy set to BROWSE_SELECT. Sometimes, but not always, the
- following action will cause the application to dump core ...
-
- - Press the select mouse button and drag the cursor off the bottom of the
- list. The list scrolls to the bottom of the list and the last item is
- highlighted. ( i.e. the cursor is now outside of the scrolledList widget
- and the last item in the list is highlighted).
-
- - Now release the select key.
-
- The application dumps core with the following status from dbx:
-
- program terminated by signal SEGV (no mapping at the fault address)
- ClickElement() at 0x65e64
- BrowseScroll() at 0x66214
- DoOtherSources() at 0xf778174c
- XtAppNextEvent() at 0xf7781938
- XtAppMainLoop() at 0xf77799cc
-
- Note that it does not crash every time you do this. Most of the time
- it calls the XmBrowseSelectionCallback as expected.
-
- Does anyone know what going on here? I don't have Motif source. Is this
- a bug in Motif 1.1 or have I forgotten to configure something in the
- List/ScrolledWindow combination?
-
- Thanks.
-
- Mike
-
- -----------------------------------------------------------------------
- NAME: Michael Strawbridge TELE: (301) 975-3852
- USMAIL: National Institute of Standards ARPA: straw@cam.nist.gov
- and Technology UUCP: uunet!cme-durer!straw
- Rm. B-146, Bldg. 225
- Gaithersburg, MD 20899
-