GNOME Bugzilla – Bug 339659
record crash when user click 'CTRL+C'
Last modified: 2008-01-17 23:56:32 UTC
Steps to reproduce: setup: os: opensolaris gnome: 2.14 ldtp: cvs 1. enable accessibility, and launch gnome-font-properties 2. execute 'record gnome-font-properties a.txt' 3. click 'Details...' button, 'Font Rendering Details' window popup, close this window 4. send 'CTRL+C' to record result: $ record gnome-font-properties a.txt ^C ** ERROR **: Leaked 1 SPI handles aborting... Trace/Breakpoint Trap (core dumped) Stack trace: core 'core' of 23387: record gnome-font-properties a.txt d0af9295 _lwp_kill (1, 5) + 15 d0abdfc8 raise (5) + 22 d046602c g_logv (0, 4, 80555a8, 80467e4) + 3dc d0466102 g_log (0, 4, 80555a8, 1) + 42 08052bb9 safe_exit (2, 0, 80468a0) + 69 d0af7d7f __sighndlr (2, 0, 80468a0, 8052b50) + f d0aedaf8 call_user_handler (2, 0, 80468a0) + 247 d0aedc80 sigacthandler (2, 0, 80468a0) + bc --- called from signal handler with signal 2 (SIGINT) --- d0af8d25 __pollsys (8077288, 8, 0, 0) + 15 d0abb292 poll (8077288, 8, ffffffff) + 52 d045d515 g_main_context_poll (806d9a8, ffffffff, 7fffffff, 8077288, 8) + 135 d045c507 g_main_context_iterate (806d9a8, 1, 1, 80685d0) + 567 d045cf4e g_main_loop_run (80720a0) + 44e 08052e50 record_main (8071088, 806f2d8) + 70 08052fbd main (3, 8046cbc, 8046ccc) + 14d 080529ba _start (3, 8046e58, 8046e5f, 8046e75, 0, 8046e7b) + 7a Other information: and 'record' seems can record the user actions on 'Font Rendering Details' window, it just record the user action on gnome-font-properties main UI.
sorry, missed 'not': 'record' seems can **not** record the user actions on 'Font Rendering Details' window, it just record the user action on gnome-font-properties main UI.
Created attachment 64264 [details] [review] Fixes SPI leak. First time the argument is recorded as NULL. Need to fix it.
Hi Nagappan, The patch fixed the problem, but there is two problem: 1) On solaris, need include <sys/resource.h> to compile setrlimit 2) It seems that there will be several seconds freeze after I click some radio button on 'Font Render Details' dialog, following is my gnome-font-properties.map, have you met with this problem? ------------------- click ('dlgFontPreferences', 'btnDetails...') check ('dlgFontRenderingDetails', 'rdoSlight') check ('dlgFontRenderingDetails', 'rdoVBGR') click ('dlgFontRenderingDetails', 'btnClose') check ('dlgFontPreferences', 'rdoBestshapes') check ('dlgFontPreferences', 'rdoSubpixelsmoothing(LCDs)') check ('dlgFontPreferences', 'rdoBestshapes') click ('dlgFontPreferences', 'btnClose') --------------------
Fix checked in CVS. Need to work on comment #3
Does this bug still need to be opened? The way recording works seems to have changed quite a bit. The ldtprecord script seems to take different arguments than those listed here, and seems to function differently. I am not sure it works at all currently.
Could you try with the latest recording ? and reopen this bug, if required.