Bug 1959 - (YOCTO 1.2)LSB 4.1: /gobject-t2c/tests/gobject_value_arrays/gobject_value_arrays 24
Summary: (YOCTO 1.2)LSB 4.1: /gobject-t2c/tests/gobject_value_arrays/gobject_value_arr...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.2
Hardware: All Multiple
: Medium normal
Target Milestone: Future
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-02-03 02:01 UTC by Xiaofeng Yan
Modified: 2013-08-15 09:06 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments
a test program for function g_value_array_sort_with_data which calls qsort_r (14.46 KB, text/x-csrc)
2012-02-05 22:09 UTC, Xiaofeng Yan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiaofeng Yan 2012-02-03 02:01:49 UTC
function "g_qsort_with_data" has two kinds of realization. One calls qsort_r from libglib, the other realize itself.
qsort_r from libglib cause sort error.
Comment 1 Xiaofeng Yan 2012-02-05 22:09:25 UTC
Created attachment 323 [details]
a test program for function g_value_array_sort_with_data which calls qsort_r

This test case is from LSB 4.1. Its purpose is check function g_value_array_sort_with_data.
Comment 2 Xiaofeng Yan 2012-02-05 22:11:29 UTC
Compile this test program(core-image-lsb-sdk):
$ gcc -g `pkg-config --cflags glib-2.0` gobject_value_arrays.c -o gobject -lgobject-2.0
Comment 3 Xiaofeng Yan 2012-02-14 19:31:24 UTC
It is no problem for g_qsort_with_data by using the test case from glib. glib has realized the function of "g_qsort_with_data" with two kinds of methods since version 2.28.8(Add calling qsort_r from libc.so). before 2.28.8, glib use the method by itself. type id `24' is invalid in 2.30.2. So this could be a upstream problem for lsb  test suite.
Comment 4 Kai Kang 2013-02-22 08:08:24 UTC
Still fail with lsb-test-desktop-t2c-4.1.2-2.i486.rpm, and it marked as "Known Problem"
Comment 5 Hongxu Jia 2013-08-15 09:06:12 UTC
The test suite is deficiency and has been waived.

See details:
https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3412

When you start lsb test through web ui, click 'refresh list' button
in 'Custom Tests', it will update problem_db and the test result
will show you the test suite is waived.

//Hongxu