[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-05-02 Thread Timo Aaltonen
hum, focal- and jammy-proposed has an sru of this already, so the point
was to check if the test result makes sense.. or dropped from there as
there's another update request pending

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-29 Thread Sergio Costas
The odd thing is that the source code doesn't seem to have the original
patch...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-29 Thread Sergio Costas
Hmmm... the bugs are in the test_xmlb.c file, not in the library! These
variables are defined as autofree/autoptr

g_autofree gchar *blobfn = NULL;
g_autoptr(GPtrArray) parent_appdata = g_ptr_array_new_with_free_func 
(g_free);
g_autoptr(GPtrArray) parent_appstream = g_ptr_array_new_with_free_func 
(g_free);

but then, they are assigned static values:

blobfn = ("/tmp/components.xmlb");

g_ptr_array_add (parent_appstream, "test_files/xmls1");
g_ptr_array_add (parent_appstream, "test_files/xmls4");
g_ptr_array_add (parent_appstream, "test_files/xmls5");
g_ptr_array_add (parent_appstream, "test_files/yaml6");
g_ptr_array_add (parent_appdata, "test_files/metainfo1");
g_ptr_array_add (parent_appdata, "test_files/metainfo2");
g_ptr_array_add (parent_appdata, "test_files/appdata2");

That's why the test fails. It's not a problem in libxmlb. I'll fix this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-29 Thread Sergio Costas
Created a PPA with a patched .deb for Jammy
https://launchpad.net/~rastersoft-gmail/+archive/ubuntu/libxmlb

Also, uploading the patch itself for Jammy.

** Patch added: "Patch for jammy libxmlb"
   
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+attachment/5772460/+files/fix-double-free.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-29 Thread Sergio Costas
Confirmed: Jammy .deb package doesn't have the patch. I'll prepare a
SRU.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-26 Thread Sergio Costas
@tjaalton Yes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-26 Thread Sergio Costas
(I mean: I'll do it :-D )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1988440] Re: Regression in 22.04: segmentation fault when language is spanish

2024-04-26 Thread Timo Aaltonen
@sergio could you please review the test result?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1988440

Title:
  Regression in 22.04: segmentation fault when language is spanish

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-store-desktop/+bug/1988440/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs