[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell problems: export segfaults



Jonas Holmberg wrote:
>>hi,
>>I just started developing for the axis boards, so this is maybe
>>a known error. But:
>>
>>[root@axis1 /mnt/flash/etc]349# sh
>>[root@axis1 /mnt/flash/etc]377# FOO=bar; export FOO
>>Segmentation fault
>>[root@axis1 /mnt/flash/etc]349#
>>
>>[root@axis1 /mnt/flash/etc]349# sh
>>[root@axis1 /mnt/flash/etc]380# export FOO=bar
>>Segmentation fault
>>[root@axis1 /mnt/flash/etc]349#
>>
>>...but
>>
>>[root@axis1 /mnt/flash/etc]349# sh
>>[root@axis1 /mnt/flash/etc]383# builtin export FOO=bar
>>[root@axis1 /mnt/flash/etc]383# echo $FOO
>>bar
>>
>>I tried to set up an additional lib directory for dynamic linking
>>(I installed kaffe into a nfs-mounted directory) that caused the
>>problems.
>>
>>Besides kaffe, this is the unmodified sdk v1.22, freshly downloaded
>>and compiled with kernel 2.4.14
>>
>>I will try to set up a debugger session to see more closely 
>>what happens
>>(in case I have some spare time).
>>
>>Apart from that, the system works like a charm :)
>>Simon
> 
> 
> That look just like a bug that was fixed in devboard_lx-R2_1_0.
> Can you verify that apps/shells/ash/alias.c has the following
> code on line 89:
> 
>                 ap->next = 0;
> 

yes, it does. Is this good or bad news?


Simon

> Best regards
> /Jonas



-- 
------------------------------------------------
Dipl.-Ing. Simon Vogl
Department  of   Computer  Science
Johannes Kepler University of Linz
Altenberger Stra├če 69
A-4040 Linz - Austria

Tel: +43 70 2468 8517  vogl@xxxxxxx.at
Fax: +43 70 2468 8426   www.soft.uni-linz.ac.at