[Pkg-xfce-devel] Bug#648739: Bug#648739: xfce4-screenshooter: Segmentation fault when trying to get a screenshot

Rares Aioanei schaiba at gmail.com
Tue Nov 15 07:49:49 UTC 2011


On 11/15/2011 08:58 AM, Yves-Alexis Perez wrote:
> On lun., 2011-11-14 at 18:34 +0200, Rares Aioanei wrote:
>> I tried to take a screenshot of a window (wm is Fluxbox, if that
>> matters), and xfce4-screenshot dies with a segfault. Running it with
>> gdb gives me this:
>>
>> (gdb) bt full
>> #0  0x000055555555f9f5 in ?? ()
>> No symbol table info available.
>> #1  0x000055555555e5e4 in screenshooter_take_screenshot_idle ()
>> No symbol table info available.
>> #2  0x00007ffff5a641ad in g_main_context_dispatch ()
>> from /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> No symbol table info available.
>> #3  0x00007ffff5a649a8 in ?? () from
>> /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> No symbol table info available.
>> #4  0x00007ffff5a64ee2 in g_main_loop_run ()
>> from /lib/x86_64-linux-gnu/libglib-2.0.so.0
>> No symbol table info available.
>> #5  0x00007ffff747c717 in gtk_main ()
>> from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
>> No symbol table info available.
>> #6  0x000055555555e139 in main ()
>> No symbol table info available.
> Thanks, could you install relevant debugging symbols and retry? When
> exactly does it happen?

(gdb) bt full
#0  0x000055555555f9f5 in ?? ()
No symbol table info available.
#1  0x000055555555e5e4 in screenshooter_take_screenshot_idle ()
No symbol table info available.
#2  0x00007ffff5a651fd in g_main_dispatch (context=0x5555557ad130)
     at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2441
         dispatch = 0x7ffff5a60f30 <g_idle_dispatch>
         was_in_call = 0
         user_data = 0x555555770da0
         callback = 0x55555555e5d0 <screenshooter_take_screenshot_idle>
         cb_funcs = 0x7ffff5d14b50
         cb_data = 0x555555803590
         current_source_link = {data = 0x555555889650, next = 0x0}
         need_destroy = <optimized out>
         source = 0x555555889650
         current = 0x555555881dc0
         i = <optimized out>
#3  g_main_context_dispatch (context=0x5555557ad130)
     at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3011
No locals.
#4  0x00007ffff5a659f8 in g_main_context_iterate (context=0x5555557ad130,
     block=<optimized out>, dispatch=1, self=<optimized out>)
     at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3089
---Type <return> to continue, or q <return> to quit---
         max_priority = 200
         timeout = 0
         some_ready = 1
         nfds = 2
         allocated_nfds = <optimized out>
         fds = <optimized out>
#5  0x00007ffff5a65f32 in g_main_loop_run (loop=0x555555877f40)
     at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3297
         __PRETTY_FUNCTION__ = "g_main_loop_run"
#6  0x00007ffff747c717 in gtk_main ()
    from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0x000055555555e139 in main ()
No symbol table info available.

Please tell me what else should I be installing for better debugging. 
This happens after I get the options window, so I guess when the actual 
screenshooting should take place.

Thanks,

-- 
Rares Aioanei






More information about the Pkg-xfce-devel mailing list