Closed peter-ahe-google closed 9 years ago
Re-ran on the debug VM and got this assertion:
dart/runtime/vm/stack_frame.cc:56: error: expected: !function.IsNull()
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
Core was generated by `xcodebuild/Debug_ia32/dart'. Reading symbols for shared libraries . done Reading symbols for shared libraries .... done
(gdb) t a a bt
Thread 2 (core thread 1):
Thread 1 (core thread 0):
Previous frame inner to this frame (gdb could not unwind past this frame) (gdb)
Please explain how to reproduce the crash.
Repro:
cd dart/frog ../tools/build.py --mode release ./leg/tools/find_file_to_parse.sh | xcodebuild/Release_ia32/dart --new_gen_heap_size=500 leg/tools/mini_parser.dart -
Repro at revision 2259.
As I submit more parser fixes, the error goes away. I think because I print less error messages.
$ git svn info Path: . URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart/frog Repository Root: https://dart.googlecode.com/svn Repository UUID: 260f80e4-7a28-3924-810f-c04153c831b5 Revision: 2248 Node Kind: directory Schedule: normal Last Changed Author: Peter von der Ahé Last Changed Rev: 2248 Last Changed Date: 2011-12-08 15:17:04 +0100 (Thu, 08 Dec 2011)
$ gdb xcodebuild/Release_ia32/dart /cores/core.18603 GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
Core was generated by `xcodebuild/Release_ia32/dart'. Reading symbols for shared libraries . done Reading symbols for shared libraries .... done
0 0x00123a69 in dart::StackFrame::GetCallerFp (this=0xbfffd7a0) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/stack_frame_ia32.cc:42
42 uword StackFrame::GetCallerFp() const {
(gdb) t a a bt
Thread 2 (core thread 1):
0 0x9009768e in poll$UNIX2003 ()
1 0x000280fc in EventHandlerImplementation::Poll (args=0x401410) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/bin/eventhandler_macos.cc:347
2 0x90031259 in _pthread_start ()
3 0x900310de in thread_start ()
Thread 1 (core thread 0):
0 0x00123a69 in dart::StackFrame::GetCallerFp (this=0xbfffd7a0) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/stack_frame_ia32.cc:42
1 0x001232ac in dart::StackFrameIterator::FrameSetIterator::NextFrame () at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/stack_frame.cc:162
2 0x001232ac in dart::StackFrameIterator::NextFrame (this=0xbfffd778) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/stack_frame.cc:146
3 0x000a286e in FindExceptionHandler [inlined]() at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/exceptions.cc:38
4 0x000a286e in dart::ThrowExceptionHelper (exception=@0xbfffdcac, existing_stacktrace=@0xbfffdcb4) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/exceptions.cc:58
5 0x000a2d35 in dart::Exceptions::Throw (exception=@0xbfffdcac) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/exceptions.cc:104
6 0x0007b979 in dart::DRTThrow (arguments={isolate = 0x812600, argc = 1, argv = 0xbfffdf00, retval_ = 0xbfffdf04}) at /Users/ahe/Dart/all/dart.googlecode.com/dart/runtime/vm/code_generator.cc:354
7 0x00540062 in ?? ()
8 0x3fd8fa88 in ?? ()
9 0x007b29c7 in ?? ()
10 0x007b94dd in ?? ()
11 0x007aee89 in ?? ()
12 0x3fd8cb5d in ?? ()
Previous frame inner to this frame (gdb could not unwind past this frame)