hedit duplicate crash

  • Jan
  • Jan's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
6 months 6 days ago #6601 by Jan
Jan created the topic: hedit duplicate crash
How can i prevent this crash from happening Again ?

Program terminated with signal 11, Segmentation fault.
#0 0x080ebbb0 in do_oasis_hedit (ch=0xabbee48,
argument=0xbff01c89 " SPELL-WEB", cmd=541, subcmd=0) at hedit.c:87
87 if (help_table[OLC_ZNUM(d)].duplicate) {
(gdb) Hangup detected on fd 0
Error detected on fd 0
error detected on stdin

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

More
6 months 6 days ago #6602 by Thomas
Thomas replied the topic: hedit duplicate crash

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

  • Jan
  • Jan's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
6 months 5 days ago #6603 by Jan
Jan replied the topic: hedit duplicate crash
Unfortunately i dont have enough memory to perform any debugging. It stops after a few seconds, never reveiling any usefull info :(

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

  • Jan
  • Jan's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
6 months 8 hours ago #6604 by Jan
Jan replied the topic: hedit duplicate crash
I hope someone can come up with a fix. Would be good to fix in tba release.

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

More
6 months 7 hours ago #6605 by Matt
Matt replied the topic: hedit duplicate crash
Can you post the steps you follow to reproduce the crash?

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

  • Jan
  • Jan's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
5 months 4 weeks ago #6607 by Jan
Jan replied the topic: hedit duplicate crash
I tried to hedit web...it said edit HomePage, said no, edit web, said yes.

Typed help for web...saved...help web..showed HomePage info...then tried to hedit web again...crash.

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

More
5 months 4 weeks ago #6608 by Matt
Matt replied the topic: hedit duplicate crash
I followed those steps on a fresh copy of 3.68 and didn't replicate the crash.
The WEB help entry didn't get created as a separate entry in the help file, not sure why that is - perhaps because WEB is already part of the keywords for the 'homepage' entry?

Hedit allowed me to edit existing, and create new, help file entries without crashing.

Maybe the next thing to check is that circle.exe has write access to the help file.
If you can see that it is successfully writing back to it, compare the hedit.c file with the latest release and see if there is anything different

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

  • Jan
  • Jan's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
More
5 months 4 weeks ago #6609 by Jan
Jan replied the topic: hedit duplicate crash
I have created other help entries just fine....first time one wasnt there efter i made it...maybe i could talk you into trying some more times with various help names ?

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

More
5 months 4 weeks ago - 5 months 4 weeks ago #6613 by Matt
Matt replied the topic: hedit duplicate crash
Yep, definitely can not crash it making new entries, editing existing etc..

I googled the errors 'Error detected on fd 0 error detected on stdin' and see a few discussions about possible bugs in GDB - sounds like it could be related to the operating system or compiler you are running it on?? That stuffs a bit over my head.
Last Edit: 5 months 4 weeks ago by Matt.

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

Time to create page: 1.256 seconds