Issue 23575 in dart: Crashes for pkgbuild/samples/third_party/todomvc_performance

7 views
Skip to first unread message

da...@googlecode.com

unread,
Jun 2, 2015, 8:16:22 PM6/2/15
to bu...@dartlang.org
Status: Triaged
Owner: ----
CC: rma...@google.com
Labels: Type-Defect Priority-Unassigned Area-VM

New issue 23575 by ko...@google.com: Crashes for
pkgbuild/samples/third_party/todomvc_performance
https://code.google.com/p/dart/issues/detail?id=23575

Observed on build bot:
https://chromegw.corp.google.com/i/client.dart/builders/pub-mac-be/builds/13391/steps/pkgbuild_public_pkgs%20tests%20failures/logs/stdio
where the failure is in Dart code, but the failure seems impossible w.r.t.
Dart semantics.

...and with a local debug build, it instead fails an assertion:

stderr:
runtime/vm/unicode.cc:224: error: expected:
IsLatin1SequenceStart(utf8_array[i])


Command[dir_copy]:
Copying '/usr/local/google/home/koda/sendMaps/sdk/samples/third_party/todomvc_performance'
to '/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance'.
Took 0:00:00.062273

Command[modify_pubspec]: Adding necessary dependency overrides
to '/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance/pubspec.yaml'
(destination =
/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance/pubspec.yaml).
Took 0:00:00.003896

Command[pub_get]:
PUB_CACHE=/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance/pub-cache
/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/dart-sdk/bin/pub get
(working directory:
/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance)
Took 0:00:12.235000

Command[pub_build]:
PUB_CACHE=/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance/pub-cache
/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/dart-sdk/bin/pub
build (working directory:
/usr/local/google/home/koda/sendMaps/sdk/out/DebugIA32/generated_pub_package_builds/public_packages/samples_third_party_todomvc_performance)
Did not run

Short reproduction command (experimental):
python tools/test.py --use-sdk --write-test-outcome-log -t120
--copy-coredumps --use-public-packages
pkgbuild/samples/third_party/todomvc_performance


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

da...@googlecode.com

unread,
Jun 2, 2015, 9:07:03 PM6/2/15
to bu...@dartlang.org

Comment #1 on issue 23575 by ko...@google.com: Crashes for
pkgbuild/samples/third_party/todomvc_performance
https://code.google.com/p/dart/issues/detail?id=23575

Stacktrace from a core dump from the above assertion failure:

Program terminated with signal SIGABRT, Aborted.
#0 0xf77c4430 in __kernel_vsyscall ()
(gdb) bt
#0 0xf77c4430 in __kernel_vsyscall ()
#1 0xf74a1607 in raise () from /lib/i386-linux-gnu/libc.so.6
#2 0xf74a4a33 in abort () from /lib/i386-linux-gnu/libc.so.6
#3 0x081deb65 in dart::DynamicAssertionHelper::Fail
(this=this@entry=0xf51bc744, format=format@entry=0x88061c8 "expected: %s")
at runtime/platform/assert.cc:41
#4 0x084ddfaf in dart::Utf8::DecodeToLatin1
(utf8_array=utf8_array@entry=0xeff74ec1 '\363' <repeats 200 times>...,
array_len=array_len@entry=15598,

dst=0xee958060 "!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366!\020\231\366"...,
len=len@entry=15598) at runtime/vm/unicode.cc:224
#5 0x083aa4b7 in dart::String::FromUTF8
(utf8_array=utf8_array@entry=0xeff74ec1 '\363' <repeats 200 times>...,
array_len=array_len@entry=15598,
space=space@entry=dart::Heap::kNew) at runtime/vm/object.cc:17835
#6 0x0819f86d in dart::Dart_NewStringFromUTF8
(utf8_array=0xeff74ec1 '\363' <repeats 200 times>..., length=15598) at
runtime/vm/dart_api_impl.cc:2251
#7 0x081c8741 in dart::bin::Builtin_Builtin_LoadSource (args=0xf51bc8c8)
at runtime/bin/dartutils.cc:564
#8 0x0854e62b in dart::NativeEntry::NativeCallWrapper (args=0xf51bc8c8,
func=0x81c8640
<dart::bin::Builtin_Builtin_LoadSource(_Dart_NativeArguments*)>) at
runtime/vm/native_entry.cc:110
#9 0xf05ff1ea in ?? ()
#10 0xf0623dc7 in ?? ()
#11 0xf0623ab5 in ?? ()
#12 0xf06237b2 in ?? ()
#13 0xf06234d5 in ?? ()
#14 0xf060a0b6 in ?? ()
#15 0xf06233c5 in ?? ()
#16 0xf0600c99 in ?? ()
#17 0x0823092d in dart::DartEntry::InvokeFunction (function=...,
arguments=..., arguments_descriptor=...) at runtime/vm/dart_entry.cc:121
#18 0x082325c1 in dart::DartEntry::InvokeFunction (function=...,
arguments=...) at runtime/vm/dart_entry.cc:27
#19 0x08236a93 in dart::DartLibraryCalls::HandleMessage (handler=...,
message=...) at runtime/vm/dart_entry.cc:501
#20 0x08364ae9 in dart::IsolateMessageHandler::HandleMessage
(this=0xef2d1498, message=0xf12f6a08) at runtime/vm/isolate.cc:440
#21 0x08371f46 in dart::MessageHandler::HandleMessages
(this=this@entry=0xef2d1498,
allow_normal_messages=allow_normal_messages@entry=true,

allow_multiple_normal_messages=allow_multiple_normal_messages@entry=true)
at runtime/vm/message_handler.cc:173
#22 0x08372460 in dart::MessageHandler::TaskCallback (this=0xef2d1498) at
runtime/vm/message_handler.cc:270
#23 0x084dacbe in dart::ThreadPool::Worker::Loop
(this=this@entry=0xf2451100) at runtime/vm/thread_pool.cc:277
#24 0x084daed8 in dart::ThreadPool::Worker::Main
(args=args@entry=4064612608) at runtime/vm/thread_pool.cc:320
#25 0x083fc87d in dart::ThreadStart (data_ptr=0xf2451160) at
runtime/vm/os_thread_linux.cc:86
#26 0xf7782f70 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#27 0xf755ebee in clone () from /lib/i386-linux-gnu/libc.so.6
Reply all
Reply to author
Forward
0 new messages