btsync 코어 덤프가 시작 시 "!directory.empty()" 오류를 발생시키는 이유는 무엇입니까?

btsync 코어 덤프가 시작 시 "!directory.empty()" 오류를 발생시키는 이유는 무엇입니까?

btsync다른 시스템에서 작동하는 것으로 알려진 프로필을 사용하여 Fedora 21을 새로 설치하고 BitTorrent Sync(x64 버전) 1.4.110을 실행하면 다음과 같은 혼란스러운 오류 메시지가 나타납니다.

$ btsync --config /home/user/.btsync.conf
btsync: /mnt/jenkins/workspace/Build-Sync-x64/linux/breakpad/client/linux/handler/minidump_descriptor.h:55: google_breakpad::MinidumpDescriptor::MinidumpDescriptor(const string&): Assertion `!directory.empty()' failed.
Aborted (core dumped)

Jenkins가 내 시스템에 설치되어 있지 않습니다. 이는 BitTorrent 조직의 릴리스 엔지니어링 빌드 서버 환경의 기호를 사용하여 컴파일된 BitTorrent Sync 버전처럼 보입니다. 헤헤.

문제가 무엇입니까? 이것은 내 구성 파일입니다 /home/user/.btsync.conf.

{
  "device_name": "MyLaptop",
  "listening_port" : 0, // 0 - randomize port

/* storage_path dir contains auxilliary app files if no storage_path field: .sync dir created in the directory
   where binary is located. otherwise user-defined directory will be used */
 "storage_path" : "/home/user/.btsync",

/* set location of pid file */
 "pid_file" : "/var/run/btsync/btsync.pid",

/* use UPnP for port mapping */
  "use_upnp" : true,

/* limits in kB/s. 0 - no limit */
  "download_limit" : 0,
  "upload_limit" : 0,

/* proxy configuration */
// "proxy_type" : "socks4", // Valid types: "socks4", "socks5", "http_connect". Any other value means no proxy
// "proxy_addr" : "192.168.1.2", // IP address of proxy server.
// "proxy_port" : 1080,
// "proxy_auth" : false, // Use authentication for proxy. Note: only username/password for socks5 (RFC 1929) is supported, and it is not really secure
// "proxy_username" : "user",
// "proxy_password" : "password",

  "webui" :
  {
//    "listen" : "0.0.0.0:8888" // remove field to disable WebUI

/* preset credentials. Use password or password_hash */
//  ,"login" : "admin"
//  ,"password" : "password"
//  ,"password_hash" : "some_hash" // password hash in crypt(3) format
//  ,"allow_empty_password" : false // Defaults to true
/* ssl configuration */
//  ,"force_https" : true // disable http
//  ,"ssl_certificate" : "/path/to/cert.pem"
//  ,"ssl_private_key" : "/path/to/private.key"

/* directory_root path defines where the WebUI Folder browser starts (linux only). Default value is / */
//  ,"directory_root" : "/home/user/MySharedFolders/"

/* dir_whitelist defines which directories can be shown to user or have folders added (linux only)
   relative paths are relative to directory_root setting */
//  ,"dir_whitelist" : [ "/home/user/MySharedFolders/personal", "work" ]
  }

/* !!! if you set shared folders in config file WebUI will be DISABLED !!!
   shared directories specified in config file  override the folders previously added from WebUI. */
,
  "shared_folders" :
  [
    {
      "secret" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", // required field - use --generate-secret in command line to create new secret
      "dir" : "/home/user/SyncFolder1", // * required field
      "use_relay_server" : true, //  use relay server when direct connection fails
      "use_tracker" : true,
      "use_dht" : false,
      "search_lan" : true,
      "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices
      "overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders
      "known_hosts" : // specify hosts to attempt connection without additional search
      [
        "192.168.0.201:8888"
      ]
    },
    {
      "secret" : "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB", // required field - use --generate-secret in command line to create new secret
      "dir" : "/home/user/SyncFolder2", // * required field
      "use_relay_server" : true, //  use relay server when direct connection fails
      "use_tracker" : true,
      "use_dht" : false,
      "search_lan" : true,
      "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices
      "overwrite_changes" : false, // restore modified files to original version, ONLY for Read-Only folders
      "known_hosts" : // specify hosts to attempt connection without additional search
      [
        "192.168.0.201:8888"
      ]
    }
  ]


/* Advanced preferences can be added to config file. Info is available at http://sync-help.bittorrent.com */

}

답변1

문제는 다음 폴더의 구성에 있습니다.

  • /home/user/.btsync-- BitTorrent Sync 메타데이터를 저장하는 폴더
  • /home/user/SyncFolder1--동기화할 폴더
  • /home/user/SyncFolder2--동기화할 폴더

시작 시 btsync메타데이터 폴더가 /home/user/.btsync존재하지 않습니다. 나는 그것을 만들고 내 사용자 계정이 그것에 쓸 수 있는지 확인했습니다. 또한 두 개의 동기화 폴더를 만들었습니다. 이러한 폴더가 생성된 후 btsync정상적으로 시작합니다.

$ btsync --config /home/user/.btsync.conf
By using this application, you agree to our Privacy Policy, Terms of Use and End User License Agreement.
http://www.bittorrent.com/legal/privacy
http://www.bittorrent.com/legal/terms-of-use
http://www.bittorrent.com/legal/eula

BitTorrent Sync forked to background. pid = 15949. default port = 8888

관련 정보