Re: Need help debugging hedgewars

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

 



On 12/17/2017 12:58 UTC, Richard Shaw wrote:
Ok, so I built the latest version of hedgewars (0.9.23) and submitted an update and quickly found out that when the game exits (hwengine, not the hedgewars binary) it get's a segmentation fault.

http://hedgewars.org/node/6879?page=0
https://github.com/NVIDIA/libglvnd/issues/141
https://pastebin.com/LCDQpB5d
https://pastebin.com/i5iXUBZX

SIGSEGV is a bad memory reference, but none of those URLs gives any info
about the memory reference itself: the address, the size, Read/Write/Execute,
the program counter value, the contents of the instruction stream.
The pastebin info is useful after that, but knowing the SIGSEGV info comes first.

The minimum info for a SIGSEGV report is:
	(gdb) thread <N>   # focus on the faulting thread
	(gdb) info reg   # display all machine registers
	(gdb) x/5i $pc   # the faulting and following instructions
	(gdb) x/12i $pc-0x20   # probable previous instructions (heuristic for x86*)

--
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux