Bug: Crashing

Kcko's profile image Kcko posted 4 years ago in General Permalink

Hi,

when i switching between two tables in db and when i click on tab "Data" heidiSQL crashes!

Bug report in attachment.

This problem began to occur with the last build.

Thx.

1 attachment(s):
ansgar's profile image ansgar posted 4 years ago Permalink

Ok, the crash happens in dbconnection +4 TDBObject.IsSameAs. I should be able to fix that.

Kcko's profile image Kcko posted 4 years ago Permalink

Thanks! :) PS. Is not possible to add EMOJI :-)

Kcko's profile image Kcko posted 4 years ago Permalink

See :-) http://bit.ly/2qL1cP8

ansgar's profile image ansgar posted 4 years ago Permalink

Thanks for the hint. Got it now: 😎😊👍

Turned out I had my database tables still in utf8_general_ci collation, and the connection charset also in utf8. These emojis need utf8mb4_general_ci tables, and a utf8mb4 connection charset:

mysqli_set_charset($dbhandle, 'utf8mb4');
Code modification/commit 3d1468e from Ansgar Becker <anse@heidisql.com>, 4 years ago, revision 10.3.0.5781
Make TDBObject.IsSameAs more crash stable, in case the second object is nil. See https://www.heidisql.com/forum.php?t=35109
ansgar's profile image ansgar posted 4 years ago Permalink

I just changed the relevant code so it's hopefully more stable in that situation. I could not reproduce it, so it would be nice to get feedback from you for the next build.

Kcko's profile image Kcko posted 4 years ago Permalink

Hi Ansgar, i will give you feedback when back as soon as possible. But the last two builds are falling all the time (every moment, it's very unpleasant).

Is some different between portable and std install version? (Im using portable).

Kcko's profile image Kcko posted 4 years ago Permalink

I just downloaded the current build and I'll test it all day and will report it at the end of the day.

ansgar's profile image ansgar posted 4 years ago Permalink

The only difference in the portable zip file is the contained portable.lock file, which tells HeidiSQL to manage its settings in a local textfile. But I am not creating a portable version for every build. Though you can use the portable release, and then update the build through Help > Check for updates.

Kcko's profile image Kcko posted 4 years ago Permalink

Okey, thx for info. I have build no. 5775 => current I will give you further information at on the end of day. Thx.

Kcko's profile image Kcko posted 4 years ago Permalink

*5781

Kcko's profile image Kcko posted 4 years ago Permalink

My report: There was no crash during today's use :-)

Please login to leave a reply, or register at first.