Tony Morris
Java Q&A (FAQ, Trivia)
%
Originally posted by Michael Duffy:
Hi Tony,
Tough problem, to be sure.
I'm surprised that the many clients of the C++ object haven't exposed the source of the segmentation fault. If that is indeed the source of the problem, I'd expect that a large client base would have a good chance of using the right combination of parameters that trigger the problem.
Just curious - which JVM are you using?
The only rational comment I can suggest is running a tool like OptimizeIt on both sides, the Java and C++. (I never used such a thing when I wrote C++, but I'd be surprised if it wasn't available.) That way you can get some data instead of being dragged into a religious finger-pointing war.
You said you ran a debugger on the Java side. What did you learn? Just that it went into the JNI call and never came out?
Politics are difficult, no matter what language you prefer. I'm sorry, but I don't have much advice there.
Tony Morris
Java Q&A (FAQ, Trivia)
Originally posted by Tony Morris:
It is exactly this reason that I don't intend to get into figner pointing wars. I truly don't care if I have to fix a problem of any kind, but I do care if a paying customer suffers as a result of the inability to discern between the correct method of resolution of that customer's problems. I believe that the current process does indeed contribute to pain on behalf of the customer.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
I feel that it's more than a process issue - healthy teams work around processes that don't help them.
So something is making both developers value the fact that they are not responsible more than making the customer happy. What is this? Corporate culture would be my guess. (In this context I wonder why it was decided to strongly separate these two roles at all.)
I would want these two guys to cooperate on the problem. Problem is, you can't just tell them to - they will need to *feel* that cooperation actually is valued, that fixing the bug actually is more important to the company than finding out who's fault it was, or whatever else is currently holding them back. (Do they report to the same manager?)
Tony Morris
Java Q&A (FAQ, Trivia)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Sure, you can ask the Java guy to run off and reproduce it, but in doing so, you achieve absolutely nothing - confirmation that the defect belongs in the C/C++ code - this could have been achieved within 3 seconds.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Ilja Preuss:
Well, there is another possible reason: it's how they know to do it.
It has been often observed that people prefer to fail using known, conservative ways over possibly succeeding using ways new to them.
Or with other words: the process they use *is* efficient - in keeping them inside their comfort zone.
Tony Morris
Java Q&A (FAQ, Trivia)
Consider Paul's rocket mass heater. |