[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #3256: Two Gambas JIT bugs on the error path


http://gambaswiki.org/bugtracker/edit?object=BUG.3256&from=L21haW4-

Comment #2 by Brian G:

The simple answer is yes.

I have struggled with my project for a long time, I would think I figured out what was happening, try to do a work around, for the fast stuff. but would randomly have a crash, I thought i had isolated to a few places and turn off fast for those. it even seemed to work for me.
Then Bruce tried it and had nothing but seg faults, I worked on it again... could not reproduce the issue, random.

So I decided to use claude code opus 5.5 to help identify the problem. I spent a long time writing the symptoms, that it worked fine with no fast, pointed it to where the gb.jit was, told it where if I turned on fast it would randomly crash. Then let it go, don't know what I was expecting, still thought it might be me corrupting memory somewhere....

Ben it took claude 25 seconds to identify the problem, and another 40 seconds to generate the examples and detailed description..... embarrassing.

I then spent time understanding and testing the issue was in fact resolved and did not cause some other issue with the fix... 

I understand the excitement of fixing something myself, finding the solution or patch, but I am not sure now. Do I want it to work or be frustrated after months..

Anyway, it then did a commit on my project and made itself co-author, so the project now bears the list of authors me and claude.... darn it is just a tool not a person, and actually did nothing to my project in the end.

I was having a similar problem when I first started using tcc, had it look, and it found a code generation problem the sometimes affected tcc and caused the code to crash. The jit patch made tcc work correctly always. do you want that one?

I think it is like the sirens song calling the sailors in old Greek myths... easy to listen to and end up on the rocks.

Brian



----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----