After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339659 - record crash when user click 'CTRL+C'
record crash when user click 'CTRL+C'
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtprecord
0.4.x
Other All
: Normal critical
: ---
Assigned To: Nagappan Alagappan
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2006-04-25 01:46 UTC by yydzero
Modified: 2008-01-17 23:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fixes SPI leak. (1.80 KB, patch)
2006-04-25 09:12 UTC, Nagappan Alagappan
needs-work Details | Review

Description yydzero 2006-04-25 01:46:30 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.
Comment 1 yydzero 2006-04-25 01:57:13 UTC
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.
Comment 2 Nagappan Alagappan 2006-04-25 09:12:42 UTC
Created attachment 64264 [details] [review]
Fixes SPI leak.

First time the argument is recorded as NULL. Need to fix it.
Comment 3 yydzero 2006-04-26 04:16:42 UTC
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')
--------------------
Comment 4 Nagappan Alagappan 2006-05-02 14:05:09 UTC
Fix checked in CVS. Need to work on comment #3
Comment 5 Rodney Dawes 2006-12-07 20:41:06 UTC
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.
Comment 6 Nagappan Alagappan 2008-01-17 23:56:32 UTC
Could you try with the latest recording ? and reopen this bug, if required.