home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18911 < prev    next >
Encoding:
Internet Message Format  |  1992-12-24  |  2.2 KB

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