segfault on opening

Bug #769573 reported by sto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UPnP Router Control
Fix Released
Low
Unassigned

Bug Description

The program crashes when opening. The GUI shows briefly.
if the connection is not present, the crash does not happen (but no option to rescan after connecting)

$ upnp-router-control
* Initializing GUI...
* Showing GUI...
* Starting UPnP Resource discovery... done

** (upnp-router-control:9318): WARNING **: Could not find variable "NewDefaultConnectionService" in response

(upnp-router-control:9318): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed
Erreur de segmentation

$ upnp-router-control --debug

* Initializing GUI...
* Showing GUI...
* Starting UPnP Resource discovery... done
==> Device Available: Netopia SmartModem
          Model name: Motorola 7357-84
        Model number: 7357-84
               Brand: Motorola
    Presentation URL: http://192.168.1.1/
    Enum services...
      Service: urn:upnp-org:serviceId:L3Forwarding1
         Type: urn:schemas-upnp-org:service:Layer3Forwarding:1
               > SetDefaultConnectionService
               > GetDefaultConnectionService
               > AddForwardingEntry
               > DeleteForwardingEntry
               > GetGenericForwardingEntry
      ** Getting DefaultConnectionService...

** (upnp-router-control:9215): WARNING **: Could not find variable "NewDefaultConnectionService" in response

(upnp-router-control:9215): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed
      ConnectionService: (null)
Erreur de segmentation

$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:42:13:8f:45
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:16

lo Link 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
          Packets reçus:2302 erreurs:0 :0 overruns:0 frame:0
          TX packets:2302 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          Octets reçus:1792577 (1.7 MB) Octets transmis:1792577 (1.7 MB)

wlan0 Link encap:Ethernet HWaddr 00:01:e3:4e:da:d6
          inet adr:192.168.1.55 Bcast:192.168.1.255 Masque:255.255.255.0
          adr inet6: fe80::201:e3ff:fe4e:dad6/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          Packets reçus:54 erreurs:0 :0 overruns:0 frame:0
          TX packets:97 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          Octets reçus:11961 (11.9 KB) Octets transmis:14146 (14.1 KB)

Revision history for this message
Daniele Napolitano (dnax88) wrote :

Setting Low status because is a segmentation failt on a buggy UPnP endpoint.

Changed in upnp-router-control:
status: New → Triaged
importance: Undecided → Low
Changed in upnp-router-control:
milestone: none → 0.2.1
Changed in upnp-router-control:
milestone: 0.2.1 → none
Changed in upnp-router-control:
milestone: none → 0.3.1
status: Triaged → Fix Committed
Changed in upnp-router-control:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.