Now I can't find where it's dropping the core file.  The one generated
before recompiling bash has this backtrace (when loaded with the new bash)

#0  0x0005a5f8 in list_length ()
#1  0x000803cc in strvec_from_word_list ()
#2  0x000230d4 in execute_disk_command ()
#3  0x00023a68 in execute_simple_command ()
#4  0x00021630 in $a ()
#5  0x00021630 in $a ()
Previous frame identical to this frame (corrupt stack?)


On Sun, Sep 21, 2014 at 7:28 PM, trondd <tro...@gmail.com> wrote:

> Worked ok on amd64 and i386
>
> Trying to get a useful backtrace for the core file.  xmlto blows up on
> it's own without dumping the core.  It is bash that core dumps during the
> dbus build.
>
> All I got out of the backtrace was one address
> 0x0005a5f8 in ?? ()
>
> Rebuilding bash with debug symbols to try to get more info.
>
> On Sun, Sep 21, 2014 at 6:59 PM, Tobias Ulmer <tobi...@tmux.org> wrote:
>
>> On Sun, Sep 21, 2014 at 06:23:31PM +0100, Stuart Henderson wrote:
>> > On 2014/09/21 11:31, trondd wrote:
>> > > Several of us are seeing failures building dbus with xmlto crashing on
>> > > random files.  It will also crash if you run xmlto manually on a file.
>> > > It's not consistently crashing on the same file all of the time.  It
>> looks
>> > > like it's printing out garbage memory.
>> > >
>> > > We are building on an early September snapshot on the Zaurus.
>> > >
>> > > Here is an example failure while building dbus:
>> > >
>> > > Making all in doc
>> > > gmake[2]: Entering directory
>> '/usr/ports/pobj/dbus-1.8.6/dbus-1.8.6/doc'
>> > > /usr/local/bin/xmlto man dbus-cleanup-sockets.1.xml
>> > > Writing dbus-cleanup-sockets.1 for refentry(dbuscleanupsockets1)
>> > > rm: ككككككككككككككككككككككككككككككككككككككككككككك
>> > > كككككككككككككككككككككككككككككككككككككككككككككككك
>> > > ككككككككككككككككككككككككككككككككك:  File too long
>> >
>> > These are 0xdf characters almost always from malloc(3) "junking" when
>> > freeing memory.
>> >
>> > Are you only seeing this on arm? I haven't seen this on other arch
>> > (and haven't used arm for a couple of releases).
>>
>> I got a xmlto crash in dbus on sparc. Didn't have time to investigate yet.
>>
>> >
>> > I wonder if it's anything to do with stack-protector. We aren't doing
>> > regular package builds on arm any more so no good way to pick up
>> problems
>> > (except for things that also affect the base OS).
>> >
>> > > /usr/local/bin/xmlto man dbus-daemon.1.xml
>> > > Writing dbus-daemon.1 for refentry(dbusdaemon1)
>> > > /usr/local/bin/xmlto: line 622: 11775 Bus Error        (core dumped )
>> > > $(BASH) "$FORMAT" post-process
>> > > Makefile: 765: recipe for target 'dbus-daemon.1' failed
>> >
>> > Have a look at the core file that's left around (presumably bash.core?)
>> > and see if there's anything useful in a backtrace.
>> >
>> >
>>
>
>

Reply via email to