Description of problem: Starting up PAN. Version-Release number of selected component: pan-0.139-10.fc23 Additional info: reporter: libreport-2.6.3 backtrace_rating: 4 cmdline: pan crash_function: PanTreeStore::get_iter executable: /usr/bin/pan global_pid: 13112 kernel: 4.2.5-300.fc23.x86_64 runlevel: N 5 type: CCpp uid: 1000 Potential duplicate: bug 1010825
Created attachment 1091265 [details] File: cgroup
Created attachment 1091266 [details] File: core_backtrace
Created attachment 1091267 [details] File: dso_list
Created attachment 1091268 [details] File: environ
Created attachment 1091269 [details] File: limits
Created attachment 1091270 [details] File: maps
Created attachment 1091271 [details] File: mountinfo
Created attachment 1091272 [details] File: namespaces
Created attachment 1091273 [details] File: open_fds
Created attachment 1091274 [details] File: proc_pid_status
Created attachment 1091275 [details] File: var_log_messages
Created attachment 1091276 [details] File: backtrace
After upgrading from Fedora 22 to Fedora 23 pan crashes on start. uname -a Linux 4.2.6-301.fc23.x86_64 #1 SMP Fri Nov 20 22:22:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux rpm -qa |grep -i pan-0 pan-0.139-11.fc23.x86_64 Problem occurs not only on Fedora. See Bug report: https://bugzilla.gnome.org/show_bug.cgi?id=756458 Problem is like described in comment #2: https://bugzilla.gnome.org/show_bug.cgi?id=756458#c2
It ssems a patch for this problem is available: https://bugzilla.gnome.org/show_bug.cgi?id=754698 g++-5: newsrc-* files are created in current working directory instead of ~/.pan due to change in std::string return semantics I hope the developer of pan will release soon a new, fixed version of pan.
(In reply to Detlef Graef from comment #14) > It ssems a patch for this problem is available: > > https://bugzilla.gnome.org/show_bug.cgi?id=754698 > > g++-5: newsrc-* files are created in current working directory instead of > ~/.pan due to change in std::string return semantics Thanks for taking time to report this! I've created a test build of pan based on latest master branch: http://koji.fedoraproject.org/koji/taskinfo?taskID=12263701 You can grab pan-0.140-0.1.20151221git.fc23.x86_64.rpm from here: http://koji.fedoraproject.org/koji/taskinfo?taskID=12263703 Let me know if that build works for you and if it fixes at least some of the crashes. Thanks again.
Thanks for commiting the patch. First I've removed pan 0.139: "dnf remove pan-0.139-11.fc23.x86_64" Then I've installed pan 0.140: "rpm -i pan-0.140-0.1.20151221git.fc23.x86_64.rpm" Checked the version: "pan --version" Pan 0.140 Then I started with a non existing directory ~/.pan2 I've configured pan (3 news-servers and subscribed some newsgroups) and quit/started it several times. The files newsrc-1, newsrc-2 etc. are now written correctly to ~/.pan2. Before they were written mostly to ~/ or sometimes to ~/.pan2. But eventually pan doesn't start anymore: pan --debug & [1] 31606 (article-cache.cc:171:ArticleCache) loaded 27 articles into cache from /home/user/.pan2/article-cache GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name news.pan.NZB was not provided by any .service files ** ERROR:pan-tree.cc:80:GtkTreeIter PanTreeStore::get_iter(const PanTreeStore::Row*): assertion failed: (row) [1]+ Abgebrochen (Speicherabzug geschrieben) pan --debug Conclusion: One bug [get_pan_home()] fixed, but there is at least one bug remaining. A good starting point to look at this is probably the file pan-tree.cc (at line 80?). Sadly I've no C++ knowledge.
(In reply to Detlef Graef from comment #16) > Thanks for commiting the patch. > > First I've removed pan 0.139: > > "dnf remove pan-0.139-11.fc23.x86_64" > > Then I've installed pan 0.140: > > "rpm -i pan-0.140-0.1.20151221git.fc23.x86_64.rpm" > > Checked the version: > > "pan --version" > Pan 0.140 > > Then I started with a non existing directory ~/.pan2 > > I've configured pan (3 news-servers and subscribed some newsgroups) and > quit/started it several times. The files newsrc-1, newsrc-2 etc. are now > written correctly to ~/.pan2. Before they were written mostly to ~/ or > sometimes to ~/.pan2. > > But eventually pan doesn't start anymore: Thanks for following up, Detlef. Could you test with pan-0.140-0.1.20151221git.fc23.x86_64.rpm from here: http://koji.fedoraproject.org/koji/taskinfo?taskID=12276231 ? That build adds -D_GLIBCXX_USE_CXX11_ABI=0 to use the old ABI which was default in previous Fedora releases.
I've tested this new build. I have had no crashes with this build (with option: -D_GLIBCXX_USE_CXX11_ABI=0) so far. Thanks.
I've some update. I've done some debugging. I think the source has to be fixed at least in the file prefs.cc at this place to fix the crash of Pan at startup (when build with option: -D_GLIBCXX_USE_CXX11_ABI=1): /*** **** STRINGS ***/ std::string Prefs :: get_string (const StringView& key, const StringView& fallback) const { if (!_strings.count (key)) _strings[key] = fallback; return _strings[key]; } When I look at the diff from the patch for "get_pan_home()": https://bugzilla.gnome.org/attachment.cgi?id=310852&action=diff it looks similar to me. The function above is invoked at least with these keys: key: header-pane-show-matching key: header-pane-columns key: body-pane-font key: pane-layout key: pane-orient key: last-visited-group
Created attachment 1112967 [details] Diff (Patch) which should fix crash at start of Pan at PanTreeStore::get_iter() Diff of files to patch Pan source from current git repository. I've tested it, problem is fixed. Other users should test it too. I hope the patch meets the requirements (else just ignore the patch) and doesn't cause any other problems.
(In reply to Detlef Graef from comment #20) > Created attachment 1112967 [details] > Diff (Patch) which should fix crash at start of Pan at > PanTreeStore::get_iter() > > Diff of files to patch Pan source from current git repository. > > I've tested it, problem is fixed. Other users should test it too. > > I hope the patch meets the requirements (else just ignore the patch) and > doesn't cause any other problems. Thank you, pushed to upstream master as 366372076042687a0bf21cf72c7693e4a7c2b3d6.
pan-0.140-0.1.20160114git.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-0b77a47e8b
pan-0.140-0.1.20160114git.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-0b77a47e8b
Another user experienced a similar problem: Starting PAN reporter: libreport-2.6.3 backtrace_rating: 4 cmdline: pan crash_function: PanTreeStore::get_iter executable: /usr/bin/pan global_pid: 6481 kernel: 4.3.3-301.fc23.x86_64 package: pan-0.139-11.fc23 reason: pan killed by SIGABRT runlevel: N 5 type: CCpp uid: 1000
(In reply to Jérôme Benoit from comment #24) > Another user experienced a similar problem: > > Starting PAN > > package: pan-0.139-11.fc23 Please test the following version of Pan: pan-0.140-0.1.20160114git.fc23 See comment #23 of this bugreport.
pan-0.140-0.1.20160114git.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.