On 03/07/2013 12:00 AM, richard -rw- weinberger wrote:
> Found the issue. A very nasty use-after-free tty issue which happened
> only sometimes.
> Please test the attached patch.
> /me tested x86_64 and x86 successfully.
> 
Today I tested a patched 3.9 kernel for the UML guest several times,
host kernel was 3.8.2. Later I realized a core file in my HOME directory.
I'm not sure whether this back trace helps :

...
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by `/usr/local/bin/linux-v3.9-rc1-211-g47b3bc9 earlyprintk 
ubda=/home/tfoerste/virt'.
Program terminated with signal 11, Segmentation fault.
#0  constant_test_bit (nr=<optimized out>, addr=<optimized out>) at 
/home/tfoerste/devel/linux/arch/x86/include/asm/bitops.h:321
321                     (addr[nr / BITS_PER_LONG])) != 0;
(gdb) bt
#0  constant_test_bit (nr=<optimized out>, addr=<optimized out>) at 
/home/tfoerste/devel/linux/arch/x86/include/asm/bitops.h:321
#1  test_ti_thread_flag (ti=<optimized out>, flag=<optimized out>) at 
include/linux/thread_info.h:93
#2  test_tsk_thread_flag (flag=<optimized out>, tsk=<optimized out>) at 
include/linux/sched.h:2522
#3  signal_pending (p=<optimized out>) at include/linux/sched.h:2548
#4  __set_task_blocked (tsk=0x37ec0000, newset=0x37ec2f48) at 
kernel/signal.c:2524
#5  0x0808d003 in __set_current_blocked (newset=0x37ec2f48) at 
kernel/signal.c:2552
#6  0x0808d027 in set_current_blocked (newset=0x0) at kernel/signal.c:2544
#7  0x0808e584 in sigsuspend (set=0x0) at kernel/signal.c:3550
#8  0x08064668 in winch_thread (arg=0x0) at arch/um/drivers/chan_user.c:210
#9  0x46a6b41e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133
(gdb) quit




-- 
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to