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

v1.1.0: Illegal instruction (core dumped) #61

Open
peterk87 opened this issue Oct 11, 2024 · 19 comments
Open

v1.1.0: Illegal instruction (core dumped) #61

peterk87 opened this issue Oct 11, 2024 · 19 comments

Comments

@peterk87
Copy link

Describe the bug

Illegal instruction (core dumped) errors when trying to view any alignments with the same args ($ gw -b input.bam refs.fasta -r "$ACCESSION") as used with gw v1.0.0.

To Reproduce

Built v1.1.0 from source on Arch Linux (g++ (GCC) 14.2.1 20240910):

git clone https://github.com/kcleal/gw 
cd gw
git checkout v1.1.0
bash deps/build_skia.sh
make -j4

Minimal reproduction of issue:

$ ./gw

█▀▀ █ █ █
█▄█ ▀▄▀▄▀

Reference genomes listed in /home/pkruczkiewicz/.config/.gw.ini

 ▀ https://github.com/kcleal/ref_genomes/releases/download/v0.1.0

  Number │ Genome-tag │ Path
  ───────┼────────────┼─────────────────────────────────────────────
    0    │ ce11       │  ▀ /ce11.fa.gz
    1    │ danrer11   │  ▀ /danRer11.fa.gz
    2    │ dm6        │  ▀ /dm6.fa.gz
    3    │ hg19       │  ▀ /hg19.fa.gz
    4    │ hg38       │  ▀ /hg38.fa.gz
    5    │ grch37     │  ▀ /Homo_sapiens.GRCh37.dna.toplevel.fa.gz
    6    │ grch38     │  ▀ /Homo_sapiens.GRCh38.dna.toplevel.fa.gz
    7    │ t2t        │  ▀ /hs1.fa.gz
    8    │ mm39       │  ▀ /mm39.fa.gz
    9    │ pantro6    │  ▀ /panTro6.fa.gz
    10   │ saccer3    │  ▀ /sacCer3.fa.gz

Press ENTER to load previous session
Input a genome number/tag, path, or session: 0
Genome:  ce11
Illegal instruction (core dumped)

Expected behavior

No core dump.

System (please complete the following information):

  • GW version: 1.1.0
  • OS: Arch Linux x86_64 (Linux 6.10.9-arch1-2)

Additional context

Window Manager: KWin (X11)
Desktop Environment: KDE
GPU: NVIDIA Corporation TU104GLM [Quadro RTX 5000 Mobile / Max-Q]
Nvidia driver version: 560.35.03

Fortunately, gw installed from Conda works now, so that's what I've been using.

Thanks for making a simple, fast and easy to use alignment viewer!

@kcleal
Copy link
Owner

kcleal commented Oct 12, 2024

Hi @peterk87,
Thanks for reporting, I have not tested on Arch, or many other Linux flavours other than Ubuntu and centos. Just curious, did you try one of the prebuilt skia binaries using make prep instead of building skia? Also wondering if you get the issue with a local reference genome.

@peterk87
Copy link
Author

Hi @kcleal, thanks for following up.

I tried compiling with the prebuilt skia binaries following the updated instructions in the readme, but I still get the same issue with v1.1.0 and master at e2ae602

conda create -y -n gw_env -c conda-forge glfw htslib
conda activate gw_env
git clone https://github.com/kcleal/gw.git
cd gw && make prep
CONDA_PREFIX=$(conda info --base) LDLIBS+="-lcrypto -lssl" make -j4

This is the backtrace from the core dump:

Core was generated by `./gw'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x000064d6d4cacc70 in SkDataTable::MakeCopyArrays(void const* const*, unsigned long const*, int) ()
[Current thread is 1 (Thread 0x761838099c80 (LWP 2596855))]
(gdb) bt
#0  0x000064d6d4cacc70 in SkDataTable::MakeCopyArrays(void const* const*, unsigned long const*, int) ()
#1  0x000064d6d4d5800c in SkFontMgr_fontconfig::GetFamilyNames(_FcConfig*) ()
#2  0x000064d6d4d57bbe in sk_sp<SkFontMgr_fontconfig> sk_make_sp<SkFontMgr_fontconfig, _FcConfig*&>(_FcConfig*&) ()
#3  0x000064d6d4d57b3a in SkFontMgr_New_FontConfig(_FcConfig*) ()
#4  0x000064d6d4c4a0eb in SkFontMgr::Factory() ()
#5  0x000064d6d49669d0 in SkFontMgr::RefDefault() ()
#6  0x000064d6d49d2d48 in SkTypeface::MakeFromName(char const*, SkFontStyle) ()
#7  0x000064d6d491eb37 in Themes::Fonts::setTypeface (this=this@entry=0x7ffd5e6f2078, fontStr="Menlo", size=14) at src/themes.cpp:1044
#8  0x000064d6d48eb77c in Manager::GwPlot::GwPlot (this=this@entry=0x7ffd5e6eb070, reference="https://github.com/kcleal/ref_genomes/releases/download/v0.1.0/danRer11.fa.gz", bampaths=std::vector of length 0, capacity 0, opt=..., regions=std::vector of length 0, capacity 0,
    track_paths=std::vector of length 0, capacity 0) at src/plot_manager.cpp:84
#9  0x000064d6d480f570 in main (argc=<optimized out>, argv=<optimized out>) at src/main.cpp:588

Let me know if you need any more info!

@kcleal
Copy link
Owner

kcleal commented Oct 31, 2024

Hmm thanks for sharing. It looks like the crash is happening when skia is trying to use the Menlo typeface. You might be able to fix this by changing the font name in the the config file usually located at ~/.config/.gw.ini - try changing to Default or a common font like arial🤞

@peterk87
Copy link
Author

peterk87 commented Nov 1, 2024

I tried changing the ~/.config/.gw.ini to different fonts installed on my system and even tried installing the Menlo TTF from https://github.com/maltalef101/menlo-regular-font and copying over whatever fonts were present in the gw Conda env to ~/.local/share/fonts but unfortunately I still encounter the same issue.

gw installed with Conda still works great though!

@kcleal
Copy link
Owner

kcleal commented Nov 1, 2024

Thanks for trying!

@gtbil
Copy link

gtbil commented Dec 2, 2024

I am also getting the same error. I'm on CentOS Stream 9. Happy to try debugging further.

@kcleal
Copy link
Owner

kcleal commented Dec 3, 2024

Hi @gtbil,
Did you manage to get it working via conda? How did you try and install GW? Thanks!

@gtbil
Copy link

gtbil commented Dec 3, 2024

Yes, it did work with Conda. I tried to install GW using the instructions provided here under Build from source. The pre-built skia binary did not work so I had to build it using the provided instructions, with build_skia.sh.

@kcleal
Copy link
Owner

kcleal commented Dec 3, 2024

Ok thanks, Grant.

Did the pre-built skia binary and the built-from-scratch skia give the same core dumped problem?

It's a tricky one to understand. It looks like the issue arises from skia doing something funky when trying to create a font. This is the gw code causing the issue in gw/src/themes.cpp:

const char * font_c = fontStr.c_str();
face = SkTypeface::MakeFromName(font_c, SkFontStyle::Normal());

If the font name is set to 'Default' in the .gw.ini, that should avoid this block of code entirely. Alternatively, if you add a print statement to see if fontStr is a valid typeface, that might be useful to know. Or you can replace the MakeFromName function call with:

face = SkTypeface::MakeDefault();

If there is still a core dump, then the issue is not from the gw code and could be skia or fontconfig. It's interesting that the conda binary still works as that uses the pre-built skia. This makes me think it might be the fontconfig library on your system....

@gtbil
Copy link

gtbil commented Dec 3, 2024

I couldn't even get gw to compile with the pre-built skia binary.

So it actually looks like my stacktrace is different: My font name is set to Default.

For what it's worth here's the fontconfig package on my machine: fontconfig-2.14.0-2.el9.x86_64 (and fontconfig-devel-2.14.0-2.el9.x86_64):

Here's the output from coredumpctl gdb -1:

Program terminated with signal SIGILL, Illegal instruction.
#0  0x0000000000865770 in SkDataTable::MakeCopyArrays(void const* const*, unsigned long const*, int) ()
[Current thread is 1 (Thread 0x7fe2fc91f900 (LWP 3686178))]
(gdb) bt full
#0  0x0000000000865770 in SkDataTable::MakeCopyArrays(void const* const*, unsigned long const*, int) ()
No symbol table info available.
#1  0x0000000000908e89 in SkFontMgr_fontconfig::GetFamilyNames(_FcConfig*) ()
No symbol table info available.
#2  0x0000000000908a3e in sk_sp<SkFontMgr_fontconfig> sk_make_sp<SkFontMgr_fontconfig, _FcConfig*&>(_FcConfig*&) ()
No symbol table info available.
#3  0x00000000009089ca in SkFontMgr_New_FontConfig(_FcConfig*) ()
No symbol table info available.
#4  0x0000000000830b1b in SkFontMgr::Factory() ()
No symbol table info available.
#5  0x0000000000574f3c in SkFontMgr::RefDefault() ()
No symbol table info available.
#6  0x00000000005dd274 in SkTypeface::GetDefaultTypeface(SkTypeface::Style) ()
No symbol table info available.
#7  0x00000000005dd3ab in SkTypeface::MakeDefault() ()
No symbol table info available.
#8  0x000000000052c626 in Themes::Fonts::setTypeface (this=this@entry=0x7ffe4995ca08, fontStr="Default", size=14) at src/themes.cpp:1038
        ts = <optimized out>
#9  0x00000000004fe2d6 in Manager::GwPlot::GwPlot (this=this@entry=0x7ffe49955a00, reference="/run/media/grant/backup2/tmp/Coker312.fa.gz", bampaths=std::vector of length 0, capacity 0, opt=..., 
    regions=std::vector of length 0, capacity 0, track_paths=std::vector of length 0, capacity 0) at src/plot_manager.cpp:84
        fn = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        f = <optimized out>
        hdr_ptr = <optimized out>
        idx = <optimized out>
        track_paths_temp = <optimized out>
        trk_item = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        tp = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized o
ut>
#10 0x000000000042b961 in main (argc=<optimized out>, argv=<optimized out>) at src/main.cpp:588

@gtbil
Copy link

gtbil commented Dec 3, 2024

I recompiled Skia with debug symbols and got a slightly more useful stacktrace:

Program terminated with signal SIGILL, Illegal instruction.
#0  0x0000000000f7a0b4 in ft_mem_alloc (memory=0x222faa0 <gFTMemory>, size=400, p_error=<optimized out>) at ../../third_party/externals/freetype/src/base/ftutil.c:57
57	      FT_MEM_ZERO( block, size );
[Current thread is 1 (Thread 0x7f059a989940 (LWP 3729508))]
(gdb) bt full
#0  0x0000000000f7a0b4 in ft_mem_alloc (memory=0x222faa0 <gFTMemory>, size=400, p_error=<optimized out>) at ../../third_party/externals/freetype/src/base/ftutil.c:57
        block = 0x22d9ed0
        error = <optimized out>
#1  FT_New_Library (memory=0x222faa0 <gFTMemory>, alibrary=0x2277758) at ../../third_party/externals/freetype/src/base/ftobjs.c:5334
        library = 0x0
        error = <optimized out>
#2  0x0000000000f61054 in SkTypeface_FreeType::Scanner::Scanner (this=0x2277758) at ../../src/ports/SkFontHost_FreeType.cpp:1933
No locals.
#3  0x0000000000d9833b in SkFontMgr_fontconfig::SkFontMgr_fontconfig (this=0x2277730, config=0x0) at ../../src/ports/SkFontMgr_fontconfig.cpp:720
No locals.
#4  0x0000000000d981f8 in sk_make_sp<SkFontMgr_fontconfig, _FcConfig*&> (args=@0x7ffd324bbb70: 0x0) at ../../include/core/SkRefCnt.h:365
No locals.
#5  0x0000000000d971e8 in SkFontMgr_New_FontConfig (fc=0x0) at ../../src/ports/SkFontMgr_fontconfig.cpp:1035
No locals.
#6  0x0000000000be632c in SkFontMgr::Factory () at ../../src/ports/SkFontMgr_fontconfig_factory.cpp:13
No locals.
#7  0x000000000059c60b in SkFontMgr::RefDefault()::$_0::operator()() const (this=0x7ffd324bbd07) at ../../src/core/SkFontMgr.cpp:172
        fm = {fPtr = 0x0}
#8  0x000000000059bf5c in SkOnce::operator()<SkFontMgr::RefDefault()::$_0>(SkFontMgr::RefDefault()::$_0&&) (this=0x2232e70 <SkFontMgr::RefDefault()::once>, fn=...) at ../../include/private/SkOnce.h:37
        state = 0 '\000'
#9  0x000000000059b8d7 in SkFontMgr::RefDefault () at ../../src/core/SkFontMgr.cpp:170
        once = {fState = {<std::__atomic_base<unsigned char>> = {static _S_alignment = 1, _M_i = 1 '\001'}, static is_always_lock_free = true}}
        singleton = {fPtr = 0x0}
#10 0x00000000006e593d in SkTypeface::GetDefaultTypeface(SkTypeface::Style)::$_1::operator()() const (this=0x7ffd324bbe74) at ../../src/core/SkTypeface.cpp:107
        fm = {fPtr = 0x68}
        t = {fPtr = 0x2d6968ce2e251700}
#11 0x00000000006e38cc in SkOnce::operator()<SkTypeface::GetDefaultTypeface(SkTypeface::Style)::$_1>(SkTypeface::GetDefaultTypeface(SkTypeface::Style)::$_1&&) (
    this=0x2233840 <SkTypeface::GetDefaultTypeface(SkTypeface::Style)::once>, fn=...) at ../../include/private/SkOnce.h:37
        state = 0 '\000'
#12 0x00000000006e3205 in SkTypeface::GetDefaultTypeface (style=SkTypeface::kNormal) at ../../src/core/SkTypeface.cpp:106
        once = {{fState = {<std::__atomic_base<unsigned char>> = {static _S_alignment = 1, _M_i = 1 '\001'}, static is_always_lock_free = true}}, {fState = {<std::__atomic_base<unsigned char>> = {
                static _S_alignment = 1, _M_i = 0 '\000'}, static is_always_lock_free = true}}, {fState = {<std::__atomic_base<unsigned char>> = {static _S_alignment = 1, _M_i = 0 '\000'}, 
              static is_always_lock_free = true}}, {fState = {<std::__atomic_base<unsigned char>> = {static _S_alignment = 1, _M_i = 0 '\000'}, static is_always_lock_free = true}}}
        defaults = {{fPtr = 0x0}, {fPtr = 0x0}, {fPtr = 0x0}, {fPtr = 0x0}}
#13 0x00000000006e39fe in SkTypeface::MakeDefault () at ../../src/core/SkTypeface.cpp:115
No locals.
#14 0x0000000000536c76 in Themes::Fonts::setTypeface (this=this@entry=0x7ffd324cab38, fontStr="Default", size=14) at src/themes.cpp:1038
        ts = <optimized out>
#15 0x0000000000508926 in Manager::GwPlot::GwPlot (this=this@entry=0x7ffd324c3b30, reference="/run/media/grant/backup2/tmp/Coker312.fa.gz", bampaths=std::vector of length 0, capacity 0, opt=..., 
    regions=std::vector of length 0, capacity 0, track_paths=std::vector of length 0, capacity 0) at src/plot_manager.cpp:84
        fn = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        f = <optimized out>
        hdr_ptr = <optimized out>
        idx = <optimized out>
        track_paths_temp = <optimized out>
        trk_item = <optimized out>
        __for_range = <optimized out>
        __for_begin = <optimized out>

@kcleal
Copy link
Owner

kcleal commented Dec 3, 2024

Ah ok, that's quite helpful. It looks like the issue arises from freetype which itself is compiled as a static lib during skia compilation. I believe you can switch off freetype compilation when building skia. You can try adding this to the gn args in build_skia.sh:

skia_use_system_freetype=true

Or possibly just:

skia_use_system_fontconfig=true

I will need to move to a later version of skia, its possible this issue has been resolved in one of the newer releases.

@gtbil
Copy link

gtbil commented Dec 3, 2024

Cool! I compiled Skia with these instructions (and an additional compiler flag, "-Wno-everything" to suppress an error from a Skia dependency warning during the build):

bin/gn gen out/${REL} --args="is_debug=true \
    skia_use_system_expat=false \
    skia_use_system_freetype2=true \
    skia_use_system_harfbuzz=false \
    skia_use_system_icu=false \
    skia_use_system_libjpeg_turbo=false \
    skia_use_system_libpng=false \
    skia_use_system_libwebp=false \
    skia_use_system_zlib=false \
    target_cpu=\"${ARCH}\" \
    ${EXTRA_CFLAGS} \
    ${EXTRA_LDFLAGS} \
    cc=\"clang\" \
    cxx=\"clang++\" \
    skia_use_egl=true skia_use_gl=true skia_use_x11=true"

Now getting a different error. Before, the GUI was not appearing, but now it appears and immediately crashes:

#0  0x00000000005bd3ad in skvx::operator~<4, int> (x=...) at ../../include/private/SkVx.h:205
205	    SINT Vec<N,T> operator~(const Vec<N,T>& x) { return to_vec<N,T>(~to_vext(x)); }
[Current thread is 1 (Thread 0x7f459655a940 (LWP 3737498))]
(gdb) bt full
#0  0x00000000005bd3ad in skvx::operator~<4, int> (x=...) at ../../include/private/SkVx.h:205
No locals.
#1  0x00000000005bd1f4 in skvx::naive_if_then_else<4, float> (cond=..., t=..., e=...) at ../../include/private/SkVx.h:376
No locals.
#2  0x00000000005bcdd6 in skvx::min<4, float> (x=..., y=...) at ../../include/private/SkVx.h:471
No locals.
#3  0x00000000005bbafc in map_rect_affine (src=..., mat=0x269c1d8) at ../../src/core/SkM44.cpp:154
        flip = {lo = {lo = {val = 1}, hi = {val = 1}}, hi = {lo = {val = -1}, hi = {val = -1}}}
        c0 = {lo = {lo = {val = 1}, hi = {val = 0}}, hi = {lo = {val = -1}, hi = {val = -0}}}
        c1 = {lo = {lo = {val = 0}, hi = {val = 1}}, hi = {lo = {val = -0}, hi = {val = -1}}}
        c3 = {lo = {lo = {val = 0}, hi = {val = 0}}, hi = {lo = {val = 0}, hi = {val = 0}}}
        minMax = {lo = {lo = {val = 1.50835843e+35}, hi = {val = 4.59163468e-41}}, hi = {lo = {val = 8.37708553e-39}, hi = {val = 0}}}
        r = {fLeft = 1.50837903e+35, fTop = 4.59163468e-41, fRight = 1.71735517e-37, fBottom = 0}
#4  0x00000000005bb132 in SkMatrixPriv::MapRect (m=..., src=...) at ../../src/core/SkM44.cpp:223
        hasPerspective = false
#5  0x0000000000566672 in SkCanvas::computeDeviceClipBounds (this=0x269b480, outsetForAA=true) at ../../src/core/SkCanvas.cpp:1632
        devClipBounds = {fLeft = 1.50841944e+35, fTop = 4.59163468e-41, fRight = 1.50841944e+35, fBottom = 4.59163468e-41}
        dev = 0x269c130
#6  0x0000000000566885 in SkCanvas::init (this=0x269b480, device=...) at ../../src/core/SkCanvas.cpp:446
No locals.
#7  0x0000000000566ec2 in SkCanvas::SkCanvas (this=0x269b480, bitmap=..., props=...) at ../../src/core/SkCanvas.cpp:492
        device = {fPtr = 0x269c130}
#8  0x0000000000730cd6 in SkSurface_Raster::onNewCanvas (this=0x252e7a0) at ../../src/image/SkSurface_Raster.cpp:79
No locals.
#9  0x00000000007302e1 in SkSurface_Base::getCachedCanvas (this=0x252e7a0) at ../../src/image/SkSurface_Base.h:158
No locals.
#10 0x000000000072f42d in SkSurface::getCanvas (this=0x252e7a0) at ../../src/image/SkSurface.cpp:193
No locals.
#11 0x00000000004fbf78 in Manager::GwPlot::makeRasterSurface (this=0x7fff79e8e090, this@entry=0x7fff79e86968) at ./lib/skia/include/core/SkRefCnt.h:299
        info = {fColorInfo = {fColorSpace = {fPtr = 0x0}, fColorType = kRGBA_8888_SkColorType, fAlphaType = kPremul_SkAlphaType}, fDimensions = {fWidth = 2560, fHeight = 1440}}
        rowBytes = <optimized out>
        size = <optimized out>
#12 0x00000000004fcac9 in Manager::GwPlot::init (this=0x7fff79e86968, width=0, height=<optimized out>) at src/plot_manager.cpp:371
        major_v = <optimized out>
        minor_v = <optimized out>
        val = 0x730cd6 <SkSurface_Raster::onNewCanvas()+70> "H\213E\360H\203\304 ]\303UH\211\345H\203\3540H\211}\320H\211\370H\211E\340H\211}\370H\211u\360H\211U\350H\213}\360H\213E\350H\211E\330", <incomplete sequence \350>
        debug = true
        opengl_es_loader = true
        func_key = <optimized out>
        func_drop = <optimized out>
        func_mouse = <optimized out>
        func_pos = <optimized out>
        func_scroll = <optimized out>
        func_resize = <optimized out>
#13 0x0000000000433c03 in main (argc=<optimized out>, argv=<optimized out>) at src/main.cpp:605
        interface = {fPtr = 0x7fff79e870a0}
        framebufferInfo = {fFBOID = 2045276448, fFormat = 32767}
        colorTypes = {2045276384, 32767}
        plotter = {frameId = 0, fb_width = 0, fb_height = 0, xPos_fb = 0, yPos_fb = 0, monitorScale = 1, ...

@kcleal
Copy link
Owner

kcleal commented Dec 3, 2024

Ok I think I understand - this is still related to the first error. The illegal instruction is probably from the wrong SIMD flags being used at compilation. You can check what your CPU supports using lscpu I believe. I'm not sure what needs to be passed as a cxxflag, maybe -march=native. I will have a look tomorrow. Thanks for your input, much appreciated 👍

@gtbil
Copy link

gtbil commented Dec 4, 2024

Awesome, thank you!! Removed all the SIMD-specific flags and replaced them with -march=native. Now a new error.

$ gw coker

█▀▀ █ █ █
█▄█ ▀▄▀▄▀

Type '/help' for more info
NVRefCnt was 0
../../include/core/SkRefCnt.h:165: fatal error: "assert(rc == 1)"
Illegal instruction (core dumped)

Trace:

#0  sk_abort_no_print () at ../../src/ports/SkMemory_malloc.cpp:49
49	    __builtin_trap();
[Current thread is 1 (Thread 0x7f2002210940 (LWP 3758966))]
(gdb) bt full
#0  sk_abort_no_print () at ../../src/ports/SkMemory_malloc.cpp:49
No locals.
#1  0x00000000006f86f9 in SkNVRefCnt<SkTextBlob>::~SkNVRefCnt()::{lambda()#1}::operator()() const (this=0x7ffe8f992f30) at ../../include/core/SkRefCnt.h:165
No locals.
#2  0x00000000006f7eaa in SkNVRefCnt<SkTextBlob>::~SkNVRefCnt (this=0x2cac8b0) at ../../include/core/SkRefCnt.h:165
        rc = 0
#3  0x00000000006f3f83 in SkTextBlob::~SkTextBlob (this=0x2cac8b0) at ../../src/core/SkTextBlob.cpp:163
        run = 0x0
#4  0x000000000044c651 in SkNVRefCnt<SkTextBlob>::unref (this=0x2cac8b0) at ./lib/skia/include/core/SkRefCnt.h:180
No locals.
#5  0x0000000000505f2a in SkSafeUnref<SkTextBlob> (obj=<optimized out>) at ./lib/skia/include/core/SkRefCnt.h:150
No locals.
#6  sk_sp<SkTextBlob>::~sk_sp (this=0x7ffe8f9930a0, __in_chrg=<optimized out>) at ./lib/skia/include/core/SkRefCnt.h:251
No locals.
#7  Manager::GwPlot::drawOverlay (this=this@entry=0x7ffe8f99aa00, canvas=0x2fb0d30) at src/plot_manager.cpp:1523
        trackBoundary = 1339
        dd_msg = "Drag-and-drop bam or cram files here"
        txt_start = 1144.5
        tcMenu = {static kStyleCount = 3, static kCapCount = 3, static kJoinCount = 3, fPathEffect = {fPtr = 0x0}, fShader = {fPtr = 0x0}, fMaskFilter = {fPtr = 0x0}, fColorFilter = {fPtr = 0x0}, fImageFilter = {fPtr = 0x0}, fBlender = {fPtr = 0x0}, 
          fColor4f = {fR = 0.392156899, fG = 0.392156899, fB = 0.392156899, fA = 1}, fWidth = 0, fMiterLimit = 4, {fBitfields = {fAntiAlias = 1, fDither = 0, fCapType = 0, fJoinType = 0, fStyle = 2, fFilterQuality = 0, fPadding = 0}, 
            fBitfieldsUInt = 129}}
        msg_width = 271
        blob = {fPtr = 0x2cac8b0}
        xposm = 604
        yposm = 623
        windowW = 2560
        windowH = 1387
        variantFile_info = <optimized out>
        half_h = <optimized out>
        tool_popup = <optimized out>
        current_view_is_images = false
#8  0x0000000000515047 in Manager::GwPlot::startUI (this=this@entry=0x7ffe8f99aa00, sContext=0x2f7e2c0, sSurface=0x2f82f90, delay=0, extra_commands=std::vector of length 0, capacity 0) at src/plot_manager.cpp:870
        wind = 0x2d1d830
        wasResized = false
        autoSaveTimer = {__d = {__r = 1733270860367476826}}
#9  0x00000000004373d4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/include/c++/11/bits/char_traits.h:399

@kcleal
Copy link
Owner

kcleal commented Dec 4, 2024

Ok maybe try a baseline

-march=x86-64

If that doesn't fix it then I will have to move to a newer skia version I think. It will take a bit of time as the API will be different in the newest version.

@gtbil
Copy link

gtbil commented Dec 4, 2024

No luck, same error.

@kcleal
Copy link
Owner

kcleal commented Dec 5, 2024

Ok one last try could be:

-march=core2 -mtune=haswell -mssse3

@gtbil
Copy link

gtbil commented Dec 17, 2024

Still doesn't work unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants