Bug#422483: gdm: segfault after XDMCP chooser

Sylvain Le Gall gildor at debian.org
Mon May 7 21:13:21 UTC 2007


On Mon, May 07, 2007 at 11:25:10AM +0200, Loïc Minier wrote:
> On Mon, May 07, 2007, gildor at debian.org wrote:
> > * 1 is not possible because i have no ssh access to pkg-gnome (i think)
> 
>  You can checkout anonymously.
> 


I have use 1) + you instruction + gdm 2.18.1.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47135164225040 (LWP 30382)]
0x000000000042bfd0 in gdm_is_local_addr6 (ia=0x0) at misc.c:1177
1177    misc.c: No such file or directory.
        in misc.c
(gdb) backtrace
#0  0x000000000042bfd0 in gdm_is_local_addr6 (ia=0x0) at misc.c:1177
#1  0x000000000043276b in gdm_xdmcp_handle_query
(clnt_sa=0x7fff2bb9d390,
    len=1, type=3) at xdmcp.c:778
#2  0x00000000004323c9 in gdm_xdmcp_decode_packet (source=0x6786b0,
    cond=G_IO_IN, data=0x0) at xdmcp.c:657
#3  0x00002ade81b43d93 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#4  0x00002ade81b46bdd in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00002ade81b46ec6 in g_main_loop_run () from
/usr/lib/libglib-2.0.so.0
#6  0x000000000040bbdc in main (argc=1, argv=0x7fff2bb9d8d8) at
gdm.c:1795
(gdb)


And off course
gildor at yocto:~$ /sbin/ifconfig
eth0      Lien encap:Ethernet  HWaddr 00:16:3E:2B:60:AF
          inet adr:192.168.2.2  Bcast:192.168.2.255
Masque:255.255.255.0
          adr inet6: fe80::216:3eff:fe2b:60af/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4509155 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6457493 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:1294849524 (1.2 GiB)  TX bytes:8494101257 (7.9 GiB)

lo        Lien encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:320 errors:0 dropped:0 overruns:0 frame:0
          TX packets:320 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:24976 (24.3 KiB)  TX bytes:24976 (24.3 KiB)

and on the other side (giga):
eth0      Lien encap:Ethernet  HWaddr 00:E0:F4:16:7E:08  
          inet adr:192.168.0.1  Bcast:192.168.0.255  Masque:255.255.255.0
          adr inet6: fe80::2e0:f4ff:fe16:7e08/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1364469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1415763 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:545656385 (520.3 MiB)  TX bytes:454443332 (433.3 MiB)
          Interruption:16 Adresse de base:0x2000 

eth1      Lien encap:Ethernet  HWaddr 00:E0:F4:16:7E:09  
          inet adr:192.168.254.1  Bcast:192.168.254.255  Masque:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interruption:17 Adresse de base:0x4000 

eth2      Lien encap:Ethernet  HWaddr 00:E0:F4:16:7E:0A  
          inet adr:192.168.255.1  Bcast:192.168.255.255  Masque:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interruption:18 Adresse de base:0x6000 

lo        Lien encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4068 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:10701012 (10.2 MiB)  TX bytes:10701012 (10.2 MiB)

vif1.0    Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          adr inet6: fe80::fcff:ffff:feff:ffff/64 Scope:Lien
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:6458013 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4509785 errors:0 dropped:4781 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:8403758113 (7.8 GiB)  TX bytes:1294975875 (1.2 GiB)

xenbr0    Lien encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF  
          inet adr:192.168.2.1  Bcast:0.0.0.0  Masque:255.255.255.0
          adr inet6: fe80::200:ff:fe00:0/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6458013 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4514572 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:8403758113 (7.8 GiB)  TX bytes:1302104277 (1.2 GiB)

I am using xenbr0 on giga and eth0 on yocto.

Looking at the code, i think BUFSIZ is not enough big... But it is only
a guess (i spend only 5 minutes to try to find the bug).

Let me know, if you need more data.

Regards
Sylvain Le Gall





More information about the pkg-gnome-maintainers mailing list