Description of problem: I attempted to add appx. 80 torrents simultaneously. GUI froze, then segfault alerted. Version-Release number of selected component: qbittorrent-3.3.1-2.fc23 Additional info: reporter: libreport-2.6.3 backtrace_rating: 4 cmdline: qbittorrent -session 2864199b8-187d-423f-9eab-c0478f689c47_1451359100_24158 crash_function: boost::throw_exception<boost::system::system_error> executable: /usr/bin/qbittorrent global_pid: 1644 kernel: 4.2.3-300.fc23.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (10 frames) #6 boost::throw_exception<boost::system::system_error> at /usr/include/boost/throw_exception.hpp:71 #7 boost::asio::detail::do_throw_error at /usr/include/boost/asio/detail/impl/throw_error.ipp:38 #8 boost::asio::detail::throw_error at /usr/include/boost/asio/detail/throw_error.hpp:42 #9 boost::asio::detail::eventfd_select_interrupter::open_descriptors at /usr/include/boost/asio/detail/impl/eventfd_select_interrupter.ipp:91 #10 boost::asio::detail::epoll_reactor::epoll_reactor at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:45 #11 boost::asio::detail::service_registry::create<boost::asio::detail::epoll_reactor> at /usr/include/boost/asio/detail/impl/service_registry.hpp:81 #12 boost::asio::detail::service_registry::do_use_service at /usr/include/boost/asio/detail/impl/service_registry.ipp:123 #13 boost::asio::detail::service_registry::use_service<boost::asio::detail::epoll_reactor> at /usr/include/boost/asio/detail/impl/service_registry.hpp:48 #14 boost::asio::use_service<boost::asio::detail::epoll_reactor> at /usr/include/boost/asio/impl/io_service.hpp:33 #15 boost::asio::detail::reactive_socket_service_base::reactive_socket_service_base at /usr/include/boost/asio/detail/impl/reactive_socket_service_base.ipp:33
Created attachment 1110075 [details] File: backtrace
Created attachment 1110076 [details] File: cgroup
Created attachment 1110077 [details] File: core_backtrace
Created attachment 1110078 [details] File: dso_list
Created attachment 1110079 [details] File: environ
Created attachment 1110080 [details] File: limits
Created attachment 1110081 [details] File: maps
Created attachment 1110082 [details] File: mountinfo
Created attachment 1110083 [details] File: open_fds
Created attachment 1110084 [details] File: proc_pid_status
Created attachment 1110085 [details] File: var_log_messages
This seems to be a boost problem to me.
The code that throws is: if (pipe(pipe_fds) == 0) { ... } else { boost::system::error_code ec(errno, boost::asio::error::get_system_category()); boost::asio::detail::throw_error(ec, "eventfd_select_interrupter"); } So it's not a boost problem, it means a system call failed. Maybe because you have too many open files.
(In reply to Steve Lawrence from comment #0) > Description of problem: > I attempted to add appx. 80 torrents simultaneously. GUI froze, then > segfault alerted. It was not a segfault. An uncaught exception will cause the program to abort, not segfault, and the attachment in comment 11 shows sig=6 i.e. SIGABRT. Comment 6 shows your max open files is 1024 and comment 9 shows you have 1024 open files. The pipe() call failed, Boost.Asio threw an exception, and the program exited, so the software worked exactly as designed.