Re: [gnet-dev] Glib Win32 iochannel merge



Martyn,

Do a CVS checkout of the latest version of GNet or use David’s new tar file. This looks like one of the bugs that Hans Petter Jansson found awhile back.

Andy Lanoix

In a message dated 7/28/2003 10:35:58 AM Eastern Daylight Time, martyn 2 russell bt com writes:

> 
> 
> I was trying to get my application goin on Windows, and it crashed.  I have
> bt and some extra information below about it.  I am not sure if this is
> related to the glib fix? I am using the new snapshot 2.0 for windows.
> 
> Also I tried Andrew's snapshot of the new glib (patched) and it didn't work
> at all. I got error after error and it crashed out. Perhaps this is because
> gmodule, gthread, etc were not compiled and sent with it?
> 
> Any ideas?
> 
> 
> 
> 
> russelm6 RUSSELM6 /c/projects/gnome-jabber/src
> $ gdb gnome-jabber.exe 
> GNU gdb 5.2.1
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-mingw32"...
> (gdb) run
> Starting program: c:\projects\gnome-jabber\src/gnome-jabber.exe 
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x6ac8499d in gnet_tcp_socket_connect_inetaddr_cb (ia_list=0x11906cc, 
>    data=0x11cbdc8) at tcp.c:133
> 133               ia = (GInetAddr*) state->ia_next->data;
> (gdb) p *state
> $1 = {ia_list = 0xfeeefeee, ia_next = 0xfeeefeee, inetaddr_id = 0xfeeefeee, 
>  tcp_id = 0xfeeefeee, in_callback = -17891602, func = 0xfeeefeee, 
>  data = 0xfeeefeee}
> (gdb) list
> 128           while (state->ia_next != NULL)
> 129             {
> 130               GInetAddr* ia;
> 131               gpointer tcp_id;
> 132     
> 133               ia = (GInetAddr*) state->ia_next->data;
> 134               state->ia_next = state->ia_next->next;
> 135     
> 136               tcp_id = gnet_tcp_socket_new_async (ia, 
> 137
> gnet_tcp_socket_connect_tcp_cb, 
> 
> 
> 
> 
> (gdb) bt
> #0  0x6ac8499d in gnet_tcp_socket_connect_inetaddr_cb (ia_list=0x11906cc, 
>    data=0x11cbdc8) at tcp.c:133
> #1  0x6ac821e2 in gnet_inetaddr_new_list_async_cb (iochannel=0x0, 
>    condition=G_IO_IN, data=0x11cc190) at inetaddr.c:1395
> #2  0x6ac8133e in gnet_MainCallBack (iochannel=0xcc5110, condition=G_IO_IN, 
>    nodata=0x0) at gnet-private.c:204
> #3  0x1005c93f in gtk_drag_begin ()
> #4  0x1001ccbc in get_nearest_monitor ()
> #5  0x1001d323 in g_utf8_to_ucs4_fast ()
> #6  0x10019edf in gdk_rgb_cmap_new ()
> #7  0x009dd1c9 in ?? ()
> #8  0x00401afb in gnome_jabber_main (argc=1, argv=0xcc6540) at gj_main.c:268
> #9  0x0040175c in main (argc=1, argv=0xcc6540) at 
> gj_main.c:177
> (gdb) 
> 
> 
> Regards,
> Martyn
> _______________________________________________
> gnet-dev mailing list
> gnet-dev gnetlibrary org
> http://www.gnetlibrary.org/mailman/listinfo/gnet-dev 



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