[Freeciv-Dev] (PR#9673) attributes contain unintialized data
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] (PR#9673) attributes contain unintialized data |
From: |
"Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx> |
Date: |
Wed, 11 Aug 2004 09:40:27 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9673 >
==6067== Syscall param write(buf) contains uninitialised or
unaddressable byte(s)
==6067== at 0x1C0A8BA8: write (in /usr/lib/debug/libc-2.3.2.so)
==6067== by 0x80DE44B: my_writesocket (netintf.c:77)
==6067== by 0x80ED4C7: write_socket_data (connection.c:226)
==6067== by 0x80ED5D2: flush_connection_send_buffer_all
(connection.c:262)
==6067== by 0x80ED964: connection_do_unbuffer (connection.c:377)
==6067== by 0x80F924E: send_attribute_block (packets.c:601)
==6067== by 0x806BBE9: attribute_flush (attribute.c:262)
==6067== by 0x806F2C1: send_turn_done (civclient.c:312)
==6067== by 0x806F253: user_ended_turn (civclient.c:285)
==6067== by 0x80BB37E: end_turn_callback (gui_main.c:1448)
==6067== by 0x1BD24120: g_cclosure_marshal_VOID__VOID (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD23C24: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22BE6: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)==6067== by 0x1B97D074:
gtk_button_clicked (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1B97E08A: (within /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BD24120: g_cclosure_marshal_VOID__VOID (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FFB6: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD2344D: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22BE6: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)==6067== by 0x1B97CFC4:
gtk_button_released (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1B97DF0A: (within /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BA39B63: _gtk_marshal_BOOLEAN__BOXED (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BD0FFB6: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD23654: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD229BD: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)==6067== by 0x1BB38426: (within
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BA38101: gtk_propagate_event (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BA36E55: gtk_main_do_event (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BC35174: (within /usr/lib/libgdk-x11-2.0.so.0.400.4)
==6067== by 0x1BD6E901: (within /usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BD6F9F7: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BD6FD2F: (within /usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BD70372: g_main_loop_run (in
/usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BA36712: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x80BA95A: ui_main (gui_main.c:1205)
==6067== by 0x806F1DA: main (civclient.c:245)
==6067== Address 0x1CB25963 is 115 bytes inside a block of size 40960
alloc'd
==6067== at 0x1B904EDD: malloc (vg_replace_malloc.c:131)
==6067== by 0x80DECE6: fc_real_malloc (mem.c:79)
==6067== by 0x80EDB80: new_socket_packet_buffer (connection.c:466)
==6067== by 0x80EDFD4: connection_common_init (connection.c:604)
==6067== by 0x8072986: try_to_connect (clinet.c:205)
==6067== by 0x80727EC: connect_to_server (clinet.c:135)
==6067== by 0x80AA494: connect_callback (connectdlg.c:187)
==6067== by 0x80AB692: response_callback (connectdlg.c:694)
==6067== by 0x1BD2445D: g_cclosure_marshal_VOID(i_xx_t) (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD23C24: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22BE6: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)==6067== by 0x1B9C955B:
gtk_dialog_response (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1B9C8BDB: (within /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BD24120: g_cclosure_marshal_VOID__VOID (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD23C24: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22BE6: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1B97D074: gtk_button_clicked (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1B97E08A: (within /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BD24120: g_cclosure_marshal_VOID__VOID (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FFB6: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD2344D: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22BE6: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)==6067== by 0x1B97CFC4:
gtk_button_released (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1B97DF0A: (within /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BA39B63: _gtk_marshal_BOOLEAN__BOXED (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BD0FFB6: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD0FC1F: g_closure_invoke (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD23654: (within /usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD229BD: g_signal_emit_valist (in
/usr/lib/libgobject-2.0.so.0.400.5)
==6067== by 0x1BD22EE3: g_signal_emit (in
/usr/lib/libgobject-2.0.so.0.400.5)==6067== by 0x1BB38426: (within
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BA38101: gtk_propagate_event (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BA36E55: gtk_main_do_event (in
/usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x1BC35174: (within /usr/lib/libgdk-x11-2.0.so.0.400.4)
==6067== by 0x1BD6E901: (within /usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BD6F9F7: g_main_context_dispatch (in
/usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BD6FD2F: (within /usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BD70372: g_main_loop_run (in
/usr/lib/libglib-2.0.so.0.400.5)
==6067== by 0x1BA36712: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.400.4)
==6067== by 0x80BA95A: ui_main (gui_main.c:1205)
==6067== by 0x806F1DA: main (civclient.c:245)
Possible solution:
1. Fix it (but there's no way to track it down any better that I can
think of).
2. Remove attributes (I just wanted to throw that out there).
jason
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#9673) attributes contain unintialized data,
Jason Short <=
|
|