Re: Oops when using growisofs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Buesch <mb@...>
Cc: linux-kernel <linux-kernel@...>, Jens Axboe <axboe@...>
Date: Sunday, June 22, 2008 - 5:22 pm

On Sunday 22 June 2008, Michael Buesch wrote:

access at offset 8 of a NULL pointer, maybe bh->b_this_page?


Ok, important information: ppc64 architecture. It would be nice to mention
in the bug report, but here we can see it as well.


task was kded, i.e. not growisofs itself, thouh growisofs is probably the one
that has caused this problem (by exausting memory).


Note: r9 and r3 are both NULL pointers. r3 is the value returned from alloc_page_buffers.
R9 is a copy of that, which gets accessed.


a simple file read, from a random process.


4800000c is the branch to alloc_page_buffers
7d695b78 copies the return value of that to r9
e9690008 dereferences r9

Evidently, alloc_page_buffers got an out of memory condition, which was not caught
by create_empty_buffers. No idea how it should be handled, but the fact that it's
not looks like a bug to me ;-).

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Oops when using growisofs, Michael Buesch, (Sun Jun 22, 12:18 pm)
Re: Oops when using growisofs, Arnd Bergmann, (Sun Jun 22, 5:22 pm)
Re: Oops when using growisofs, Michael Buesch, (Sun Jun 22, 6:05 pm)
Re: Oops when using growisofs, Michael Buesch, (Sun Jun 22, 6:28 pm)
Re: Oops when using growisofs, Andrew Morton, (Mon Jun 23, 2:34 am)
Re: Oops when using growisofs, Jan Kara, (Tue Jun 24, 1:28 pm)
Re: Oops when using growisofs, Michael Buesch, (Tue Jun 24, 2:39 pm)
Re: Oops when using growisofs, Jan Kara, (Wed Jun 25, 5:37 am)
Re: Oops when using growisofs, Michael Buesch, (Wed Jun 25, 5:46 am)
Re: Oops when using growisofs, Jan Kara, (Thu Jun 26, 1:05 pm)
Re: Oops when using growisofs, Jens Axboe, (Thu Jun 26, 2:11 pm)
Re: Oops when using growisofs, Michael Buesch, (Thu Jun 26, 2:21 pm)
Re: Oops when using growisofs, Jens Axboe, (Thu Jun 26, 2:36 pm)
Re: Oops when using growisofs, Andrew Morton, (Tue Jul 22, 5:25 am)
Re: Oops when using growisofs, Jan Kara, (Wed Jul 9, 2:46 pm)
Re: Oops when using growisofs, Michael Buesch, (Sun Jun 29, 3:39 pm)
Re: Oops when using growisofs, Michael Buesch, (Thu Jun 26, 2:39 pm)
Re: Oops when using growisofs, Jens Axboe, (Thu Jun 26, 2:41 pm)
Re: Oops when using growisofs, Arnd Bergmann, (Tue Jun 24, 9:42 pm)
Re: Oops when using growisofs, Nick Piggin, (Mon Jun 23, 2:59 am)
Re: Oops when using growisofs, Arnd Bergmann, (Sun Jun 22, 5:31 pm)
Re: Oops when using growisofs, Michael Buesch, (Sun Jun 22, 6:09 pm)