Re: Bus error

2008-12-06 Thread Bruno Haible
Thomas J. Duck wrote:
   I have installed m4-1.4.12 on my Mac OS X 10.4 system.  'Make
  check' results in the error below.  If there is any further information
  you need, please let me know. --Tom
 
  Checking ./stackovf.test
  Stack soft limit set to 300K
  Failure - m4 aborted unexpectedly
  Output from m4:
  m4: internal error detected; please report this bug to [EMAIL PROTECTED]:
  Bus error

There is some chance that this test failure might be fixed by the patch I just
committed into gnulib.

Bruno




Re: Bus error

2008-12-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[adding bug-gnulib, as the owner of the c-stack module]

According to Thomas J. Duck on 12/3/2008 6:49 PM:
 

Hello Thomas,

 
  I have installed m4-1.4.12 on my Mac OS X 10.4 system.  'Make
 check' results in the error below.  If there is any further information
 you need, please let me know. --Tom
 
 Checking ./stackovf.test
 Stack soft limit set to 300K
 Failure - m4 aborted unexpectedly
 Output from m4:
 m4: internal error detected; please report this bug to [EMAIL PROTECTED]:
 Bus error

Thanks for the report.  Did you build with libsigsegv installed, and if
so, which version?  I know that older versions of libsigsegv are buggy on
MacOS, although I don't have access to a Mac machine myself.  On the other
hand, if this is without libsigsegv, then that represents a bug where
c-stack should be made more robust, if possible.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk3O4oACgkQ84KuGfSFAYDglQCeKiVhI2faIYIH1HqJcsmNlxMx
EA8An0qAl1RnmssBcRTl7l2aTCiviZC/
=IsHP
-END PGP SIGNATURE-




Re: Bus error

2008-12-03 Thread Thomas J. Duck

Hi Eric,

 Thanks for your email -- the quickest response to a bug report  
ever!


 'locate libsigsegv' turns up nothing.

 If you have other tests that you would like me to run, please  
let me know.  I'm happy to help where I can.


Cheers,
Tom

--

On 3-Dec-08, at 10:08 PM, Eric Blake wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[adding bug-gnulib, as the owner of the c-stack module]

According to Thomas J. Duck on 12/3/2008 6:49 PM:




Hello Thomas,



 I have installed m4-1.4.12 on my Mac OS X 10.4 system.  'Make
check' results in the error below.  If there is any further  
information

you need, please let me know. --Tom

Checking ./stackovf.test
Stack soft limit set to 300K
Failure - m4 aborted unexpectedly
Output from m4:
m4: internal error detected; please report this bug to bug- 
[EMAIL PROTECTED]:

Bus error


Thanks for the report.  Did you build with libsigsegv installed,  
and if
so, which version?  I know that older versions of libsigsegv are  
buggy on
MacOS, although I don't have access to a Mac machine myself.  On  
the other

hand, if this is without libsigsegv, then that represents a bug where
c-stack should be made more robust, if possible.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk3O4oACgkQ84KuGfSFAYDglQCeKiVhI2faIYIH1HqJcsmNlxMx
EA8An0qAl1RnmssBcRTl7l2aTCiviZC/
=IsHP
-END PGP SIGNATURE-


--

Thomas J. Duck [EMAIL PROTECTED]

Associate Professor,
Department of Physics and Atmospheric Science, Dalhousie University,
Halifax, Nova Scotia, Canada, B3H 3J5.
Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813
Web: http://aolab.phys.dal.ca/






Re: Bus error

2008-12-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[please don't top-post]

According to Thomas J. Duck on 12/3/2008 7:29 PM:
 Hi Eric,
 
  Thanks for your email -- the quickest response to a bug report ever!
 
  'locate libsigsegv' turns up nothing.

It doesn't turn up anything for me, either, because it is not an
executable, but a library.  More to the point, you can find out if m4 is
using libsigsegv by inspecting your config.log output.  For example, when
I built a recent development copy of m4, my config.log contains:

configure:7054: checking for libsigsegv
configure:7082: result: yes
configure:7088: checking how to link with libsigsegv
configure:7090: result: -lsigsegv

and further searching turns up /usr/include/sigsegv.h which includes:

#define LIBSIGSEGV_VERSION 0x0204 /* version number: (major8) + minor */

so my machine has libsigsegv 2.4 installed (no known bugs when used on
cygwin, but according to the NEWS file, this version is buggy on at least
Mac, BSD, and Linux; 2.6 is the most recent release, but even that still
has bugs on fringe platforms like Irix that are only fixed in CVS libsigsegv).

 
  If you have other tests that you would like me to run, please let
 me know.  I'm happy to help where I can.

Are you comfortable using gdb (assuming you have that installed)?  Are you
able to figure out how to run the failing test under gdb such that you can
give a stack trace at the point where the SIGBUS occurred, or would you
like a step-by-step walkthrough?

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk3SO0ACgkQ84KuGfSFAYCx2ACeJ0qnSiRu4N3xMI5p79iog4Wa
KuAAn03GZ11VTmxFOlAZlDpbQveOGdQZ
=baiT
-END PGP SIGNATURE-