[LLVMbugs] [Bug 2366] New: clamav miscompiles

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun May 25 20:34:05 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2366

           Summary: clamav miscompiles
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu


$ ./clamscan.llc --debug --verbose -d${PROJ_SRC_DIR}/dbdir -r
${PROJ_SRC_DIR}/inputs/*

  [...]

  Initialising AC pattern matcher of root[%d]

  cli_initroots: Initializing BM tables of root[%d]

  %s loaded

  Segmentation fault (core dumped)

versus CBE: [...]

  Initialising AC pattern matcher of root[%d]

  cli_initroots: Initializing BM tables of root[%d]

  %s loaded

  cli_loadmd5: Initializing MD5 list structure

  [etc, no crash]

The core is not entirely useful:
(gdb) bt
#0  0xf7dde6a5 in readdir () from /lib/i686/cmov/libc.so.6
#1  0x080b4d4c in cli_loaddbdir ()
#2  0x080b3434 in cli_load ()
#3  0xffb41083 in ?? ()
#4  0x00000000 in ?? ()

Further, bugpoint is useless. It reduces down to br/br/ret void.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list