mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] genimage segfaults with glibc 2.22
@ 2015-08-22 18:43 Alexander Aring
  2015-08-23 16:46 ` Clemens Gruber
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Aring @ 2015-08-22 18:43 UTC (permalink / raw)
  To: ptxdist; +Cc: m.olbrich

Hi,

I currently see an issue with genimage and glibc 2.22. In this version
setenv segfaults if setenv (..., NULL, ...).

I think glibc fixed again with [0] and there are a couple of mailinglist
fights how to deal correctly with "setenv (..., NULL, ...)". [1]

Anyway I just want to leave a note here before other people run into the
same issue and debug hours "why" genimage segfaults.

Maybe genimage should be updated to don't call setenv if value == NULL.

- Alex

[0] https://sourceware.org/git/?p=glibc.git;a=commit;h=03c1e456b079929a8290aeb4aadb05c0df73bfd2
[1] https://sourceware.org/ml/libc-alpha/2015-03/msg00449.html

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: [ptxdist] genimage segfaults with glibc 2.22
@ 2015-08-25 11:41 Koch, Alexander
  2015-08-25 12:09 ` Alexander Aring
  0 siblings, 1 reply; 5+ messages in thread
From: Koch, Alexander @ 2015-08-25 11:41 UTC (permalink / raw)
  To: ptxdist

Hi,

I stumbled upon this as well, when upgrading glibc under Arch.

So to clarify, do we just need to wait until the patch mentioned by Alex in [0]
gets included in an updated glibc package, or is there a proper way to make
PTXdist (or better `genimage`) work again under Arch?


Best regards,

Alex


On Sun, Aug 23, 2015 at 16:46:51 GMT, Clemens Gruber wrote:
> On Sat, Aug 22, 2015 at 08:43:18PM +0200, Alexander Aring wrote:
>> Hi,
>> 
>> I currently see an issue with genimage and glibc 2.22. In this version
>> setenv segfaults if setenv (..., NULL, ...).
>> 
>> I think glibc fixed again with [0] and there are a couple of mailinglist
>> fights how to deal correctly with "setenv (..., NULL, ...)". [1]
>> 
>> Anyway I just want to leave a note here before other people run into the
>> same issue and debug hours "why" genimage segfaults.
>> 
>> Maybe genimage should be updated to don't call setenv if value == NULL.
>> 
>> - Alex
>> 
>> [0] https://sourceware.org/git/?p=glibc.git;a=commit;h=03c1e456b079929a8290ae
b4aadb05c0df73bfd2
>> [1] https://sourceware.org/ml/libc-alpha/2015-03/msg00449.html
>> 
> 
> Hi,
> 
> I was trying to debug that error last week on ArchLinux, thanks for posting
> this
> here!
> 
> Regards,
> Clemens
-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-25 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-22 18:43 [ptxdist] genimage segfaults with glibc 2.22 Alexander Aring
2015-08-23 16:46 ` Clemens Gruber
2015-08-25 11:41 Koch, Alexander
2015-08-25 12:09 ` Alexander Aring
2015-08-25 12:42   ` Alexander Aring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox