Re: Segmentation fault running lttctl on SH4 target.

"Giuseppe Cavallaro" <[email protected]> Wed, 14 Nov 2007 10:30:21 +0100
Newsgroups gmane.linux.kernel.tracing
Message-ID <[email protected]>
Sorry I've given you a wrong information with/without the git-net.patch I
have the problem reported in my previous post.

On 14/11/2007, Giuseppe Cavallaro <[email protected]> wrote:
>
> Hi Mathieu,
> applying Andy's git-net.patch (from 2.6.23-mm1-broken-out.tar.bz2),  I get
> the segmentation
> fault later, just in the ltt_create_buf_file_callback function and the
> relay_open is done.
> So I do think the issue is not in ltt but in my tree where I didn't apply
> all the patchset required for mm1.
> Indeed, I only imported the marker from mm1.
>
> Thanks for your support, I'll post the printk-output  as soon as possible.
>
> Just a final note: I've met the same issue applying from scratch
> http://ltt.polymtl.ca/lttng/patch-2.6.23.1-lttng-0.10-pre7-port.tar.bz2
> against the 2.6.23.1. Maybe this could be useful for other users.
>
> Ciao
> Giuseppe
>
> On 13/11/2007, Mathieu Desnoyers <[email protected]> wrote:
> >
> >
> > Could you add a printk at the beginning of ltt_relay_create_channel() ?
> > (also at the end to see if it ends correctly..)
> >
> > Try to show all the arguments received by ltt_relay_create_channel in
> > this printk.
> >
> > Also try adding printk just before each strncpy, strncat, strlen in this
> > function, printing the printers (and possibly the strings) to which they
> >
> > point.
> >
> > It might help debugging this further. And maybe it's something specific
> > to pre14.. updating to the newer pre23 might help, but if yes, I don't
> > recall any change in this area.. except maybe the changes in the netlink
> >
> > support in the kernel.
> >
> > Mathieu
> >
> >
> > > Regards,
> > >   Giuseppe
> > >
> > > PS: I confirm that timestamp for SUPERH works fine.
> >
> > > _______________________________________________
> > > Ltt-dev mailing list
> > > [email protected]
> > > http://listserv.shafik.org/mailman/listinfo/ltt-dev
> >
> >
> > --
> > Mathieu Desnoyers
> > Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
> > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE
> > 9A68
> >
>
>

_______________________________________________
Ltt-dev mailing list
[email protected]
http://listserv.shafik.org/mailman/listinfo/ltt-dev