openlink / iODBC

An open-source ODBC driver manager and SDK that facilitates the development of database-independent applications on linux, freebsd, unix and MacOS X platforms.
http://www.iodbc.org/
Other
162 stars 52 forks source link

Seg Fault crash on macOS Big Sur when entering key/value pairs #63

Closed csolonynka closed 6 months ago

csolonynka commented 3 years ago

When entering a value for a User Data Source in iODBC Admin in macOS Big Sur, if you click OK while the value is still in edit mode (a light blue bar around it) you will get a seg fault error as per the attached file. crash_report.txt

Screen Shot 2021-06-22 at 10 19 55 AM

If you click OK while the value is not in Edit Mode (pressed return after typing in the value), no error occurs and the value is saved correctly in the odbc.ini file.

TallTed commented 3 years ago

@csolonynka -- We could possibly quickly assist in providing guidance on editing the relevant odbc.ini and/or other configuration files, if needed.

(I say possibly, because the target mac_configure_dsn.md is not public, so I don't know exactly what's involved with the driver and/or app in use -- though given that users are using keyword=value settings, it should be rather straightforward. What driver is this? A Setup Library is recommended, to give users the GUI experience they should be accustomed to....)

csolonynka commented 3 years ago

Hi Ted. Thank-you for the quick reply.

We can manually edit the odbc.ini file. It doesn't seem to matter which driver is being used; if you are using iODBC Admin and the Value is in edit mode when clicking OK you get an error. It seems like the reason is that the value doesn't exist yet (because return hasn't been pressed) so it can't write properly to the odbc.ini file. We can get around the issue by providing troubleshooting and manual instructions; however, there are concerns that it looks bad to users to be able to generate a crash.

On Tue, Jun 22, 2021 at 1:14 PM Ted Thibodeau Jr @.***> wrote:

@csolonynka https://github.com/csolonynka -- We could possibly quickly assist in providing guidance on editing the relevant odbc.ini and/or other configuration files, if needed.

(I say possibly, because the target mac_configure_dsn.md is not public, so I don't know exactly what's involved with the driver and/or app in use -- though given that users are using keyword=value settings, it should be rather straightforward. What driver is this? A Setup Library is recommended, to give users the GUI experience they should be accustomed to....)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openlink/iODBC/issues/63#issuecomment-866301581, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSGMZCE5ZAM7L4XA7CGN7TTUDVI7ANCNFSM47EEBJIA .

-- Charlene Solonynka Development Manager Bit Quill Technologies Inc. Office: +1.778.331.3555 | Direct: +1.778.903.3124 | @.*** https://www.bitquilltech.com

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you.

TallTed commented 3 years ago

@pkleef @openlink @HughWilliams @kidehen @smalinin --

What is ETA for rebuilt binaries, installers, etc., with this fix?