Update of bug #21874 (project freeciv):
Summary: Windows Freeciv 2.4.2 GTK access violation causes
client crash => Misc Windows Freeciv 2.4.2 client crashes with access
violations
_______________________________________________________
Follow-up Comment #2:
2. Second backtrace in comment #0:
Something went horribly wrong when the user changed an enumerated option.
Can't easily tell which option, unfortunately.
Not sure what went wrong, either. From the disassembly, don't *think* it can
be as simple as poption->changed_callback being duff.
0040AE83 _option_changed
0040BF88 _option_enum_set_int
00485898 _option_dialog_option_apply
0048704C _option_dialog_reponse_callback
63A48C6F C:\Program Files\Freeciv-2.4.2-gtk2\libgobject-2.0-0.dll:63A48C6F
g_cclosure_marshal_VOID__INTv
...
Disassembly of option_changed() up to 0040AE83, in case anyone better at
reading x86 assembler can guess the problem:
0040ae6c <_option_changed>:
40ae6c: 55 push %ebp
40ae6d: 89 e5 mov %esp,%ebp
40ae6f: 53 push %ebx
40ae70: 83 ec 24 sub $0x24,%esp
40ae73: 8b 5d 08 mov 0x8(%ebp),%ebx
40ae76: 85 db test %ebx,%ebx
40ae78: 74 22 je 40ae9c <_option_changed+0x30>
40ae7a: 80 3d e0 44 5d 00 00 cmpb $0x0,0x5d44e0
40ae81: 74 4d je 40aed0 <_option_changed+0x64>
> 40ae83: < 8b 43 10 mov 0x10(%ebx),%eax
40ae86: 85 c0 test %eax,%eax
40ae88: 74 05 je 40ae8f <_option_changed+0x23>
...
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21874>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev