GithubHelp home page GithubHelp logo

Comments (11)

vaxerski avatar vaxerski commented on July 28, 2024

compile in debug and in the gdb prompt when it crashes do bt -full

from hyprpicker.

n3oney avatar n3oney commented on July 28, 2024

I can't reproduce this anymore. I'll reopen this with the backtrace if it happens again.

from hyprpicker.

n3oney avatar n3oney commented on July 28, 2024

damn, was hoping it was gone, but no luck :(

Program received signal SIGBUS, Bus error.
CHyprpicker::convertBuffer (this=<optimized out>, pBuffer=0x4475d0) at /home/neoney/code/hyprpicker/src/hyprpicker.cpp:228
228	                   std::swap(px->red, px->blue);
(gdb) bt -full
#0  CHyprpicker::convertBuffer (this=<optimized out>, pBuffer=0x4475d0)
    at /home/neoney/code/hyprpicker/src/hyprpicker.cpp:228
        px = 0x7ffff5d6f000
        x = 0
        y = 0
        data = 0x7ffff5d6f000 <error: Cannot access memory at address 0x7ffff5d6f000>
#1  CHyprpicker::convertBuffer (this=<optimized out>, pBuffer=0x4475d0)
    at /home/neoney/code/hyprpicker/src/hyprpicker.cpp:210
        data = <optimized out>
        y = <optimized out>
        x = <optimized out>
        px = <optimized out>
#2  0x0000000000407e47 in CHyprpicker::renderSurface (this=0x43fd60, pSurface=0x4474b0, forceInactive=<optimized out>)
    at /home/neoney/code/hyprpicker/src/hyprpicker.cpp:304
        bytesPerPixel = <optimized out>
        data = 0x7ffff5d6f000
        PBUFFER = 0x447558
        PCAIRO = <optimized out>
#3  0x00007ffff7a2f80a in ffi_call_unix64 () from /nix/store/4d4zzb9a4fazq0qv7vvls561l9cxi0zc-libffi-3.4.2/lib/libffi.so.8
No symbol table info available.
#4  0x00007ffff7a2e943 in ffi_call_int () from /nix/store/4d4zzb9a4fazq0qv7vvls561l9cxi0zc-libffi-3.4.2/lib/libffi.so.8
No symbol table info available.
#5  0x00007ffff7f5e741 in wl_closure_invoke ()
   from /nix/store/rq2d1gp2hhh4l584112vrkrbijpw7xhm-wayland-1.21.0/lib/libwayland-client.so.0
No symbol table info available.
#6  0x00007ffff7f5aaaa in dispatch_event.isra ()
   from /nix/store/rq2d1gp2hhh4l584112vrkrbijpw7xhm-wayland-1.21.0/lib/libwayland-client.so.0
No symbol table info available.
#7  0x00007ffff7f5c40c in wl_display_dispatch_queue_pending ()
   from /nix/store/rq2d1gp2hhh4l584112vrkrbijpw7xhm-wayland-1.21.0/lib/libwayland-client.so.0
No symbol table info available.
#8  0x0000000000406da1 in CHyprpicker::init (this=0x43fd60) at /home/neoney/code/hyprpicker/src/hyprpicker.cpp:34
No locals.
#9  0x0000000000403bb6 in main (argc=1, argv=0x7fffffff3fa8, envp=<optimized out>)
    at /home/neoney/code/hyprpicker/src/main.cpp:64
No locals.

from hyprpicker.

vaxerski avatar vaxerski commented on July 28, 2024

10 bit?

from hyprpicker.

n3oney avatar n3oney commented on July 28, 2024

10 bit?

nope
unless something randomly makes me switch to it which i doubt lmao

from hyprpicker.

ModestTom avatar ModestTom commented on July 28, 2024

Having the same issue with bitdepth intentionally set to "10" in hyprland.conf
monitor = eDP-1,1920x1080@60,0x0,1,bitdepth,10
This exact build was working earlier this week.

from hyprpicker.

n3oney avatar n3oney commented on July 28, 2024

this has stopped happening to me, maybe fixed with some update, idk
i now use hyprpicker with every screenshot and it works fine

from hyprpicker.

PsyNyde avatar PsyNyde commented on July 28, 2024

happens to me everytime after switching to nixos

zsh: segmentation fault (core dumped)  hyprpicker

from hyprpicker.

isiko avatar isiko commented on July 28, 2024
zsh: segmentation fault (core dumped)  hyprpicker

Same here

from hyprpicker.

TailstheFox92 avatar TailstheFox92 commented on July 28, 2024

zsh: segmentation fault (core dumped) hyprpicker
I'm having the same issue too, is there a way to see what's actually causing the issue?

from hyprpicker.

n3oney avatar n3oney commented on July 28, 2024

These might be all separate issues. Please build hyprpicker in debug mode and run it in gdb to get a stack trace, then compare with other issues. My issue was solved.

from hyprpicker.

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.