Bug 4353

Summary: File Manager gives segfault when "Applications" folder is selected
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Stoicescu Cornel <corneliux.stoicescu>
Component: coreAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: bluelightning, emilia.maria.silvia.ciobanu, meta.mr.watcher, meta.watcher, ross.burton
Version: 1.4   
Target Milestone: 1.4.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Stoicescu Cornel 2013-04-19 12:35:54 UTC
dylan:789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4

1) boot any sato image (tested core-image-sato-sdk-sugarbay and core-image-sato-qemux86-64)
2) start File Manager from desktop
3) Select the "Applications" folder from the left side of the File Manager's window
4) from terminal issue "dmesg | grep error" and notice segfault:

menu-cached[800]: segfault at 100000007 ip 00007fb241571212 sp 00007fffda4b5f50 error 4 in libc-2.17.so[7fb2414f6000+1a7000]
Comment 1 Saul Wold 2013-04-23 00:13:08 UTC
More details, RP and I wonder is this is related to the PNG issue that we have already need and there are icons that need to be fixed?

matchbox-wm: unable to open theme: /usr/share/themes/Clearlooks/matchbox/theme.xml
matchbox-wm: X error warning (0): BadWindow (invalid Window parameter) (opcode: 2)
matchbox-wm: X error warning (0): BadWindow (invalid Window parameter) (opcode: 61)
matchbox-wm: X error warning (0): BadWindow (invalid Window parameter) (opcode: 2)
matchbox-wm: X error warning (0): BadWindow (invalid Window parameter) (opcode: 61)
matchbox-wm: X error warning (0): BadWindow (invalid Window parameter) (opcode: 2)
matchbox-wm: X error warning (0): BadWindow (invalid Window parameter) (opcode: 61)

** (matchbox-desktop:524): WARNING **: Error loading icon: Icon 'computer' not present in theme

** (matchbox-desktop:524): WARNING **: Error loading icon: Icon 'preferences-desktop' not present in theme

** (matchbox-desktop:524): WARNING **: Error loading icon: Icon 'system-file-manager' not present in theme
menu-cached[536]: segfault at 100000007 ip 00000038d107b212 sp 00007fffdb96cac0 error 4 in libc-2.17.so[38d1000000+1a7000]

** (process:538): WARNING **: removed previous socket file /tmp/.menu-cached-:0-root
Comment 2 Laurentiu Palcu 2013-04-29 07:03:20 UTC
Tracked down the issue in menu-cache calling g_io_channel_unref() in the on_client_close() callback whilst the glib library calls it again in g_main_dispatch().
Comment 3 Laurentiu Palcu 2013-04-29 14:15:11 UTC
Patch sent on the oe-cere ML.
Comment 5 Stoicescu Cornel 2013-06-05 11:35:58 UTC
Please note that the patch is merged in master and this is a 1.4 bug.

Please merge patch for 1.4.
Comment 6 Paul Eggleton 2013-06-12 08:21:28 UTC
Patch was also merged to the dylan branch for 1.4.1:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dylan&id=0a697caca4fa8f7cc932a8d715ea3210ef6b23f5