Skip to content

Instantly share code, notes, and snippets.

View larsbergstrom's full-sized avatar

Lars Bergstrom larsbergstrom

View GitHub Profile
@larsbergstrom
larsbergstrom / gist:8478915
Created January 17, 2014 18:34
nm -g libservo (android)
U _Unwind_Resume
U _ZN10PoolConfig3new21h32d616a98f4e98f7PLag4v0.9E
U _ZN10buffer_map12Eq$BufferKey2eq21h8587d0dad6c43920W2a24v0.1E
U _ZN10buffer_map19IterBytes$BufferKey10iter_bytes21h6c1edb69370072d0PAaS4v0.1E
U _ZN10buffer_map9BufferKey3get21h3a3d7d62652f0da3AZa34v0.1E
U _ZN10local_data13get_local_map19hf6bfd0afbf57d036ao4v0.9E
U _ZN10local_data3set18insertion_position19h6e95e4e95a7f254baO4v0.9E
U _ZN10local_data5abort19hba79c47123510eeaa44v0.9E
U _ZN10local_data9LoanState8describe21h028743d6baf59d69Mcax4v0.9E
U _ZN10properties7cascade19h610b696379ead1fbaw4v0.1E
@larsbergstrom
larsbergstrom / gist:8409622
Created January 13, 2014 22:47
path to content test deadlock
constellation got renderer ready message
Renderer msg::constellation_msg::PipelineId(0u) ready to send paint msg
layout: PrepareToExitMsg received
shutting down the constellation
task 'RenderTask' failed at 'sending on a closed channel', /Users/larsberg/servo/src/compiler/rust/src/libstd/comm/mod.rs:635
navigating to msg::constellation_msg::PipelineId(0u)
constellation exiting
@larsbergstrom
larsbergstrom / gist:8380023
Created January 12, 2014 02:36
real content_test hang
(gdb) bt
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00007f9b61aadcc0 in unstable::mutex::Mutex::wait::h3c33ff36396f69e0Hgah::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
#2 0x00007f9b5cf9bcc2 in task::Runtime$Ops::deschedule::h08d44bb85c4e8524q3aN::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libnative-cf55a53a-0.9.so
#3 0x00007f9b61a51c47 in rt::task::Task::deschedule::h18612f6dee9f7923WPag::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
#4 0x000000000049f067 in comm::Port::recv_opt::h927eb5d5e27c0872GKab::v0.0 ()
#5 0x000000000049ef16 in comm::Port::recv::hd7a39666
@larsbergstrom
larsbergstrom / gist:8379120
Created January 12, 2014 00:58
content_test hang
(gdb) bt
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000000004caa00 in unstable::mutex::Mutex::wait::h3c33ff36396f69e0Hgah::v0.9 ()
#2 0x00000000004d698e in simple::Runtime$SimpleTask::deschedule::h11585c6515f2e2817faB::v0.9 ()
#3 0x000000000046e987 in rt::task::Task::deschedule::h18612f6dee9f7923WPag::v0.9 ()
#4 0x00000000004f9eb6 in run::ha569aabcee3117d2ad::v0.9 ()
#5 0x00000000004f96d6 in start::anon::expr_fn::aO ()
#6 0x00000000004cd118 in rt::task::__extensions__::run::anon::expr_fn::av ()
#7 0x00000000004d466c in rust_try ()
#8 0x00000000004ccebd in rt::task::Task::run::hf7663b6e52130dcbWPar::v0.9 ()
@larsbergstrom
larsbergstrom / gist:8378964
Created January 12, 2014 00:42
b rust_fail in test_title
task '<unnamed>' failed at 'sending on a closed channel', /home/larsberg/servo/src/compiler/rust/src/libstd/comm/mod.rs:635
[Switching to Thread 0x7fffedc0f700 (LWP 11727)]
Breakpoint 1, 0x00007ffff7769890 in rust_fail ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
(gdb) bt
#0 0x00007ffff7769890 in rust_fail ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
#1 0x00007ffff76c65d8 in rt::unwind::Unwinder::begin_unwind::hd890d6617f8679e9tUaP::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
@larsbergstrom
larsbergstrom / gist:8379079
Created January 12, 2014 00:53
test_img_width_height
dropping PageTree
dropping Window
task '<unnamed>' failed at 'sending on a closed channel', /home/larsberg/servo/src/compiler/rust/src/libstd/comm/mod.rs:557
[Switching to Thread 0x7fffedc10700 (LWP 15812)]
Breakpoint 1, 0x00007ffff7769890 in rust_fail ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
(gdb) bt
#0 0x00007ffff7769890 in rust_fail ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
@larsbergstrom
larsbergstrom / gist:8379071
Created January 12, 2014 00:51
rarer failure in test_title
task '<unnamed>' failed at 'ReaderRng.fill_bytes could not fill buffer: read 1920 out of 2048 bytes.', /home/larsberg/servo/src/compiler/rust/src/libstd/rand/reader.rs:68
[Switching to Thread 0x7fffedb0f700 (LWP 15727)]
Breakpoint 1, 0x00007ffff7769890 in rust_fail ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
(gdb) bt
#0 0x00007ffff7769890 in rust_fail ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
#1 0x00007ffff76c65d8 in rt::unwind::Unwinder::begin_unwind::hd890d6617f8679e9tUaP::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
@larsbergstrom
larsbergstrom / gist:8378921
Created January 12, 2014 00:38
freeze in test_title
task '<unnamed>' failed at 'ReaderRng.fill_bytes could not fill buffer: read 1600 out of 2048 bytes.', /home/larsberg/servo/src/compiler/rust/src/libstd/rand/reader.rs:68
dropping PageTree
dropping Page
JS API usage error: found live context at 0x7fffe028b0b0
JS API usage error: 1 context left in runtime upon JS_DestroyRuntime.
task '<unnamed>' failed at 'sending on a closed channel', /home/larsberg/servo/src/compiler/rust/src/libstd/comm/mod.rs:635
^C
Program received signal SIGINT, Interrupt.
0x00007ffff18af85d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
@larsbergstrom
larsbergstrom / gist:8378894
Created January 12, 2014 00:34
test_childnodes backtrace
#0 0x00007ffff775ecef in reflect::TyVisitor$MovePtrAdaptor::visit_evec_uniq::h1f7abacd3d579810oxav::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
#1 0x00007ffff25c1980 in _$UP$$x5b$UP$$x5bu8$x5d$x5d::glue_visit::h3fa84b015933eacba9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/components/script/libscript-37d4be8d-0.1.so
#2 0x00007ffff775d547 in repr::ReprVisitor::visit_ptr_inner::hd45fdc42804573e9oQa0::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.so
#3 0x00007ffff775f167 in reflect::TyVisitor$MovePtrAdaptor::visit_class_field::hafbade971c71ece9oxaH::v0.9 ()
from /home/larsberg/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/lib/rustc/x86_64-unknown-linux-gnu/lib/libstd-3e5aeb83-0.9.
@larsbergstrom
larsbergstrom / gist:8362762
Created January 10, 2014 21:16
drop order
[larsberg@lbergstrom tmp]$ cat drop.rs
struct Foo;
impl Drop for Foo {
fn drop(&mut self) {
println("drop");
}
}
pub fn main() {