hurestore fails to open gui (segmentation fault)

Bug #320421 reported by tdflanders
2
Affects Status Importance Assigned to Milestone
hubackup (Ubuntu)
New
Undecided
Unassigned

Bug Description

root@thomas-laptop:/home/thomas# hurestore --help
Usage: hurestore [OPTION...]
      --load-modules=MODULE1,MODULE2,... Dynamic modules to load

Help options
  -?, --help Show this help message
      --usage Display brief usage message

Bonobo activation Support
      --oaf-ior-fd=FD File descriptor to print IOR on
      --oaf-activate-iid=IID IID to activate
      --oaf-private Prevent registering of server
                                             with OAF

GNOME Library
      --disable-sound Disable sound server usage
      --enable-sound Enable sound server usage
      --espeaker=HOSTNAME:PORT Host:port on which the sound
                                             server to use is running
      --version 2.24.1
root@thomas-laptop:/home/thomas# hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
Segmentation fault
root@thomas-laptop:/home/thomas# gdb hurestore 2>&1 | tee gdb-hurestore.txt
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
"/usr/bin/hurestore": not in executable format: File format not recognized
(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) set pagination 0
(gdb) set logging file gdb-hurestore.log
(gdb) set logging on
Copying output to gdb-hurestore.log.
(gdb) run --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
Starting program: --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) /usr/bin/hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
Undefined command: "". Try "help".
(gdb) exec /usr/bin/hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
"/usr/bin/hurestore": not in executable format: File format not recognized
(gdb) sh /usr/bin/hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
Ambiguous command "sh /usr/bin/hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar": sharedlibrary, shell, show.
(gdb) backtrace full
No stack.
(gdb) info registers
The program has no registers now.
(gdb) thread apply all backtrace
No registers.
(gdb) quit
root@thomas-laptop:/home/thomas# apt-cache search hurestore | grep "dbg"
root@thomas-laptop:/home/thomas# apt-cache search hurestore | grep "dbgsym"
root@thomas-laptop:/home/thomas# apt-get install hurestore-dbgsym
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package hurestore-dbgsym
root@thomas-laptop:/home/thomas# apt-get install hurestore-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package hurestore-dbg
root@thomas-laptop:/home/thomas# apt-get install hurestore
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package hurestore
root@thomas-laptop:/home/thomas# hurestore -v
Traceback (most recent call last):
  File "/usr/bin/hurestore", line 37, in <module>
    main_restore = MainRestore(path=glade_dir + "/hurestore.glade")
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hurestore.py", line 50, in __init__
    MainBackup.__init__(self, path,root,domain, **kwargs)
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hubackup.py", line 58, in __init__
    SimpleGladeApp.__init__(self, path, root, domain, **kwargs)
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/SimpleGladeApp.py", line 108, in __init__
    self.new()
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hurestore.py", line 63, in new
    self.updateDeviceLists()
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hurestore.py", line 70, in updateDeviceLists
    self.prob_progress.set_fraction(0.5)
AttributeError: MainRestore instance has no attribute 'prob_progress'
root@thomas-laptop:/home/thomas# hurestore --version
GNOME hurestore 0.0.1
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# lsb_release -rd ; uname -a ; apt-cache policy hubackup hurestore
Description: Ubuntu 8.10
Release: 8.10
Linux thomas-laptop 2.6.27-11-generic #1 SMP Thu Jan 22 17:22:40 UTC 2009 i686 GNU/Linux
hubackup:
  Installed: 0.0.8
  Candidate: 0.0.8
  Version table:
 *** 0.0.8 0
        500 http://archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
W: Unable to locate package hurestore
root@thomas-laptop:/home/thomas# hubackup -v
mount: No medium found
Name = CD/DVDW TS-L632D
StockId = gtk-cdrom
root@thomas-laptop:/home/thomas# hubackup --version
GNOME hubackup 0.0.6
root@thomas-laptop:/home/thomas# hurestore --version
GNOME hurestore 0.0.1
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# cat /home/thomas/.xsession-errors
[...]
(gnome-screenshot:12920): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Traceback (most recent call last):
  File "/usr/bin/hurestore", line 37, in <module>
    main_restore = MainRestore(path=glade_dir + "/hurestore.glade")
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hurestore.py", line 50, in __init__
    MainBackup.__init__(self, path,root,domain, **kwargs)
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hubackup.py", line 58, in __init__
    SimpleGladeApp.__init__(self, path, root, domain, **kwargs)
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/SimpleGladeApp.py", line 108, in __init__
    self.new()
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hurestore.py", line 63, in new
    self.updateDeviceLists()
  File "/usr/lib/python2.5/site-packages/HUBackup/GUI/hurestore.py", line 70, in updateDeviceLists
    self.prob_progress.set_fraction(0.5)
[...]

Revision history for this message
tdflanders (thomasdelbeke) wrote :

no logging ???

root@thomas-laptop:/home/thomas# dpkg-reconfigure -p low hubackup
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log /usr/bin/hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar
Segmentation fault
root@thomas-laptop:/home/thomas#
root@thomas-laptop:/home/thomas# ls -la valgrind.log
-rwxrwxrwx 1 thomas root 295665 2009-01-23 12:59 valgrind.log
root@thomas-laptop:/home/thomas#

Revision history for this message
tdflanders (thomasdelbeke) wrote :

root@thomas-laptop:/home/thomas# chmod 777 -c strace*
mode of `strace-hurestore.log' changed to 0777 (rwxrwxrwx)
root@thomas-laptop:/home/thomas# chown 1000 -c strace*
changed ownership of `strace-hurestore.log' to 1000
root@thomas-laptop:/home/thomas# strace -Ff -tt /usr/bin/hurestore --load-modules=/home/thomas/Desktop/thomas-master-archive.1.dar 2>&1 | tee strace-hurestore.log

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.