home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / unix / amiga / 233 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.2 KB

  1. Path: pellew.ntu.edu.au!morinda!hoffmann
  2. From: hoffmann@morinda.it.ntu.edu.au (Arthur Hoffmann)
  3. Newsgroups: comp.unix.bsd.netbsd.misc,comp.unix.amiga
  4. Subject: lingjmp broken! Postgres fails!
  5. Date: 24 Jan 1996 13:28:09 GMT
  6. Organization: Northern Territory University
  7. Message-ID: <4e5c59$qd8@pellew.ntu.edu.au>
  8. NNTP-Posting-Host: morinda.cs.ntu.edu.au
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. Hi
  12. I have installed postgres on my NetBSD1.1-amiga. The compile went
  13. quite well except for some minor problems.
  14. The problem is when I want to initialise the postgres database I get
  15. the following error message:
  16.  
  17. (the commands are done by the postgres user)
  18.  
  19. atze# initdb
  20. WARN:fmgr_info: function 0: cache lookup failed
  21.  
  22. longjmp botch.
  23. Illegal instruction - core dumped
  24. initdb: could not create template database
  25. initdb: cleaning up.
  26.  
  27.  
  28. Then I do a gdb -c postgres.core and get:
  29.  
  30. GDB 4.11 (m68k-netbsd), Copyright 1993 Free Software Foundation, Inc.
  31. Core was generated by `postgres'.
  32. Program terminated with signal 4, Illegal instruction.
  33. #0  0x21212b0 in ?? ()
  34. (gdb) 
  35.  
  36. What can I do to get around this problem? I really would like to be
  37. able to run this data base.
  38.  
  39.  
  40. Thank you all for your help.
  41.  
  42.  
  43. Actually I have sent this message a while back already and Alistair
  44. G. Crooks replied with the following:
  45.  
  46. > I've never seen this problem on the i386 port, which runs the
  47. > regression tests for pg95 1.0pl14 fine.  So I tried to find where the
  48. > 'longjmp botch' string was being printed.
  49.  
  50. He then said:
  51.  
  52.  
  53. > take a look at /usr/src/lib/libc/gen/setjmperr.c, and
  54. > /usr/src/lib/libc/arch/m68k/gen/_setjmp.S - the error is actually in
  55. > longjmp, when it checks to make sure that the stack pointer is
  56. > non-zero.
  57. > Unfortunately for you, for some reason your stack pointer is zero, and
  58. > so you bomb out.  From the comments in the first file, you could try
  59. > to define your own version of longjmperror.  Or try to fix longjmp in
  60. > the first place.
  61.  
  62. Well, as you probably all can guess: I wouldn't have a clue as to how
  63. to fix this. I really need some help here, please.
  64.  
  65. --
  66. Arthur.
  67.  
  68. __
  69. Arthur Hoffmann                    hoffmann@it.ntu.edu.au
  70. ========I need a Quantum LPS240 SCSI Hard disk: Dead or Alive=======
  71. ++++++++I need a SCSI Scanner - TWAIN compliant              +++++++
  72.