[LDTP-Dev] ldtp keeps segfaulting on ubuntu feisty

Nagappan A nagappan at gmail.com
Thu Aug 9 04:32:53 PDT 2007


Hi Gavin,

  Did you tried the options as mentioned here ?
http://ldtp.freedesktop.org/wiki/Firefox_Test_Cases

Hari Shankar is automating them as part of Google Summer of Code 2007 under
Mozilla organization. He automates based on Firefox 3.0, which is still
under development phase. FF 2.0 is not much accessibility enabled.

Thanks
Nagappan

On 8/8/07, Gavin McCullagh <gmccullagh at gmail.com> wrote:
>
> Hi,
>
> I compiled and installed ldtp on a ubuntu feisty laptop and having read
> the
> tutorial, had a go at writing some simple scripts.  However, I seem to be
> having some trouble, ldtp keeps segfaulting.
>
> I installed by downloading ldtp-0.8.0.tar.gz from the website, running
> .configure ; make ; make install which seemed to go fine.
>
> I have this very small script:
>
> ###########################################
> #!/usr/bin/python
>
> from ldtp import *
>
> launchapp('firefox',1)
> waittillguiexist('*-MozillaFirefox')
>
> ###########################################
>
> If I comment out the waittillguiexist(), firefox launches fine but then I
> get this output:
>
> gavinmc at tilly:~/bin$ ./firefox.py
> GTK Accessibility Module initialized
> Killed
>
> but if I leave the waittillguiexist() in place, I get the output below.
>
> Does anyone know what I'm doing wrong?  Is the current version usable on
> feisty?
>
> Thanks in advance,
> Gavin
>
> gavinmc at tilly:~/bin$ ./firefox.py
> GTK Accessibility Module initialized
> *** glibc detected *** <unknown>: double free or corruption (fasttop):
> 0x0808f790 ***
> ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0xb7b7c7cd]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7b7fe30]
> /usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7c8b131]
> [0x805392f]
> [0x805413d]
> [0x805562b]
> [0x805073a]
> /lib/tls/i686/cmov/libpthread.so.0[0xb7d3b31b]
> /lib/tls/i686/cmov/libc.so.6(clone+0x5e)[0xb7be457e]
> ======= Memory map: ========
> 08048000-08074000 r-xp 00000000 03:01 130663     /usr/local/bin/ldtp
> 08074000-08075000 rw-p 0002c000 03:01 130663     /usr/local/bin/ldtp
> 08075000-080b6000 rw-p 08075000 00:00 0          [heap]
> b6000000-b6021000 rw-p b6000000 00:00 0
> b6021000-b6100000 ---p b6021000 00:00 0
> b6124000-b612f000 r-xp 00000000 03:01 700398     /lib/libgcc_s.so.1
> b612f000-b6130000 rw-p 0000a000 03:01 700398     /lib/libgcc_s.so.1
> b6130000-b6131000 ---p b6130000 00:00 0
> b6131000-b6171000 rw-p b6131000 00:00 0
> b6171000-b6172000 ---p b6171000 00:00 0
> b6172000-b6972000 rw-p b6172000 00:00 0
> b6972000-b6973000 ---p b6972000 00:00 0
> b6973000-b7173000 rw-p b6973000 00:00 0
> b7173000-b717c000 r-xp 00000000 03:01 700546
> /lib/tls/i686/cmov/libnss_files-2.5.so
> b717c000-b717e000 rw-p 00008000 03:01 700546
> /lib/tls/i686/cmov/libnss_files-2.5.so
> b717e000-b7186000 r-xp 00000000 03:01 700549
> /lib/tls/i686/cmov/libnss_nis-2.5.so
> b7186000-b7188000 rw-p 00007000 03:01 700549
> /lib/tls/i686/cmov/libnss_nis-2.5.so
> b7188000-b719b000 r-xp 00000000 03:01 700543
> /lib/tls/i686/cmov/libnsl-2.5.so
> b719b000-b719d000 rw-p 00012000 03:01 700543
> /lib/tls/i686/cmov/libnsl-2.5.so
> b719d000-b719f000 rw-p b719d000 00:00 0
> b719f000-b71a6000 r-xp 00000000 03:01 700544
> /lib/tls/i686/cmov/libnss_compat-2.5.so
> b71a6000-b71a8000 rw-p 00006000 03:01 700544
> /lib/tls/i686/cmov/libnss_compat-2.5.so
> b71a8000-b71a9000 ---p b71a8000 00:00 0
> b71a9000-b79ab000 rw-p b71a9000 00:00 0
> b79ab000-b79b8000 r-xp 00000000 03:01 102322     /usr/lib/libXext.so.6.4.0
> b79b8000-b79b9000 rw-p 0000d000 03:01 102322     /usr/lib/libXext.so.6.4.0
> b79b9000-b79bd000 r-xp 00000000 03:01 102318
> /usr/lib/libXdmcp.so.6.0.0
> b79bd000-b79be000 rw-p 00003000 03:01 102318
> /usr/lib/libXdmcp.so.6.0.0
> b79be000-b79c0000 r-xp 00000000 03:01 102316     /usr/lib/libXau.so.6.0.0
> b79c0000-b79c1000 rw-p 00001000 03:01 102316     /usr/lib/libXau.so.6.0.0
> b79c1000-b79c2000 rw-p b79c1000 00:00 0
> b79c2000-b79c6000 r-xp 00000000 03:01 102429     /usr/lib/libXtst.so.6.1.0
> b79c6000-b79c7000 rw-p 00003000 03:01 102429     /usr/lib/libXtst.so.6.1.0
> b79c7000-b7ab4000 r-xp 00000000 03:01 102320     /usr/lib/libX11.so.6.2.0
> b7ab4000-b7ab8000 rw-p 000ed000 03:01 102320     /usr/lib/libX11.so.6.2.0
> b7ab8000-b7acd000 r-xp 00000000 03:01 102382     /usr/lib/libICE.so.6.3.0
> b7acd000-b7acf000 rw-p 00014000 03:01 102382     /usr/lib/libICE.so.6.3.0
> b7acf000-b7ad0000 rw-p b7acf000 00:00 0
> b7ad0000-b7ad8000 r-xp 00000000 03:01 102384     /usr/lib/libSM.so.6.0.0
> b7ad8000-b7ad9000 rw-p 00007000 03:01 102384     /usr/lib/libSM.so.6.0.0
> b7ad9000-b7afe000 r-xp 00000000 03:01 700541     /lib/tls/i686/cmov/libm-
> 2.5.so
> b7afe000-b7b00000 rw-p 00024000 03:01 700541     /lib/tls/i686/cmov/libm-
> 2.5.so
> b7b00000-b7b01000 rw-p b7b00000 00:00 0
> b7b01000-b7b14000 r-xp 00000000 03:01 100155     /usr/lib/libz.so.1.2.3
> b7b14000-b7b15000 rw-p 00012000 03:01 100155     /usr/lib/libz.so.1.2.3
> b7b15000-b7c50000 r-xp 00000000 03:01 700536     /lib/tls/i686/cmov/libc-
> 2.5.so
> b7c50000-b7c51000 r--p 0013b000 03:01 700536     /lib/tls/i686/cmov/libc-
> 2.5.so
> b7c51000-b7c53000 rw-p 0013c000 03:01 700536     /lib/tls/i686/cmov/libc-
> 2.5.so
> b7c53000-b7c56000 rw-p b7c53000 00:00 0
> b7c56000-b7cea000 r-xp 00000000 03:01 102734     /usr/lib/libglib-
> 2.0.so.0.1200.11
> b7cea000-b7ceb000 rw-p 00093000 03:01 102734     /usr/lib/libglib-
> 2.0.so.0.1200.11
> b7ceb000-b7ced000 r-xp 00000000 03:01 700540     /lib/tls/i686/cmov/libdl-
> 2.5.so
> b7ced000-b7cef000 rw-p 00001000 03:01 700540     /lib/tls/i686/cmov/libdl-
> 2.5.so
> b7cef000-b7cf1000 r-xp 00000000 03:01 102736
>
> _______________________________________________
> LDTP-dev mailing list
> LDTP-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev
>



-- 
Linux Desktop Testing Project - http://ldtp.freedesktop.org
http://nagappanal.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ldtp-dev/attachments/20070809/b85df280/attachment.htm 


More information about the LDTP-dev mailing list