[LLVMbugs] [Bug 4486] New: llvm-ld: Assertion `writers == 0 && " Writer lock already acquired!"'
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jun 30 21:14:51 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4486
Summary: llvm-ld: Assertion `writers == 0 && "Writer lock already
acquired!"'
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core LLVM classes
AssignedTo: unassignedbugs at nondot.org
ReportedBy: haohui.mai at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=3142)
--> (http://llvm.org/bugs/attachment.cgi?id=3142)
test case
It seems that llvm-ld has acquire a lock twice.
llvm-ld mm/page_alloc.bc mm/page-writeback.bc -o a
llvm-ld: /home/mai4/work/src/llvm/include/llvm/System/RWMutex.h:119: bool
llvm::sys::SmartRWMutex<mt_only>::writer_acquire() [with bool mt_only = true]:
Assertion `writers == 0 && "Writer lock already acquired!"' failed.
0 llvm-ld 0x083694c8
Stack dump:
0. Program arguments: llvm-ld mm/page_alloc.bc mm/page-writeback.bc -o a
Aborted
--
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