Giter Site home page Giter Site logo

Comments (13)

brummer10 avatar brummer10 commented on June 16, 2024

Did it behave the same when run with jalv?

from fluida.lv2.

yurivict avatar yurivict commented on June 16, 2024

Did it behave the same when run with jalv?

Yes.

from fluida.lv2.

brummer10 avatar brummer10 commented on June 16, 2024

That's bad. I've no idea what it could be.

from fluida.lv2.

brummer10 avatar brummer10 commented on June 16, 2024

@yurivict
Have you ever build Mamba on FreeBSD?
If so, did the File Dialogue works there, or are there the same issue?
https://github.com/brummer10/Mamba

Also, there is a break out of the File Dialogue here:
https://github.com/brummer10/XFileSelect
It may help to know if that works on FreeBSD.

from fluida.lv2.

yurivict avatar yurivict commented on June 16, 2024

Have you ever build Mamba on FreeBSD?
If so, did the File Dialogue works there, or are there the same issue?

Selecting "Load New" menu items crashes mamba.

from fluida.lv2.

brummer10 avatar brummer10 commented on June 16, 2024

could you build a debug version from Mamba (make clean && make debug) and produce a backtrace, maybe I could see were the culprit is.

from fluida.lv2.

brummer10 avatar brummer10 commented on June 16, 2024

As a first Idea, did the file $HOME/.config/user-dirs.dirs exist on FreeBSD as part of the XDG Base Directory Specification

from fluida.lv2.

yurivict avatar yurivict commented on June 16, 2024

fp is null here:

125│ int
126│ fclose(FILE *fp)
127│ {
128│         int r;
129│
130├───────> if (fp->_flags == 0) {  /* not open! */
131│                 errno = EBADF;
132│                 return (EOF);
133│         }

Stack backtrace:

(gdb) bt
[?2004l#0  fclose (fp=0x0) at /usr/src/lib/libc/stdio/fclose.c:130
#1  0x00000000002903e9 in parse_xdg_dirs (file_dialog=0x8021d65a0) at ../xputty/dialogs/xfile-dialog.c:520
#2  0x000000000028f528 in open_file_dialog (w=0x8021db000, path=0x7fffffffdbc1 "/home/yuri", filter=0x20acc1 "midi") at ../xputty/dialogs/xfile-dialog.c:563
#3  0x000000000023a16e in midikeyboard::XKeyBoard::load_midi_callback (w_=0x8021de800, user_data=0x7fffffffd4a4) at MidiKeyBoard.cpp:1796
#4  0x000000000027721d in check_value_changed (adj=0x802112c80, value=0x7fffffffd4a4) at ../xputty/xadjustment.c:268
#5  0x000000000027749e in adj_set_value (adj=0x802112c80, v=0) at ../xputty/xadjustment.c:170
#6  0x000000000028ad65 in _menu_entry_released (w_=0x8021df0c0, item_=0x7fffffffd52c, user_data=0x7fffffffd518) at ../xputty/widgets/xmenu_private.c:119
#7  0x0000000000281128 in _check_submenu (wid=0x8021e0b00, xbutton=0x7fffffffd788, main=0x7fffffffe668) at ../xputty/xwidget_private.c:159
#8  0x000000000027e034 in widget_event_loop (w_=0x8021e0b00, event=0x7fffffffd788, main=0x7fffffffe668, user_data=0x0) at ../xputty/xwidget.c:555
#9  0x000000000027bfda in main_run (main=0x7fffffffe668) at ../xputty/xputty.c:71
#10 0x0000000000242b86 in main (argc=1, argv=0x7fffffffe7e8) at MidiKeyBoard.cpp:3154

from fluida.lv2.

yurivict avatar yurivict commented on June 16, 2024

As a first Idea, did the file $HOME/.config/user-dirs.dirs exist on FreeBSD as part of the XDG Base Directory Specification

It doesn't exist.

from fluida.lv2.

brummer10 avatar brummer10 commented on June 16, 2024

Nice, thanks a lot.
Indeed a bug in my code. I've pushed a Fix for it now to Fluida, please let me know if it works, if so I could fix Mamba as well.

regards
hermann

from fluida.lv2.

yurivict avatar yurivict commented on June 16, 2024

Now this problem is gone.

Thank you!

from fluida.lv2.

brummer10 avatar brummer10 commented on June 16, 2024

Okay, thanks. I've pushed the same fix to Mamba now.

from fluida.lv2.

yurivict avatar yurivict commented on June 16, 2024

Thanks!

from fluida.lv2.

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.