Code Monkey home page Code Monkey logo

Comments (5)

mrobinson avatar mrobinson commented on June 11, 2024

Thanks for filing this bug, but it isn't super useful without a minimized test case or screenshots. Servo is still lacking many features (fully implemented flexbox, grid, etc), so it's natural that the layout of some sites is broken. If you are interested in digging into this failure a bit and adding debugging information we could reopen this issue and start working on things -- but many sites are broken and we can't have a bug for every broken site at the moment.

from servo.

mrobinson avatar mrobinson commented on June 11, 2024

Sorry. I'll reopen this one as it isn't layout-related and it's a bit more straight-forward to debug.

from servo.

hardBSDk avatar hardBSDk commented on June 11, 2024

@mrobinson Servo gives me two logs, one inside the GUI renderer and one on the terminal.

  • The log text in the GUI renderer can't be copied, why?
  • The terminal log is useful?

from servo.

mrego avatar mrego commented on June 11, 2024
  • The log text in the GUI renderer can't be copied, why?

Selection support hasn't been implemented yet, so only a screenshot could work now.

Screenshot of crash log (the log is very similar to the one pasted below

  • The terminal log is useful?

Yes, it's useful. It's more or less the same output.

iframe should have browsing context (thread Script(1,1), at components/script/dom/globalscope.rs:2428)
   0: servoshell::backtrace::print
   1: servoshell::main::{{closure}}
   2: <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/alloc/src/boxed.rs:2021:9
      std::panicking::rust_panic_with_hook
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:735:13
   3: std::panicking::begin_panic_handler::{{closure}}
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:609:13
   4: std::sys_common::backtrace::__rust_end_short_backtrace
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys_common/backtrace.rs:170:18
   5: rust_begin_unwind
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/panicking.rs:597:5
   6: core::panicking::panic_fmt
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:72:14
   7: core::panicking::panic_display
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:168:5
      core::panicking::panic_str
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/panicking.rs:152:5
      core::option::expect_failed
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/core/src/option.rs:1988:5
   8: script::dom::globalscope::GlobalScope::get_referrer
   9: script::dom::servoparser::prefetch::Tokenizer::new
  10: script::dom::servoparser::ServoParser::new
  11: script::dom::servoparser::ServoParser::parse_html_document
  12: script::script_thread::ScriptThread::load
  13: script::script_thread::ScriptThread::page_headers_available
  14: <script::dom::servoparser::ParserContext as net_traits::FetchResponseListener>::process_response
  15: script::script_thread::ScriptThread::handle_new_layout
  16: script::script_thread::ScriptThread::handle_msgs
  17: script::script_thread::ScriptThread::start
  18: profile_traits::mem::ProfilerChan::run_with_memory_reporting
  19: std::sys_common::backtrace::__rust_begin_short_backtrace
  20: core::ops::function::FnOnce::call_once{{vtable.shim}}
  21: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/alloc/src/boxed.rs:2007:9
      <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/alloc/src/boxed.rs:2007:9
      std::sys::unix::thread::Thread::new::thread_start
             at /rustc/a28077b28a02b92985b3a3faecf92813155f1ea1/library/std/src/sys/unix/thread.rs:108:17
  22: start_thread
             at ./nptl/pthread_create.c:444:8
  23: __GI___clone3
             at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

from servo.

hardBSDk avatar hardBSDk commented on June 11, 2024

@mrego The screenshot log will be incomplete, you need two screenshots.

I don't get the crash log on the terminal, IDK why.

from servo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.