Bug 771889

Summary: Crashes when executing application from panel
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: gnome-panelAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-20 09:13:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zdenek Kabelac 2012-01-05 10:20:07 UTC
Description of problem:

After yesterday's upgrade my system starts to generate coredump, whenever I try to run application form panel (click on icon located in panel - i.e. terminal).
Application could  be still easily started from menu.

Unsure whether its fault of glib2 or gnome-panel or any other gnome deps.
(Its getting to be major Tamagochi... to keep gnome running....)

I'm using openbox-gnome-session.

Program terminated with signal 11, Segmentation fault.
#0  child_setup (user_data=user_data@entry=0x7fff385d2830) at gdesktopappinfo.c:1150
1150	        *(data->pid_envvar++) = buf[i];

(gdb) print data
$1 = (ChildSetupData *) 0x7fff385d2830
(gdb) print data->pid_envvar 
$2 = 0xf <Address 0xf out of bounds>
(gdb) 

#0  child_setup (user_data=user_data@entry=0x7fff385d2830) at gdesktopappinfo.c:1150
#1  0x00007f8d0678e0eb in do_exec (child_err_report_fd=15, stdin_fd=-1, stdout_fd=-1, stderr_fd=-1, 
    working_directory=working_directory@entry=0x0, argv=argv@entry=0xfc6da0, envp=envp@entry=0xdb9a60, 
    close_descriptors=close_descriptors@entry=1, search_path=search_path@entry=1, stdout_to_null=stdout_to_null@entry=0, 
    stderr_to_null=stderr_to_null@entry=0, child_inherits_stdin=child_inherits_stdin@entry=0, 
    file_and_argv_zero=file_and_argv_zero@entry=0, child_setup=child_setup@entry=0x7f8d06cfd520 <child_setup>, 
    user_data=user_data@entry=0x7fff385d2830) at gspawn.c:1129
#2  0x00007f8d0678e970 in fork_exec_with_pipes (intermediate_child=1, working_directory=0x0, argv=0xfc6da0, envp=envp@entry=
    0xdb9a60, close_descriptors=1, search_path=search_path@entry=1, stdout_to_null=0, stderr_to_null=0, child_inherits_stdin=
    0, file_and_argv_zero=0, child_setup=child_setup@entry=0x7f8d06cfd520 <child_setup>, user_data=user_data@entry=
    0x7fff385d2830, child_pid=child_pid@entry=0x7fff385d285c, standard_input=standard_input@entry=0x0, 
    standard_output=standard_output@entry=0x0, standard_error=standard_error@entry=0x0, error=error@entry=0x7fff385d28d8)
    at gspawn.c:1324
#3  0x00007f8d0678f593 in g_spawn_async_with_pipes (working_directory=<optimized out>, argv=<optimized out>, envp=envp@entry=
    0xdb9a60, flags=flags@entry=G_SPAWN_SEARCH_PATH, child_setup=child_setup@entry=0x7f8d06cfd520 <child_setup>, 
    user_data=user_data@entry=0x7fff385d2830, child_pid=child_pid@entry=0x7fff385d285c, standard_input=standard_input@entry=
    0x0, standard_output=standard_output@entry=0x0, standard_error=standard_error@entry=0x0, error=error@entry=0x7fff385d28d8)
    at gspawn.c:653
#4  0x00007f8d0678f68c in g_spawn_async (working_directory=<optimized out>, argv=<optimized out>, envp=envp@entry=0xdb9a60, 
    flags=flags@entry=G_SPAWN_SEARCH_PATH, child_setup=child_setup@entry=0x7f8d06cfd520 <child_setup>, 
    user_data=user_data@entry=0x7fff385d2830, child_pid=child_pid@entry=0x7fff385d285c, error=error@entry=0x7fff385d28d8)
    at gspawn.c:138
#5  0x00007f8d06cfec37 in _g_desktop_app_info_launch_uris_internal (appinfo=0xc49bc0, uris=0x0, launch_context=
    0xf87f60 [GdkX11AppLaunchContext], spawn_flags=spawn_flags@entry=G_SPAWN_SEARCH_PATH, user_setup=user_setup@entry=0, 
    user_setup_data=user_setup_data@entry=0x0, pid_callback=pid_callback@entry=0, pid_callback_data=pid_callback_data@entry=
    0x0, error=0x7fff385d28d8) at gdesktopappinfo.c:1319
#6  0x00007f8d06cff29a in g_desktop_app_info_launch_uris (appinfo=<optimized out>, uris=<optimized out>, 
    launch_context=<optimized out>, error=<optimized out>) at gdesktopappinfo.c:1385
#7  0x0000000000466535 in panel_app_info_launch_uris (appinfo=0xc49bc0, uris=uris@entry=0x0, screen=screen@entry=
    0x9660b0 [GdkX11Screen], timestamp=timestamp@entry=21230966, error=error@entry=0x7fff385d2958) at panel-launch.c:106
#8  0x00000000004667d3 in panel_launch_key_file (keyfile=<optimized out>, uri_list=uri_list@entry=0x0, screen=
    0x9660b0 [GdkX11Screen], error=error@entry=0x7fff385d2958) at panel-launch.c:160
#9  0x0000000000437822 in launcher_launch (launcher=0xcb40c0, widget=<optimized out>) at launcher.c:165



Version-Release number of selected component (if applicable):
gnome-panel-libs-3.3.3-1.fc17.x86_64
gnome-panel-3.3.3-1.fc17.x86_64
glib2-2.31.6-1.fc17.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Kabelac 2012-01-20 09:13:52 UTC
This problem seems to be fixed when running gnome-panel with the latest
glib2-2.31.10-2.fc17.x86_64  on my rawhide system.