Status: New
Owner: ----

New issue 1424 by [email protected]: "unreachable code" in Debug::FindDebugBreak.
http://code.google.com/p/v8/issues/detail?id=1424

[2562:2562:179029780829:INFO:CONSOLE(1155)] "playfile filesystem:chrome://mediaplayer/external/media/tail toddle.mp3", source: chrome://mediaplayer/ (1155)


#
# Fatal error in v8/src/debug.cc, line 1518
# unreachable code
#


==== Stack trace ============================================

Security context: 0xeacc5339 <String[20]: chrome://mediaplayer>
2: checkId3v2 [chrome://mediaplayer/:554] (this=0xed801895 <a Sequence>>#0#,file=0xed80187d <a File>>#1#,arrayBuffer=0xed801865 <an ArrayBuffer>>#2#) 4: /* anonymous */ [chrome://mediaplayer/:433] (this=0xeac847b5 <JS Global Object>#3#,var_args=0xed80187d <a File>>#1#)
    5: arguments adaptor frame: 2->1
6: /* anonymous */ [chrome://mediaplayer/:496] (this=0xed801955 <a FileReader>>#4#)
    7: arguments adaptor frame: 1->0

==== Details ================================================

[2]: checkId3v2 [chrome://mediaplayer/:554] (this=0xed801895 <a Sequence>>#0#,file=0xed80187d <a File>>#1#,arrayBuffer=0xed801865 <an ArrayBuffer>>#2#) {
  // expression stack (top to bottom)
  [04] : 3
  [03] : 0
  [02] : 0xed801865 <an ArrayBuffer>>#2#
  [01] : 0xe6a8b0f5 <an Object>>#5#
  [00] : 0xed801841 <JS Function checkId3v2>#6#
--------- s o u r c e   c o d e ---------
function checkId3v2(file, arrayBuffer) {? if (id3.extractString_(arrayBuffer, 0, 3) == "ID3") {? alert("id3v2 tags found");? }? this.nextStep();? }
-----------------------------------------
}

[4]: /* anonymous */ [chrome://mediaplayer/:433] (this=0xeac847b5 <JS Global Object>#3#,var_args=0xed80187d <a File>>#1#) {
  // stack-allocated locals
  var .arguments = 0xed8018d5 <an Arguments>>#7#
  var resume = 0xed8018e9 <JS Function resume>#8#
  var sequence = 0xec198051 <undefined>
  var step = 0xec198051 <undefined>
  var arguments = 0xed8018d5 <an Arguments>>#7#
  // heap-allocated locals
  var remaining = 0xec198051 <undefined>
  // expression stack (top to bottom)
  [07] : 0xed8018d5 <an Arguments>>#7#
  [06] : 0xed801895 <a Sequence>>#0#
  [05] : 0xed801841 <JS Function checkId3v2>#6#
--------- s o u r c e   c o d e ---------
function (var_args) {? if (_failed) return;? ? _currentStep++;?? if (_currentStep >= _steps.length ) {? _callback();? } else if (typeof _steps[_currentStep] == 'function') {? _steps[_currentStep].apply(_self, arguments);? } else {? // if _steps[_currentStep] is array? va...

-----------------------------------------
}

[5]: arguments adaptor frame: 2->1 {
  // actual arguments
  [00] : 0xed80187d <a File>>#1#
  [01] : 0xed801865 <an ArrayBuffer>>#2#  // not passed to callee
}

[6]: /* anonymous */ [chrome://mediaplayer/:496] (this=0xed801955 <a FileReader>>#4#) {
  // expression stack (top to bottom)
  [03] : 0xed801865 <an ArrayBuffer>>#2#
  [02] : 0xed80187d <a File>>#1#
  [01] : 0xeac847b5 <JS Global Object>#3#
  [00] : 0xe65a13bd <JS Function>#9#
--------- s o u r c e   c o d e ---------
function (){loadend(file, fileReader.result)}
-----------------------------------------
}

[7]: arguments adaptor frame: 1->0 {
  // actual arguments
  [00] : 0xed801971 <a ProgressEvent>>#10#  // not passed to callee
}

==== Key         ============================================

 #0# 0xed801895: 0xed801895 <a Sequence>>
               log: 0xe65a1369 <JS Function>#11#
              vlog: 0xe65a1399 <JS Function>#12#
   failureCallback: 0xed822391 <JS Function onError>#13#
 #1# 0xed80187d: 0xed80187d <a File>>
 #2# 0xed801865: 0xed801865 <an ArrayBuffer>>
 #3# 0xeac847b5: 0xeac847b5 <JS Global Object>
 #4# 0xed801955: 0xed801955 <a FileReader>>
 #5# 0xe6a8b0f5: 0xe6a8b0f5 <an Object>>
           verbose: 0xec1980a5 <true>
 #6# 0xed801841: 0xed801841 <JS Function checkId3v2>
 #7# 0xed8018d5: 0xed8018d5 <an Arguments>>
            callee: 0xe65a13bd <JS Function>#9#
            length: 2
 #8# 0xed8018e9: 0xed8018e9 <JS Function resume>
 #9# 0xe65a13bd: 0xe65a13bd <JS Function>
 #10# 0xed801971: 0xed801971 <a ProgressEvent>>
 #11# 0xe65a1369: 0xe65a1369 <JS Function>
 #12# 0xe65a1399: 0xe65a1399 <JS Function>
 #13# 0xed822391: 0xed822391 <JS Function onError>
=====================

Aborted
zvorygin@stonehenge:~/local/chromium/src$


---------
Segfault happens when click "step into next function call" on DevTools.

Javascript code can provide on demand.
--------
V8 revision is 7779

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to