From: Justin Madru <jdm64@gawab.com>
To: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: "Justin P. Mattock" <justinmattock@gmail.com>,
Jesper Juhl <jj@chaosbits.net>,
lkml <linux-kernel@vger.kernel.org>,
John Stoffel <john@stoffel.org>, Ingo Molnar <mingo@elte.hu>,
"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [bisected] 2.6.29-rc1 Firefox crashing on page load
Date: Mon, 19 Jan 2009 22:19:51 -0800 [thread overview]
Message-ID: <49756D07.7080804@gawab.com> (raw)
In-Reply-To: <49752823.9020403@ct.jp.nec.com>
Hiroshi Shimamoto wrote:
> Justin Madru wrote:
>> Ok, finally bisected the bug, but the commit isn't related to networking!
>> I did: git revert 4217458dafaa57d8e26a46f5d05ab8c53cf64191
>> on current git and that fixed the bug.
>>
>> By the way, how do I undo my git revert, so I'm back to a pristine tree?
>> I want to drop my changes - the revert.
>> Also how do I find the commit that merged/pulled in this commit?
>>
>> commit 4217458dafaa57d8e26a46f5d05ab8c53cf64191
>> Author: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>> Date: Fri Dec 5 17:17:09 2008 -0800
>>
>> x86: signal: change type of paramter for sys_rt_sigreturn()
>>
>> Impact: cleanup on 32-bit
>>
>> Peter pointed this parameter can be changed.
>>
>> Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
>> Signed-off-by: Ingo Molnar <mingo@elte.hu>
>
> Hi,
> thanks for reporting.
>
> I'm not sure why this commit affects.
> Can you check vmlinux? size, objdump, etc.
> On my environment, the generated code looks same.
>
> Thanks,
> Hiroshi
>
I tried to do an objdump but it gave an error. How am I suppose to do an
objdump?
$ objdump -x /boot/vmlinuz-2.6.29-rc2-git
objdump: /boot/vmlinuz-2.6.29-rc2-git: File format not recognized
$ readelf -a /boot/vmlinuz-2.6.29-rc2-git
readelf: Error: Unable to seek to 0xc031f2eb for section headers
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
$ ls -la /boot/vmlinuz-2.6.29-rc2-git
-rw-r--r-- 1 root root 2286480 2009-01-19 18:44 /boot/vmlinuz-2.6.29-rc2-git
Anyways, I've uploaded the extracted data.tar.gz file from the kernel
deb file created when I
build a kernel (I use ubuntu and make-kpkg). The archive includes the
kernel, config, system.map
and modules that I used. The files can be found at
http://jdserver.homelinux.org/bugreports/002/
There are 2 files: data-norevert.tar.bz2 is a build without the revert,
data-revert.tar.bz2 has the revert.
I think peter annema might have have a reason why it's crashing firefox.
If sizeof(struct pt_regs) != sizeof(unsigned long) the the stack could
become
unbalanced if other code is not expecting a struct pt_regs.
Peter Annema wrote:
> > #ifdef CONFIG_X86_32
> > -asmlinkage int sys_rt_sigreturn(unsigned long __unused)
> > +asmlinkage int sys_rt_sigreturn(struct pt_regs regs)
> > {
> > - struct pt_regs *regs = (struct pt_regs *)&__unused;
> > -
> > - return do_rt_sigreturn(regs);
> > + return do_rt_sigreturn(®s);
> > }
>
> Is sizeof(struct pt_regs) different from sizeof(unsigned long)? If so,
> is some
> code somewhere messing with the stack and not expecting a struct
> pt_regs to have
> been put on it?
Justin Madru
next prev parent reply other threads:[~2009-01-20 6:20 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-16 20:56 2.6.29-rc1 Firefox crashing on page load Justin Madru
2009-01-17 2:28 ` Justin Madru
2009-01-17 3:27 ` John Stoffel
2009-01-17 3:27 ` Justin P. Mattock
2009-01-17 8:48 ` Justin Madru
2009-01-17 9:10 ` Justin P. Mattock
2009-01-17 20:21 ` Jesper Juhl
2009-01-17 21:07 ` Justin Madru
2009-01-17 22:51 ` Justin P. Mattock
2009-01-18 0:05 ` Justin Madru
2009-01-18 0:46 ` Justin P. Mattock
2009-01-18 2:06 ` Justin Madru
2009-01-18 2:49 ` Justin P. Mattock
2009-01-20 0:32 ` [bisected] " Justin Madru
2009-01-20 1:06 ` Justin P. Mattock
2009-01-20 1:25 ` Hiroshi Shimamoto
2009-01-20 6:19 ` Justin Madru [this message]
2009-01-20 18:28 ` Hiroshi Shimamoto
2009-01-20 19:22 ` Justin Madru
2009-01-20 19:48 ` Hiroshi Shimamoto
2009-01-21 2:39 ` Justin Madru
2009-01-21 3:04 ` Hiroshi Shimamoto
2009-01-20 1:39 ` Peter Annema
2009-01-20 7:15 ` Heiko Carstens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49756D07.7080804@gawab.com \
--to=jdm64@gawab.com \
--cc=h-shimamoto@ct.jp.nec.com \
--cc=hpa@zytor.com \
--cc=jj@chaosbits.net \
--cc=john@stoffel.org \
--cc=justinmattock@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.