Re: sparse segfault in kernel -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 6 Mar 2007 14:28:24 -0800 Christopher Li wrote:

> Here is my version base on your email.
> 
> I need to change the gcc include path though. But it does not crash on me.
> 
> I did not get crash on allmodconfig either.

gdb backtrace of sparse segfault:


(gdb) set args vioc_prov.i
(gdb) run
Starting program: /home/rddunlap/bin/sparse vioc_prov.i

Program received signal SIGSEGV, Segmentation fault.
0x000000000040fd63 in expand_expression (expr=<value optimized out>)
    at expand.c:875
875                     if (a && a->ctype->bit_size && bit_offset(a) == bit_offset(b)) {
(gdb) bt
#0  0x000000000040fd63 in expand_expression (expr=<value optimized out>)
    at expand.c:875
#1  0x00000000004105a9 in expand_symbol (sym=<value optimized out>)
    at expand.c:993
#2  0x0000000000404581 in check_symbols (list=<value optimized out>)
    at sparse.c:265
#3  0x000000000040492a in main (argc=<value optimized out>, 
    argv=<value optimized out>) at sparse.c:280
(gdb) 



> Chris
> 
> On 3/6/07, Randy Dunlap <rdunlap@xxxxxxxxxxxx> wrote:
> > On Tue, 06 Mar 2007 13:19:37 -0500 Pavel Roskin wrote:
> > OK, that produced a large .i file and running:
> >   sparse vioc_provision.i
> > does reproduce the segfault, so now I am cutting down the size of
> > the .i file, then I'll send it in.


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux