From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vegard Nossum" Subject: Re: recent -git: BUG in free_thread_xstate Date: Thu, 24 Jul 2008 02:02:28 +0200 Message-ID: <19f34abd0807231702u2c82f119pd2c756c96a1766e8@mail.gmail.com> References: <19f34abd0807231307y191c0ad7tfab4cda57ee88eb@mail.gmail.com> <19f34abd0807231445h79fac5cbwecd0563b74bc18ad@mail.gmail.com> <19f34abd0807231505w1a25c2bak329a622f3a287e97@mail.gmail.com> <19f34abd0807231545u5bc8b55fm768527a02268f111@mail.gmail.com> <19f34abd0807231550h4ba88a9qa27b1c9e5afc80cb@mail.gmail.com> <19f34abd0807231620q6d870bc0k74d176c9e5253ff3@mail.gmail.com> <1216857235.15519.189.camel@calx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: "Dmitry Adamushko" , "Jeff Garzik" , "Suresh Siddha" , LKML , "the arch/x86 maintainers" , "Paul E. McKenney" , "Ingo Molnar" , "Peter Zijlstra" , netdev@vger.kernel.org, "Arnaldo Carvalho de Melo" To: "Matt Mackall" Return-path: In-Reply-To: <1216857235.15519.189.camel@calx> Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, Jul 24, 2008 at 1:53 AM, Matt Mackall wrote: > > On Thu, 2008-07-24 at 01:20 +0200, Vegard Nossum wrote: >> >> +extern void warn_on_slowpath(const char *file, int line); > > Mmm, fun. > >> >> [] warn_on_slowpath+0x4f/0x70 >> >> [] ? check_bytes_and_report+0x21/0xc0 >> >> [] ? __kfree_skb+0x34/0x80 >> >> [] ? check_bytes_and_report+0x21/0xc0 >> >> [] ? check_object+0xdf/0x1f0 >> >> [] ? check_bytes_and_report+0x21/0xc0 >> >> [] ? __kfree_skb+0x34/0x80 >> >> [] ? check_object+0xdf/0x1f0 >> >> [] ? find_skb+0x3c/0x80 >> >> [] skb_copy_and_csum_dev+0xee/0x100 >> >> [] rtl8139_start_xmit+0x57/0x130 >> >> [] ? __kmalloc_track_caller+0x8b/0x120 >> >> [] netpoll_send_skb+0x14e/0x1a0 >> >> [] netpoll_send_udp+0x1e4/0x210 > > Trying to warn_on from inside a network driver from inside netpoll may > cause trouble. Yeah.. but apparently it was fine? I'll try to disable netconsole and see if I can still get the crash. BTW, I posted this earlier (but without all the Ccs, and without my debugging patch): ============================================================================= BUG task_struct: Poison overwritten ----------------------------------------------------------------------------- INFO: 0xf3d00000-0xf3d0006b. First byte 0x1 instead of 0x6b INFO: Allocated in copy_process+0x68/0x1130 age=4 cpu=0 pid=4338 INFO: Freed in free_task+0x2c/0x30 age=2 cpu=0 pid=4 INFO: Slab 0xc1c25c00 objects=8 used=3 fp=0xf3d00000 flags=0x400020c3 INFO: Object 0xf3d00000 @offset=0 fp=0xf3d03fc0 Object 0xf3d00000: 01 40 66 00 00 16 ec ee ad b9 00 1c 26 8a 70 f8 Object 0xf3d00010: 08 00 45 00 00 54 00 00 40 00 40 01 b7 e8 c0 a8 Object 0xf3d00020: 00 c4 c0 a8 00 ac 08 00 6e c0 df 24 55 33 75 af And I just realized that c0 a8 00 c4 is my IP address, 192.168.0.196 :-) So _something_ seems to be up with networking :-) (And this is in task_struct! Wow...) Vegard -- "The animistic metaphor of the bug that maliciously sneaked in while the programmer was not looking is intellectually dishonest as it disguises that the error is the programmer's own creation." -- E. W. Dijkstra, EWD1036