HaikuArchives/Hare

Selecting GoGo, Lame or Ogg encoder causes crash

Closed this issue · 5 comments

Selecting Be encoder, or M3U creator working, but when selecting Ogg, Lame or GoGo encoder the application crashes. I do not believe this was the case last time I tested the application.

I think this is related to the attribute set on the encoder binaries. I've been trying to decipher the code to see how it is trying to locate them, but making slow progress.

In AEEncoder is seems to be searching for the encoders that have the BEOS:TYPE set as:
"application/x-vnd.Be-elfexecutable"

A better solution might be to use find_directory() to locate B_USER_NONPACKAGED_BIN_DIRECTORY, B_SYSTEM_BIN_DIRECTORY and B_USER_BIN_DIRECTORY (others?), and if not found prompt the user to install from Haiku Depot. The prompt should only come up the 1st time the program is run and then the users choice added to the preferences so they aren't nagged everytime they open the app that lame/ogg/other isn't installed. Users most likely will settle on just one anyways.

Fixed with #37 it now finds these executables and even uses them. Well it did the first few times i tried it, but now it's not finding the executables again. More debugging to do.

Partially fixed, now crashes continue for Oggenc and GOGO, see #43.