Comment 2 for bug 709783

Revision history for this message
Nigel Kukard (nkukard) wrote :

> Yeah, noticed.
>
> You could try this patch:
> http://bazaar.launchpad.net/~dsmid/smart/pycurl-ftp-segfault/revision/938
>
> Even though it's linked to a segfault with FTP, rather than generic...

No go with the patch ... I'll leave it at that and not upgrade those packages for now ... I have a reproducer now so I can test fixes :)

[Linux:root@nigel-e6400 ~]# rpm -Uvh /tmp/smart-*1.3.1-0.1*
Preparing... ########################################### [100%]
   1:smart ########################################### [ 33%]
   2:smart-update ########################################### [ 67%]
   3:smart-gui ########################################### [100%]

[Linux:root@nigel-e6400 ~]# smart upgrade flex ftp fuse* m4 mdadm mingetty minicom mktemp nagios* squid* postgresql*
Loading cache...
Updating cache... ####################################################################################### [100%]

Computing transaction...

Upgrading packages (25):
  flex m4 nagios postgresql-devel postgresql-plpython
  ftp mdadm nagios-devel postgresql-docs postgresql-server
  fuse mingetty nagios-www postgresql-libs squid
  fuse-devel minicom postgresql postgresql-perl-contrib squid-httpd
  fuse-libs mktemp postgresql-contrib postgresql-plperl squid-ldap

16.0MB of package files are needed. 20.3MB will be used.

Confirm changes? (Y/n): y

Fetching packages...
-> http://download.idms-linux.org/trunk/x86_64/RPMS/postgresql-perl-contrib-8.4.4-1.4.x86_64.rpm
postgresql-perl-contrib-8.4.4-1.4.x86_64.rpm ####################################################################################### [ 8%]
-> http://download.idms-linux.org/trunk/x86_64/RPMS/fuse-libs-2.8.4-1.2.x86_64.rpm
fuse-libs-2.8.4-1.2.x86_64.rpm ####################################################################################### [ 12%]
-> http://download.idms-linux.org/trunk/x86_64/RPMS/squid-3.0.STABLE19-1.3.x86_64.rpm
squid-3.0.STABLE19-1.3.x86_64.rpm ####################################################################################### [ 16%]
-> http://download.idms-linux.org/trunk/x86_64/RPMS/squid-httpd-3.0.STABLE19-1.3.x86_64.rpm
squid-httpd-3.0.STABLE19-1.3.x86_64.rpm ####################################################################################### [ 20%]
Traceback (most recent call last):
  File "/usr/bin/smart", line 195, in <module>
    main(sys.argv[1:])
  File "/usr/bin/smart", line 168, in main
    exitcode = iface.run(opts.command, opts.argv)
  File "/usr/lib/python2.6/site-packages/smart/interface.py", line 53, in run
    result = _command.main(self._ctrl, opts)
  File "/usr/lib/python2.6/site-packages/smart/commands/upgrade.py", line 191, in main
    ctrl.commitTransaction(trans, confirm=confirm)
  File "/usr/lib/python2.6/site-packages/smart/control.py", line 635, in commitTransaction
    return self.commitChangeSet(trans.getChangeSet(), caching, confirm)
  File "/usr/lib/python2.6/site-packages/smart/control.py", line 683, in commitChangeSet
    caching)
  File "/usr/lib/python2.6/site-packages/smart/control.py", line 801, in fetchPackages
    fetcher.run(what=_("packages"))
  File "/usr/lib/python2.6/site-packages/smart/fetcher.py", line 243, in run
    if not handler.tick():
  File "/usr/lib/python2.6/site-packages/smart/fetcher.py", line 1536, in tick
    num, succeeded, failed = multi.info_read()
pycurl.error: (43, 'Unable to fetch curl handle from curl object')