GithubHelp home page GithubHelp logo

Comments (5)

deepin-CD avatar deepin-CD commented on June 12, 2024
  1. According to your quantitative information, it is recommended to compile dtk before compiling the application
  2. After compressing the last information, it is found that it has nothing to do with the theater and is related to the music player.

from dtkcore.

hillwoodroc avatar hillwoodroc commented on June 12, 2024

The direct reason is in dtkcore. In

QFile file("/etc/deepin-version");
, the about window forcely reads /etc/deepin-version through dtkcore. If the file is not provided by system, deepin-movie crashed after openning the about windows. I don't understand why all deepin apps must call this feature. About windows of many deepin apps actually don't use any information in /etc/deepin-version. This bug can reproduce on deepin-music, deepin-editor, deepin-calendar and deepin-system-monitor.

from dtkcore.

hillwoodroc avatar hillwoodroc commented on June 12, 2024

So, could tell me which item is read from /etc/deepin-version?
2021-02-07 20-38-26屏幕截图
2021-02-07 20-41-01屏幕截图

from dtkcore.

deepin-CD avatar deepin-CD commented on June 12, 2024

应该算是一个bug(在非uos上会出现), uos是会带这个文件的, 这个文件以前是用来判断系统发行版本,但是在这个ensureDeepinInfo最后初始化了distributionInfo指针, 如果/etc/deepin-version不存在那么不会被初始化也就是空指针, 这个崩溃就是访问了空指针导致的。 临时解决办法是自己创建一个 /etc/deepin-version。 或者等 dtkcore更新也是可以的。

from dtkcore.

deepin-CD avatar deepin-CD commented on June 12, 2024

This issue will be temporarily closed due to no response received. Please reopen the issue if there're any new updates.  

from dtkcore.

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.