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 343590 - LDTP server quit with this message : ***glibc detected***... when i ran a script to launch gedit and check if it was open
LDTP server quit with this message : ***glibc detected***... when i ran a scr...
Status: RESOLVED WONTFIX
Product: LDTP
Classification: Other
Component: ldtp
0.4.x
Other All
: Normal critical
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2006-06-01 13:30 UTC by srinivas
Modified: 2006-06-01 14:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description srinivas 2006-06-01 13:30:49 UTC
Steps to reproduce:
1. start ldtp server in a terminal .. 
2. On a new terminal, run this script, which should launch gedit from the panel 'applications' menu:
from ldtp import *
log('Gedit-Launch','teststart')
try:
    initappmap('gnome-panel.map')
    selectmenuitem('frmTop*Panel','mnuApplications;mnuAccessories;mnuTextEditor')
    time.sleep(3)
    if guiexist('frmUnsavedDocument1-gedit') == 1:
        log('Gedit started successfully','info')
    else:
        log('Gedit cannot be launched','error')
        raise LdtpExecutionError(0)
    time.sleep(3)
    log('Closing gedit..','info')
    if closeappwindow('*gedit') == 1:
        log('Successfully exited gedit','info')
    else:
        log('Cannot exit gedit','error')
        raise LdtpExecutionError(0)
    log('Gedit-Launch','testend')
except:
    log('Gedit-Launch','fail')
    raise LdtpExecutionError(0)
log('Gedit-Launch','testend')   
3. ldtp will quit when it reaches the line  
if guiexist('frmUnsavedDocument1-gedit') == 1: 
which checks if the gedit window is open.. It prints the message :
*** glibc detected *** double free or corruption (!prev): 0x080a28f0 ***
Aborted
before quitting

Platform : 
ubuntu 'dapper drake' beta
gnome 2.14.1
python 2.4.3


Stack trace:
  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __fsetlocking
    from /lib/tls/i686/cmov/libc.so.6
  • #4 malloc_usable_size
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 g_free
    from /usr/lib/libglib-2.0.so.0
  • #7 g_slist_foreach
    from /usr/lib/libglib-2.0.so.0
  • #8 handle_client
  • #9 ldtp_request_fill_request
  • #10 send_response
  • #11 handle_client
  • #12 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #13 clone
    from /lib/tls/i686/cmov/libc.so.6


Other information:
for more info see here : http://pastebin.ca/60339
Comment 1 Prashanth Mohan 2006-06-01 14:36:02 UTC
seems like a glib problem at op's computer.

can u post output of glib-config --version
Comment 2 srinivas 2006-06-01 14:39:03 UTC
<code> can u post output of glib-config --version </code>

Command not found !!