Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4903

  • htouvet
  • htouvet's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Dear all,
I'm using v4.6 and experiencing problem with GDB crash.
I'm on win7-64 running and 32 bits codetyphon big ide IDE.

Just setting a breakpoint in my code and trying to evaluate something which is for example a property leads to a crash of the debugger and of the debugged application.

While executing the command:
"TGDBMIDebuggerInstruction: "ptype pchar(self.fostring)", [ifRequiresThread, ifRequiresStackFrame] Thr=1 Frm=0"
gdb reported:
"&"../../gdb-7.6.50.20130925/gdb/parse.c:593: internal-error: mark_struct_expression: Assertion `parse_completion && expout_tag_completion_type == TYPE_CODE_UNDEF' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.""

Version of GDB :
"CodeTyphon Studio
This GDB v 7.6.50 for Win32 release at 25/09/2013
can be used to debug your Win32 applications
"

Have you such problems too ?
Thanks,

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4904

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
More Info for your code Sir
and did you try "Stabs" Debugging mode ?
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4906

  • htouvet
  • htouvet's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Just a simple application exhibit the problem for me :
Compile and run testdebug/project1 on windows7 CT 4.6 32 bits

Pushing the button should stop on breakpoint.
But crash the GDB

CodeTyphon has been recompiled using Tools/Build Typhon wth profile Optimized IDE

Thanks for your help.

Regards,
Hubert

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4907

  • htouvet
  • htouvet's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
I have just tested on a Windows XP SP3, CT 4.6 Bigide 32.
Same issue....

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4908

  • htouvet
  • htouvet's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Replacing in c:\codetyphon\binGDB\win32 gdb 7.6.50 with old version 7.5.50 from previous CodeTyphon prevents the issue from arising.
SO i have the issue only with GDB 7.6.50 and not 7.5.50
"""
CodeTyphon Studio
This GDB v 7.5.50 for Win32 release at 23/10/2012
can be used to debug your Win32 applications
"""

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4909

  • Bernard Asher
  • Bernard Asher's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
I saw you linked with dwarf3 debugging mode (-gw3). That mode is flagged as experimental.
I did a clean rebuild of the test project with dwarf2 debugging (-gw2). Everything went smooth.

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4911

  • htouvet
  • htouvet's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
Just tried with dwarf2.

A little better, but still crash when i try to evaluate some properties on both Win7 and win XP
(a good thing though is that we can evaluate properties. It was not possible with previous gdb...)
try attached test.

Best regards.

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4913

  • htouvet
  • htouvet's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 0
GDB is crashing when it tries to evaluate a property with a getter and no direct mapping to an object member.
It crashes to when the mouse cursor is over a function which returns no result.

example :
breakpoint on listbox1.clear
then put the mouse on the "clear" word :

"""
While executing the command:
"TGDBMIDebuggerInstruction: "ptype ListBox1.Clear", [ifRequiresThread, ifRequiresStackFrame] Thr=1 Frm=0"
gdb reported:
"&"../../gdb-7.6.50.20130925/gdb/parse.c:593: internal-error: mark_struct_expression: Assertion `parse_completion && expout_tag_completion_type == TYPE_CODE_UNDEF' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.""
"""

"""
The GDB command:
"ptype ListBox1.Clear"
did not return any result.

The GDB process is no longer running.
"""

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4914

  • Bernard Asher
  • Bernard Asher's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1
This is getting an important bug, Mr. Sternas :woohoo:
I can confirm it after rebuilding this testdebug project of htouvet. Placing a break on the statement Memo1.Text:='roro'; is enough. As the breakpoint is reached, the GDB crashes.


My system is Windows 8.1 64 bit using the 32bit BigIDE.

Please Log in or Create an account to join the conversation.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4916

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Always you can use GDB from CT 4.5
until we build GDB 7.6.2 from sources...
PilotLogic Architect and Core Programmer
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

GDB 7.6.50 crash on Win7-64 using CT 4.6 Bigide 32 10 years 4 months ago #4918

  • Bernard Asher
  • Bernard Asher's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 16
  • Thank you received: 1

sternas wrote: Always you can use GDB from CT 4.5
until we build GDB 7.6.2 from sources...

Thanks Sternas!
I already tried GDB 7.6.1 and that didn't work either!
This old version 7.5.50 does a decent job :cheer:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1