[lldb-dev] [Bug 26758] New: TestRegisters.test_convenience_registers_16bit_with_process_attach_dsym crashing on OS X

2016-02-27 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=26758

Bug ID: 26758
   Summary: TestRegisters.test_convenience_registers_16bit_with_pr
ocess_attach_dsym crashing on OS X
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Created attachment 15953
  --> https://llvm.org/bugs/attachment.cgi?id=15953&action=edit
crashlog from my local machine

The test started crashing after one of the changes yesterday.

It hasn't yet been identified which change is responsible as more than one
change broke the OS X buildbot/testbot yesterday.

Encountered locally on OS X 10.11 15D21, Xcode 7.3 Beta 4 (7D152p).  The
buildbot is 10.10 and Xcode 7.0, and is also encountering it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 26759] New: TestGoroutines.py failing on OS X

2016-02-27 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=26759

Bug ID: 26759
   Summary: TestGoroutines.py failing on OS X
   Product: lldb
   Version: unspecified
  Hardware: PC
OS: MacOS X
Status: NEW
  Severity: normal
  Priority: P
 Component: All Bugs
  Assignee: lldb-dev@lists.llvm.org
  Reporter: todd.fi...@gmail.com
CC: llvm-b...@lists.llvm.org
Classification: Unclassified

Created attachment 15954
  --> https://llvm.org/bugs/attachment.cgi?id=15954&action=edit
TestGoASTContext test failure trace file

On this version of go:
go version go1.6 darwin/amd64

(Just retrieved from latest OS X Homebrew earlier today)

I'm getting this test failure:

==
FAIL: test_goroutine_plugin (TestGoroutines.TestGoASTContext)
   Test goroutine as threads support.
--
Traceback (most recent call last):
  File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/decorators.py",
line 123, in wrapper
func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/decorators.py",
line 272, in wrapper
return func(self, *args, **kwargs)
  File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/decorators.py",
line 123, in wrapper
func(*args, **kwargs)
  File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py",
line 26, in test_goroutine_plugin
self.check_goroutines()
  File
"/Users/tfiala/src/lldb-tot/lldb/packages/Python/lldbsuite/test/lang/go/goroutines/TestGoroutines.py",
line 75, in check_goroutines
self.assertGreater(len(self.process().threads), 20)
AssertionError: 5 not greater than 20
Config=x86_64-/usr/bin/clang

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] [Bug 26758] TestRegisters.test_convenience_registers_16bit_with_process_attach_dsym crashing on OS X

2016-02-27 Thread via lldb-dev
https://llvm.org/bugs/show_bug.cgi?id=26758

Todd Fiala  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Todd Fiala  ---
Reverted here (r262156):

commit dc878ce05f19e2c8ce83374e4c1648de0c3c41f9
Author: Todd Fiala 
Date:   Sat Feb 27 22:48:50 2016 +

Revert "Fix bug with register values byte order in expression evaluation."

This reverts commit r262041, which caused asserts starting yesterday on the
OS X testbot.

See details in:
https://llvm.org/bugs/show_bug.cgi?id=26758

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@262156
91177308-0d34-0410-b5e6-96231b3b80d8

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] Questions for module/symbol load/unload events

2016-02-27 Thread Jeffrey Tan via lldb-dev
Hi,

I am trying to listen for module/symbol load/unload events and display them
in output UI so that debugger users can have a basic clue what is debugger
busy doing while launching a big executable linking many shared libraries.

Questions:
1. I did not find an API to get current load/unload module during module
events. I was expecting some static API like lldb.SBModule(or
SBTarget).GetModuleFromEvent(SBEvent), but this does not exists. I tried to
treat current PC's module as loading module in module load/unload events.
But that does not work too(I think because process is not stopped in module
load/unload events). Do I miss something here?

2. Even though "image list" shows I have around 42 modules loaded in
process, I only got two module load events. Why is that?

3. Even though I added lldb.SBTarget.eBroadcastBitSymbolsLoaded, there is
no event of type eBroadcastBitSymbolsLoaded generated. Is it expected?
Apparently I have the symbols next to the binary.

This is tested on mac OSX lldb.

Jeffrey
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev