GithubHelp home page GithubHelp logo

Comments (7)

icepie avatar icepie commented on July 17, 2024

RUST_BACKTRACE=1

thread 'main' panicked at 'str::ToGlibPtr<*const c_char>: unexpected '' character: NulError(28, [10, 11, 10, 9, 38, 195, 191, 195, 191, 93, 226, 128, 162, 10, 12, 18, 10, 32, 230, 161, 131, 230, 161, 131, 233, 133, 177, 16, 0])', /home/icepie/.cargo/git/checkouts/gtk-rs-core-7be42ca38bd6361c/41d9307/glib/src/translate.rs:509:32
stack backtrace:
   0: rust_begin_unwind
             at /rustc/4dd8b420c027001e47b0d811a7e55e2fe1de1395/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/4dd8b420c027001e47b0d811a7e55e2fe1de1395/library/core/src/panicking.rs:142:14
   2: core::result::unwrap_failed
             at /rustc/4dd8b420c027001e47b0d811a7e55e2fe1de1395/library/core/src/result.rs:1785:5
   3: libadwaita::auto::avatar::Avatar::set_text
   4: relm4::factory::collections::vec_deque::FactoryVecDeque<Widget,C,ParentMsg>::render_changes
   5: gtk_qq::app::main::chatroom::Chatroom::push_message
   6: relm4::component::traits::Component::update_with_view
   7: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
   8: glib::main_context_futures::TaskSource::dispatch
   9: g_main_context_dispatch
  10: <unknown>
  11: g_main_context_iteration
  12: g_application_run
  13: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  14: gtk_qq::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

from gtk-qq.

lomirus avatar lomirus commented on July 17, 2024

疑似为好友/群友的昵称/备注/群名片问题,能提供一下导致程序 panic 的消息的发送者的昵称相关信息吗

from gtk-qq.

icepie avatar icepie commented on July 17, 2024

这个不好知道...因为不确定什么时候触发

from gtk-qq.

icepie avatar icepie commented on July 17, 2024

或许可以录制一下窗口

from gtk-qq.

lomirus avatar lomirus commented on July 17, 2024

如果录制窗口的话,导致 panic 的消息并不会渲染到屏幕上,因此并没有什么用。

你可以试着当程序 panic 的时候在手机等其他客户端上检查收到了谁的消息(如果实在是消息数量太多以至于不方便查找的话,我可以开一个 debug branch 把收到的消息打印到控制台上)

from gtk-qq.

icepie avatar icepie commented on July 17, 2024

如果录制窗口的话,导致 panic 的消息并不会渲染到屏幕上,因此并没有什么用。

你可以试着当程序 panic 的时候在手机等其他客户端上检查收到了谁的消息(如果实在是消息数量太多以至于不方便查找的话,我可以开一个 debug branch 把收到的消息打印到控制台上)

观察了一下下载群成员头像的地址, 感觉是这个群昵称的问题

Termux-Zero技术社区①    [活跃]

from gtk-qq.

icepie avatar icepie commented on July 17, 2024

好像又不是因为它...

from gtk-qq.

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.