| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <499EBABE.8080303@gmail.com> |
| Date: | Fri, 20 Feb 2009 14:14:22 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| CC: | cygwin AT cygwin DOT com |
| Subject: | Re: [ANNOUNCEMENT] [1.7] Updated: file-5.00-1 |
| References: | <announce DOT 20090210093102 DOT GB11175 AT calimero DOT vinschen DOT de> <499E2B9A DOT 5030907 AT cwilson DOT fastmail DOT fm> <20090220095916 DOT GA759 AT calimero DOT vinschen DOT de> <499EB5A6 DOT 5000707 AT gmail DOT com> |
| In-Reply-To: | <499EB5A6.5000707@gmail.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Dave Korn wrote:
> Corinna Vinschen wrote:
>> Apparently. I rebased the DLL alone and afterwards file simply stopped
>> working. The DLL has a base address of 0x6a500000. Even rebasing to
>> the very same address results in a coredump!
> Nope, I can't reproduce it yet.
I can now, but not by rebasing to the exact same address; did something just
go amiss in your testing of that particular case maybe?
DKAdmin AT ubik /bin
$ rebase -v -b 0x6b500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6b500000, new size = 20000
DKAdmin AT ubik /bin
$ ./file.exe ./file.exe
1 [main] file 1556 _cygtls::handle_exceptions: Error while dumping state
(probably corrupted stack)
Segmentation fault (core dumped)
It's reversible, too!
DKAdmin AT ubik /bin
$ rebase -v -b 0x6a500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6a500000, new size = 20000
DKAdmin AT ubik /bin
$ ./file.exe ./file.exe
./file.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
DKAdmin AT ubik /bin
$ rebase -v -b 0x6b500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6b500000, new size = 20000
DKAdmin AT ubik /bin
$ ./file.exe ./file.exe
1 [main] file 1404 _cygtls::handle_exceptions: Error while dumping state
(probably corrupted stack)
Segmentation fault (core dumped)
DKAdmin AT ubik /bin
$ rebase -v -b 0x6a500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6a500000, new size = 20000
DKAdmin AT ubik /bin
$ ./file.exe ./file.exe
./file.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
DKAdmin AT ubik /bin
Ok, now I'll try debugging it.
cheers,
DaveK
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |