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 605650 - LDTP core dumps on OpenSolaris
LDTP core dumps on OpenSolaris
Status: RESOLVED FIXED
Product: LDTP
Classification: Other
Component: ldtp
1.7.0
Other Solaris
: Normal critical
: ---
Assigned To: LDTP maintainers
LDTP Development Mailing List
Depends on:
Blocks:
 
 
Reported: 2009-12-29 07:07 UTC by conny
Modified: 2010-02-11 03:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description conny 2009-12-29 07:07:33 UTC
On OpenSolaris 130 build, ldtp 1.7.1.

Run ldtp scripts, get error:
** (test_ipsgui_about.py:7632): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (test_ipsgui_about.py:7632): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (test_ipsgui_about.py:7632): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
E
======================================================================
ERROR: testAbout (__main__.test_ipsgui_about)
----------------------------------------------------------------------
Traceback (most recent call last):
  • File "./test_ipsgui_about.py", line 41 in testAbout
    selectmenuitem('frmPackageManager', 'mnuAbout')
  • File "/usr/lib/python2.6/vendor-packages/ldtp.py", line 756 in selectmenuitem
    sendpacket (_message)
  • File "/usr/lib/python2.6/vendor-packages/ldtplib/ldtplibutils.py", line 729 in sendpacket
    raise LdtpExecutionError ('Server aborted')
LdtpExecutionError: 'Server aborted'

and core dumps:
core 'core' of 7648:	
-----------------  lwp# 1 / thread# 1  --------------------
 fea84cf0 strlen   (80aa078, 7fffffff, 7fffffff, 2, 0, 0) + 30
 0805d38b main     (1, 80479f8, 8047a00, 80479ec) + 2fb
 0805bc7d _start   (1, 8047b14, 0, 8047b15, 8047b27, 8047b3e) + 7d
-----------------  lwp# 2 / thread# 2  --------------------
 feb14357 __pollsys (fe90efbc, 1, fe90ef74, 0, fe90ef8c, fefc47a4) + 7
 feab8804 poll     (fe90efbc, 1, 493e0) + 4c
 0805cda5 ldtp_server_thread (0, feba2000, fe90efe8, feb0f9ce) + 75
 feb0fa23 _thrp_setup (fe800200) + 9b
 feb0fcb0 _lwp_start (fe800200, 0, 0, 0, 0, 0)
Comment 1 Nagappan Alagappan 2009-12-29 19:35:05 UTC
Trace is not much useful. Can you please give a try with LDTPv2 ? http://cgit.freedesktop.org/ldtp/ldtp2/ This will be released sometime, next month

Thanks
Comment 2 conny 2010-01-06 05:50:03 UTC
Hi Nagappan,

I am still using 1.7.1, since I don't find the ldtp2 for Solaris build. Not sure what kind of useful info I can provide here, I just tried to import ldtp in python, then get:

Python 2.6.4 (r264:75706, Jan  3 2010, 12:49:15) [C] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import ldtp
Traceback (most recent call last):
  • File "<stdin>", line 1 in <module>
  • File "/usr/lib/python2.6/vendor-packages/ldtp.py", line 94 in <module>
    _mainSock, _ldtpUseTcp = connect2LdtpExecutionEngine ()
  • File "/usr/lib/python2.6/vendor-packages/ldtplib/ldtplibutils.py", line 650 in connect2LdtpExecutionEngine
    raise ConnectionLost ('Could not establish connection ' + str (msg)) ldtplib.ldtplibutils.ConnectionLost: 'Could not establish connection [Errno 146] Connection refused'

Comment 3 Nagappan Alagappan 2010-01-06 06:42:35 UTC
Unfortunately I don't have Solaris environment to test your scenario. Can you please point me some VM with which I can test ?

Thanks
Comment 4 conny 2010-01-06 06:50:36 UTC
Hi Nagappan, are you using VirtualBox or VMware?
Comment 5 Nagappan Alagappan 2010-01-06 06:54:15 UTC
(In reply to comment #4)
> Hi Nagappan, are you using VirtualBox or VMware?

I work in VMware company and so using VMware Workstation :)

Thanks
Comment 6 conny 2010-01-06 07:05:58 UTC
Hi Nagappan, can you try to download OpenSolaris ISO for 130 build from http://mail.opensolaris.org/pipermail/ug-okcosug/2009-December/000129.html? Any problem let me know.

Thanks!
Conny
Comment 7 Nagappan Alagappan 2010-01-06 07:18:42 UTC
(In reply to comment #6)
> Hi Nagappan, can you try to download OpenSolaris ISO for 130 build from
> http://mail.opensolaris.org/pipermail/ug-okcosug/2009-December/000129.html? Any
> problem let me know.
> 
> Thanks!
> Conny

Its night 11:18 PM here, will try tomorrow at work.

Thanks
Comment 8 conny 2010-01-06 07:28:26 UTC
Sure! Thank you for your hard work! Good night!
Comment 9 Nagappan Alagappan 2010-02-05 02:52:17 UTC
Conny, have tried a fix for this and updated in git, if you have some free time, request to check it.

Thanks
Comment 10 Nagappan Alagappan 2010-02-11 03:18:01 UTC
As per chat with Conny over irc, this issue seems to fix the crash in his environment. Closing the bug.

Thanks