home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / aix / 11555 < prev    next >
Encoding:
Internet Message Format  |  1992-11-13  |  1.6 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!orthogo!orthogo.uucp!basti
  2. From: basti@orthogo.uucp (Sebastian Wangnick)
  3. Newsgroups: comp.unix.aix
  4. Subject: 3.2.2 libc.a breaks OSF/Motif TextWidget !!!
  5. Message-ID: <1563@dino.orthogo.uucp>
  6. Date: 13 Nov 92 11:58:56 GMT
  7. Sender: news@orthogo.uucp
  8. Organization: Orthogon System GmbH, Bremen, Germany
  9. Lines: 42
  10. Nntp-Posting-Host: dino
  11.  
  12. After installation of PTF U406391 (with dependants) the following code
  13.  
  14.     #include <X11/Intrinsic.h>
  15.     #include <Xm/Text.h>
  16.     int main (unsigned int argc, char * argv[]) {
  17.             Widget Toplevel = XtInitialize("toplevel","Ods",NULL,0,&argc,argv);
  18.             XmCreateText(Toplevel,"text",NULL,0);
  19.             }
  20.  
  21. compiled by either 
  22.  
  23.     cc -o xmtext xmtext.c -lXm -lXt -lX11
  24.     gcc -o xmtext xmtext.c -lXm -lXt -lX11
  25.     xlC -o xmtext xmtext.c -lXm -lXt -lX11
  26.  
  27. produces 
  28.  
  29.     Illegal instruction (core dumped)
  30.  
  31. within the call to XmCreateText. The same happenes when using XmCreateWidget.
  32. It seems that some nasty modification to libc.a breaks the existing
  33. Text Widget code:
  34.  
  35.     dbx version 3.1 for AIX.
  36.     Type 'help' for help.
  37.     reading symbolic information ...
  38.     [using memory image in core]
  39.  
  40.     illegal instruction (reserved addressing fault) in . at 0x0
  41.     0x0 0003ff2f       Invalid opcode.
  42.     (dbx) where
  43.     warning: could not locate trace table from starting address 0x0
  44.     Could not determine current function
  45.  
  46. The best idea is probably to reject the applied fix?
  47. Any comments are welcome.
  48.  
  49. -- 
  50. Sebastian Wangnick   Orthogon System GmbH
  51. (basti@orthogo.uucp) Linzer Strasse 4
  52. Tel +49 421 219136   D-2800 Bremen 33
  53. Fax +49 421 213093   Germany
  54.