Follow-up Comment #6, bug #24935 (project freeciv):

> Its only visible when metaserver is up but returning errors.
Also fixed this one. To test, I modified default_server_host in client config
file to some random URL not allowing POST. The error appears in the status
bar. It won't appear in chat, but at least no crash.

> u have fc_client::eventFilter()
As I understand it, eventFilter() is for filtering events going to other
objects. I think [this->]installEventFilter(this) looks weird.

I still get a (maybe related) crash. To reproduce:
- Turn off network system-wide
- Connect to Network Game
- Cancel
Client crashes with "double free or corruption" in
fc_client::destroy_server_scans at pages.cpp:903. It's weird because there is
no free() nor delete there. In the attached GDB output, I interrupt the client
just after clicking Cancel, then let it continue and crash.

Patch is for trunk only because there is still a crash. Will make 2.x versions
if you ask.

(file #28284, file #28285)
    _______________________________________________________

Additional Item Attachment:

File name: qt-metaserver-version-trunk-v2.patch Size:3 KB
File name: qt-crashing-gdb.log.bz2        Size:5 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?24935>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to