This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] [1.7] Updated: file-5.00-1
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@ubik /bin
$ rebase -v -b 0x6b500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6b500000, new size = 20000
DKAdmin@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@ubik /bin
$ rebase -v -b 0x6a500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6a500000, new size = 20000
DKAdmin@ubik /bin
$ ./file.exe ./file.exe
./file.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
DKAdmin@ubik /bin
$ rebase -v -b 0x6b500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6b500000, new size = 20000
DKAdmin@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@ubik /bin
$ rebase -v -b 0x6a500000 ./cygmagic-1.dll
./cygmagic-1.dll: new base = 6a500000, new size = 20000
DKAdmin@ubik /bin
$ ./file.exe ./file.exe
./file.exe: PE32 executable for MS Windows (console) Intel 80386 32-bit
DKAdmin@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/