Reproduced it.

Reason:
If current-folder is ''(emty string, not NULL),  will call  
g_file_new_for_uri('') in src/dlg-add.c
and its return vallue(GFile object) is passed to first argument of 
g_directory_foreach_child(directory, ...).
In the result, will occure "Could not load the location" error.

Workaround:
1. Close "Could not load the location" dialogue.
2. Select any folder in file selection dialogue.
3. No error message any more.

Solution:
Plan A) Change default schema from '' to any other valid path for 
current-folder in data/org.gnome.FileRoller.gschema.xml.in.

Plan B) If base_dir is '' in dlg_add_folder_load_last_options(), set any
other valid path.

Please file this bug to upstream.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to file-roller in Ubuntu.
https://bugs.launchpad.net/bugs/1056261

Title:
  Adding file to archive, file-roller doesn't load location correctly
  and then crash

Status in “file-roller” package in Ubuntu:
  Confirmed

Bug description:
  how to reproduce:
  1. open an archive file (e.g. hoge.tgz) with file-roller
  2. Hit "Add files" button
  3. It appears the file selection dialog box, and  "Could not load the 
location" error dialog
  4. close "Could not load the location" dialog
  5. select a place on left pain of the file selection dialog, it causes crash  
(segmentation fault)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: file-roller 3.5.92-0ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-15.23-generic 3.5.4
  Uname: Linux 3.5.0-15-generic i686
  ApportVersion: 2.5.2-0ubuntu4
  Architecture: i386
  Date: Tue Sep 25 23:36:35 2012
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha i386 (20120724.2)
  SourcePackage: file-roller
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/1056261/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to