Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wechat: init #354332

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

wechat: init #354332

wants to merge 1 commit into from

Conversation

pluiedev
Copy link
Contributor

@pluiedev pluiedev commented Nov 7, 2024

Fixes #354234

Currently segfaults and I have no idea why :(

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@pluiedev pluiedev changed the title wechat: init at 0.0.0 wechat: init Nov 7, 2024
@pluiedev
Copy link
Contributor Author

pluiedev commented Nov 7, 2024

Details about the segfault:

$ lldb ./result/bin/wechat
(lldb) target create "./result/bin/wechat"
Current executable set to '/home/leah/coding/nixpkgs/result/bin/wechat' (x86_64).
(lldb) run
Process 103844 launched: '/home/leah/coding/nixpkgs/result/bin/wechat' (x86_64)
Process 103844 stopped
* thread #43, name = 'mmui::utility::', stop reason = signal SIGSEGV: address not mapped to object (fault address: 0x10)
    frame #0: 0x000055555e510008 wechat`___lldb_unnamed_symbol227806 + 232
wechat`___lldb_unnamed_symbol227806:
->  0x55555e510008 <+232>: movq   0x10(%rax), %rdx
    0x55555e51000c <+236>: addq   %rax, %rdx
    0x55555e51000f <+239>: movl   0x4(%rax), %eax
    0x55555e510012 <+242>: orq    %rax, %rbx

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by the maintainer of the package it changes 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Nov 8, 2024
@UlyssesZh
Copy link
Contributor

Currently segfaults and I have no idea why :(

Is it the same problem as #327860? Try the fix in #335658.

@UlyssesZh
Copy link
Contributor

By the way, we may also support loongarch64-linux since you are using the deb as the source.

@pluiedev
Copy link
Contributor Author

pluiedev commented Nov 8, 2024

By the way, we may also support loongarch64-linux since you are using the deb as the source.

Does Nixpkgs even have loongarch support, like, at all...?

@UlyssesZh
Copy link
Contributor

Appears so.

@pluiedev
Copy link
Contributor Author

pluiedev commented Nov 8, 2024

Currently segfaults and I have no idea why :(

Is it the same problem as #327860? Try the fix in #335658.

I tried adding the fix but it doesn't seem to work — looking at the stacktrace the SIGSEGV appears to be caused by something else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild 10.rebuild-linux: 1-10 10.rebuild-linux: 1 11.by: package-maintainer This PR was created by the maintainer of the package it changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: WeChat
2 participants