RE: mdemo ltdl failure

2007-03-16 Thread Dave Korn
On 16 March 2007 15:35, Charles Wilson wrote: Well, it's failing all the time for me, but I'm not sure it's a segfault. What does Hangup mean, when reported by the shell after executing the app: Good question, I don't know. It means SIGHUP. I've (almost) tracked down the error: it is

Re: mdemo ltdl failure

2007-03-16 Thread Charles Wilson
Dave Korn wrote: What's odd is that this bug in argz_insert() is very ticklish: it triggers on tests/mdemo/Makefile, but not when argz_insert is called with ./tests/mdemo/Makefile. Isn't that just exactly what you would expect, given that you're talking about sorting things in ascii order?

Re: mdemo ltdl failure

2007-03-16 Thread Charles Wilson
Charles Wilson wrote: I'll whip up a patch and post it to the newlib list. FYI, the patch is here: http://sourceware.org/ml/newlib/2007/msg00271.html Rebuilt cygwin-1.5.24-2 with this change, and it does fix the problem. -- Chuck -- Unsubscribe info:

Re: mdemo ltdl failure

2007-03-16 Thread Charles Wilson
Well, once I got the cygwin1.dbg stuff worked out, it was pretty easy to track down: it is a bug in newlib's argz_insert: Charles Wilson wrote: Here's the code from newlib's argz_insert: error_t _DEFUN (argz_insert, (argz, argz_len, before, entry), char **argz _AND size_t