Bug 1291543

Summary: [abrt] x2godesktopsharing: ShareTray::ShareTray(): x2godesktopsharing killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Davide Repetto <red>
Component: x2godesktopsharingAssignee: Orion Poplawski <orion>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: orion
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5a4b748013280c0d78a03224c823de0c0a2ab32b
Whiteboard: abrt_hash:920818dc5005c6c38fbc9c9fc178dd677b29a376;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-17 15:30:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status none

Description Davide Repetto 2015-12-15 06:03:35 UTC
Description of problem:
Launched x2godesktopsharing within an x2go session.

Version-Release number of selected component:
x2godesktopsharing-3.1.1.2-3.fc23

Additional info:
reporter:       libreport-2.6.3
backtrace_rating: 4
cmdline:        /usr/bin/x2godesktopsharing
crash_function: ShareTray::ShareTray
executable:     /usr/bin/x2godesktopsharing
global_pid:     21864
kernel:         4.2.6-301.fc23.i686+PAE
runlevel:       N 5
type:           CCpp
uid:            1001

Truncated backtrace:
Thread no. 1 (1 frames)
 #0 ShareTray::ShareTray at sharetray.cpp:217

Comment 1 Davide Repetto 2015-12-15 06:03:47 UTC
Created attachment 1105865 [details]
File: backtrace

Comment 2 Davide Repetto 2015-12-15 06:03:48 UTC
Created attachment 1105866 [details]
File: cgroup

Comment 3 Davide Repetto 2015-12-15 06:03:50 UTC
Created attachment 1105867 [details]
File: core_backtrace

Comment 4 Davide Repetto 2015-12-15 06:03:53 UTC
Created attachment 1105868 [details]
File: dso_list

Comment 5 Davide Repetto 2015-12-15 06:03:55 UTC
Created attachment 1105869 [details]
File: environ

Comment 6 Davide Repetto 2015-12-15 06:03:57 UTC
Created attachment 1105870 [details]
File: exploitable

Comment 7 Davide Repetto 2015-12-15 06:03:58 UTC
Created attachment 1105871 [details]
File: limits

Comment 8 Davide Repetto 2015-12-15 06:04:02 UTC
Created attachment 1105872 [details]
File: maps

Comment 9 Davide Repetto 2015-12-15 06:04:05 UTC
Created attachment 1105873 [details]
File: mountinfo

Comment 10 Davide Repetto 2015-12-15 06:04:07 UTC
Created attachment 1105874 [details]
File: namespaces

Comment 11 Davide Repetto 2015-12-15 06:04:09 UTC
Created attachment 1105875 [details]
File: open_fds

Comment 12 Davide Repetto 2015-12-15 06:04:11 UTC
Created attachment 1105876 [details]
File: proc_pid_status

Comment 13 Orion Poplawski 2015-12-15 18:43:10 UTC
Hmm, I can't reproduce.  What desktop environment?  Does it happen every time?  If so, can you collect valgrind output?

dnf install valgrind
valgrind /usr/bin/x2godesktopsharing

Comment 14 Davide Repetto 2015-12-17 15:26:40 UTC
In the meantime the customer did a dnf upgrade and this problem apparently went away.

Here is the valgring output, but I think it is now useless:

[dave@cp-main ~]$ valgrind /usr/bin/x2godesktopsharing ==8133== Memcheck, a memory error detector
==8133== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==8133== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==8133== Command: /usr/bin/x2godesktopsharing
==8133== 
Can't load translator (:/x2godesktopsharing_it_it) !

Can't load translator (:/qt_it_IT) !

==8133== Syscall param rt_sigaction(act->sa_flags) points to uninitialised byte(s)
==8133==    at 0x5880FCC: __libc_sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x58810BB: sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x10EC9E: main (in /usr/bin/x2godesktopsharing)
==8133==  Address 0xbe9da768 is on thread 1's stack
==8133==  in frame #0, created by __libc_sigaction (???:)
==8133== 
==8133== Syscall param rt_sigaction(act->sa_restorer) points to uninitialised byte(s)
==8133==    at 0x5880FCC: __libc_sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x58810BB: sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x10EC9E: main (in /usr/bin/x2godesktopsharing)
==8133==  Address 0xbe9da76c is on thread 1's stack
==8133==  in frame #0, created by __libc_sigaction (???:)
==8133== 
==8133== Syscall param rt_sigaction(act->sa_flags) points to uninitialised byte(s)
==8133==    at 0x5880FCC: __libc_sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x58810BB: sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x10ECE8: main (in /usr/bin/x2godesktopsharing)
==8133==  Address 0xbe9da768 is on thread 1's stack
==8133==  in frame #0, created by __libc_sigaction (???:)
==8133== 
==8133== Syscall param rt_sigaction(act->sa_restorer) points to uninitialised byte(s)
==8133==    at 0x5880FCC: __libc_sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x58810BB: sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x10ECE8: main (in /usr/bin/x2godesktopsharing)
==8133==  Address 0xbe9da76c is on thread 1's stack
==8133==  in frame #0, created by __libc_sigaction (???:)
==8133== 
==8133== Syscall param rt_sigaction(act->sa_flags) points to uninitialised byte(s)
==8133==    at 0x5880FCC: __libc_sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x58810BB: sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x10ED2F: main (in /usr/bin/x2godesktopsharing)
==8133==  Address 0xbe9da768 is on thread 1's stack
==8133==  in frame #0, created by __libc_sigaction (???:)
==8133== 
==8133== Syscall param rt_sigaction(act->sa_restorer) points to uninitialised byte(s)
==8133==    at 0x5880FCC: __libc_sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x58810BB: sigaction (in /usr/lib/libpthread-2.22.so)
==8133==    by 0x10ED2F: main (in /usr/bin/x2godesktopsharing)
==8133==  Address 0xbe9da76c is on thread 1's stack
==8133==  in frame #0, created by __libc_sigaction (???:)
==8133== 


^C

stopping desktop sharing 
lock file removed 
settings saved 
==8133== 
==8133== HEAP SUMMARY:
==8133==     in use at exit: 400,519 bytes in 12,419 blocks
==8133==   total heap usage: 44,734 allocs, 32,315 frees, 12,292,613 bytes allocated
==8133== 
==8133== LEAK SUMMARY:
==8133==    definitely lost: 1,500 bytes in 24 blocks
==8133==    indirectly lost: 6,635 bytes in 102 blocks
==8133==      possibly lost: 48,580 bytes in 619 blocks
==8133==    still reachable: 343,804 bytes in 11,674 blocks
==8133==                       of which reachable via heuristic:
==8133==                         newarray           : 7,676 bytes in 17 blocks
==8133==                         multipleinheritance: 1,144 bytes in 7 blocks
==8133==         suppressed: 0 bytes in 0 blocks
==8133== Rerun with --leak-check=full to see details of leaked memory
==8133== 
==8133== For counts of detected and suppressed errors, rerun with: -v
==8133== Use --track-origins=yes to see where uninitialised values come from
==8133== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)

Comment 15 Orion Poplawski 2015-12-17 15:30:21 UTC
Okay.  Reopen if it re-occurs.