! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-appfinder was killed by signal 11 at startup
Status:
RESOLVED: FIXED
Product:
Xfce4-appfinder
Component:
General

Comments

Description Cristian Ciupitu 2012-07-13 13:22:58 CEST
I have no idea about the cause, but it's happening every time at startup.

I'm using xfce4-appfinder-4.10.0-1.fc17.x86_64 on Fedora 17 from nirik's repository. Attached is the report generated by the abrt tool.
Comment 1 Cristian Ciupitu 2012-07-13 14:10:08 CEST
Created attachment 4548 
abrt.log
Comment 2 Mike Massonnet editbugs 2012-07-15 20:35:05 CEST
Created attachment 4552 
appfinder-categories-nil-value.patch

Hi Cristian,

:#0  xfce_appfinder_category_model_icon_theme_changed (model=0x1cd6e40) at appfinder-category-model.c:591
:        item = <optimized out>
:        li = 0x1
:        idx = <optimized out>
:        iter = {stamp = 680912380, user_data = 0x1c31d60, user_data2 = 0x1cd59e0, user_data3 = 0x40daf9}
:        path = <optimized out>

"li" is a GSList, and it's value is 1, that is incorrect and is the cause of the segfault.

Is it possible for you to test the attached patch?

It looks like an unconfigured icon theme is causing this, perhaps the icon theme is not yet initialized when appfinder starts; of course appfinder must not crash because of this.

Regards,
Mike
Comment 3 Cristian Ciupitu 2012-07-18 21:36:04 CEST
Since I'm using RPMs, it's not easy for me to apply the patch, but I've asked nirik to incorporate it in his RPMs.
Comment 4 Cristian Ciupitu 2012-07-23 06:12:31 CEST
nirik was kind enough to apply the patch the RPM and now I'm using it. I remember still having some issues afterwards, but right now everything looks fine. If I'll encounter another crash, I'll leave a comment here.
Comment 5 Nick Schermer editbugs 2012-07-23 08:11:58 CEST
categories is already NULL, because the object is memset(0).
Comment 6 Cristian Ciupitu 2012-07-28 13:09:49 CEST
I've managed to make xfce4-appfinder crash again under similar circumstances, but I wasn't able to get a stack trace, so I'm not sure it was the same bug.
Comment 7 Cristian Ciupitu 2012-07-28 14:38:52 CEST
Created attachment 4573 
abrt2.log

abrt log after applying the patch
Comment 8 Nick Schermer editbugs 2012-09-08 11:56:11 CEST
Added additional protects (r4244183), but it looks like the corruption is happening somewhere else, to check that you need to run appfinder in valgrind.
Comment 9 Cristian Ciupitu 2012-10-13 23:39:30 CEST
I have xfce4-appfinder-4.10.0-3.fc17.x86_64 [1] right now and I haven't had any issues with it lately.

[1] http://repos.fedorapeople.org/repos/kevin/xfce-4.10/fedora-17/fedora-17-x86_64/xfce4-appfinder-4.10.0-3.fc17/build.log
Comment 10 Cristian Ciupitu 2013-03-02 20:01:25 CET
I've upgraded to Fedora 18 in the mean time and the plugin seems to work better, but it still crashes from time to time, although under other usage scenarios.
Comment 11 Andre Miranda editbugs 2018-06-20 03:21:43 CEST
This bug is very old and it probably is not reproducible anymore (well, it never crashed for me).
If this is still an issue, please reopen.

Bug #9109

Reported by:
Cristian Ciupitu
Reported on: 2012-07-13
Last modified on: 2018-06-20

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
4.10.0

Attachments

abrt.log (123.38 KB, text/plain)
2012-07-13 14:10 CEST , Cristian Ciupitu
no flags
appfinder-categories-nil-value.patch (676 bytes, text/plain)
2012-07-15 20:35 CEST , Mike Massonnet
no flags
abrt2.log (73.71 KB, text/plain)
2012-07-28 14:38 CEST , Cristian Ciupitu
no flags

Additional information