[asterisk-bugs] [Asterisk 0018022]: chan_skype generate kernel error when starts asterisk

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 21 08:30:14 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18022 
====================================================================== 
Reported By:                arriba
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18022
Category:                   Channels/NewFeature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.0 - SECURITY ONLY! Test 1.6.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-21 07:45 CDT
Last Modified:              2010-09-21 08:30 CDT
====================================================================== 
Summary:                    chan_skype generate kernel error when starts
asterisk
Description: 
after asterisk load chan_skype.so generate this message

Message from syslogd at softfax at Sep 21 07:46:01 ...
 kernel:[ 2160.808534] Oops: 0000 [https://issues.asterisk.org/view.php?id=7]
PREEMPT SMP

Message from syslogd at softfax at Sep 21 07:46:01 ...
 kernel:[ 2160.808538] last sysfs file:
/sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map

Message from syslogd at softfax at Sep 21 07:46:01 ...
 kernel:[ 2160.808647] Stack:

Message from syslogd at softfax at Sep 21 07:46:01 ...
 kernel:[ 2160.808666] Call Trace:

Message from syslogd at softfax at Sep 21 07:46:01 ...
 kernel:[ 2160.808708] Code: b6 fe ff ff 0f 1f 00 4c 89 fe 65 48 8b 3c 25
00 b0 00 00 e8 cf f5 ff ff 85 c0 89 85 6c ff ff ff 0f 85 25 fe ff ff e9 ee
fe ff ff <41> f6 45 68 08 0f 84 ff fd ff ff 90 e9 ef fd ff ff 31 f6 4c 89

Message from syslogd at softfax at Sep 21 07:46:01 ...
 kernel:[ 2160.808750] CR2: 0000000000000068

Message from syslogd at softfax at Sep 21 07:46:02 ...
 kernel:[ 2161.808653] Oops: 0000 [https://issues.asterisk.org/view.php?id=8]
PREEMPT SMP

Message from syslogd at softfax at Sep 21 07:46:02 ...
 kernel:[ 2161.808659] last sysfs file:
/sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map

Message from syslogd at softfax at Sep 21 07:46:02 ...
 kernel:[ 2161.808817] Stack:

Message from syslogd at softfax at Sep 21 07:46:02 ...
 kernel:[ 2161.808846] Call Trace:

Message from syslogd at softfax at Sep 21 07:46:02 ...
 kernel:[ 2161.808899] Code: b6 fe ff ff 0f 1f 00 4c 89 fe 65 48 8b 3c 25
00 b0 00 00 e8 cf f5 ff ff 85 c0 89 85 6c ff ff ff 0f 85 25 fe ff ff e9 ee
fe ff ff <41> f6 45 68 08 0f 84 ff fd ff ff 90 e9 ef fd ff ff 31 f6 4c 89

Message from syslogd at softfax at Sep 21 07:46:02 ...
 kernel:[ 2161.808962] CR2: 0000000000000068



in /var/log/messages show this detailed message

Sep 21 07:18:17 softfax kernel: [  497.172105] BUG: unable to handle
kernel NULL pointer dereference at 0000000000000068
Sep 21 07:18:17 softfax kernel: [  497.172115] IP: [<ffffffff812446a4>]
apparmor_bprm_set_creds+0x354/0x440
Sep 21 07:18:17 softfax kernel: [  497.172125] PGD 12146b067 PUD 12147e067
PMD 0
Sep 21 07:18:17 softfax kernel: [  497.172130] Oops: 0000
[https://issues.asterisk.org/view.php?id=3] PREEMPT
SMP
Sep 21 07:18:17 softfax kernel: [  497.172135] last sysfs file:
/sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map
Sep 21 07:18:17 softfax kernel: [  497.172142] CPU 0
Sep 21 07:18:17 softfax kernel: [  497.172145] Modules linked in: edd
dahdi_dummy dahdi crc_ccitt cpufreq_conservative cpufreq_userspace
cpufreq_powersave acpi_cpufreq dgvfifo vlibd fuse loop dm_mod atl1e sr_mod
serio_raw pcspkr cdrom i2c_i801 sg intel_agp button asus_atk0110 iTCO_wdt
iTCO_vendor_support ext4 jbd2 crc16 raid456 raid6_pq async_xor async_memcpy
async_tx xor raid1 raid0 fan processor thermal thermal_sys
Sep 21 07:18:17 softfax kernel: [  497.172186] Pid: 3374, comm: asterisk
Tainted: G      D    2.6.31.5-0.1-desktop
https://issues.asterisk.org/view.php?id=1 System Product Name
Sep 21 07:18:17 softfax kernel: [  497.172192] RIP:
0010:[<ffffffff812446a4>]  [<ffffffff812446a4>]
apparmor_bprm_set_creds+0x354/0x440
Sep 21 07:18:17 softfax kernel: [  497.172200] RSP: 0018:ffff880124dcfda8 
EFLAGS: 00010246
Sep 21 07:18:17 softfax kernel: [  497.172204] RAX: 00000000fffffffe RBX:
ffff88012caae480 RCX: ffff880124dcfdd8
Sep 21 07:18:17 softfax kernel: [  497.172208] RDX: 0000000000000000 RSI:
ffffffff818b3740 RDI: 0000000000000004
Sep 21 07:18:17 softfax kernel: [  497.172212] RBP: ffff880124dcfe58 R08:
ffffffff816f58d1 R09: 00000000000000e4
Sep 21 07:18:17 softfax kernel: [  497.172217] R10: ffff88012a9a3030 R11:
0000000000000000 R12: ffff880127d2a900
Sep 21 07:18:17 softfax kernel: [  497.172221] R13: 0000000000000000 R14:
ffff880124dcfdb8 R15: ffff880124dcfe08
Sep 21 07:18:17 softfax kernel: [  497.172226] FS:  00007ff3d04816f0(0000)
GS:ffff88000584a000(0000) knlGS:0000000000000000
Sep 21 07:18:17 softfax kernel: [  497.172231] CS:  0010 DS: 0000 ES: 0000
CR0: 000000008005003b
Sep 21 07:18:17 softfax kernel: [  497.172235] CR2: 0000000000000068 CR3:
000000012146a000 CR4: 00000000000406f0
Sep 21 07:18:17 softfax kernel: [  497.172239] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Sep 21 07:18:17 softfax kernel: [  497.172244] DR3: 0000000000000000 DR6:
00000000ffff0ff0 DR7: 0000000000000400
Sep 21 07:18:17 softfax kernel: [  497.172248] Process asterisk (pid:
3374, threadinfo ffff880124dce000, task ffff8801214b6340)
Sep 21 07:18:17 softfax kernel: [  497.172253] Stack:
Sep 21 07:18:17 softfax kernel: [  497.172255]  0000000000000000
ffff88012fc80940 0000000000000000 fffffffe000000d0
Sep 21 07:18:17 softfax kernel: [  497.172261] <0> ffffffff816f57aa
0000000000000000 ffff88012a9a3d64 0000000000000000
Sep 21 07:18:17 softfax kernel: [  497.172267] <0> 0000000000000000
0000000000000000 0000000100000000 ffff880124dcfe08
Sep 21 07:18:17 softfax kernel: [  497.172275] Call Trace:
Sep 21 07:18:17 softfax kernel: [  497.172286]  [<ffffffff8121aa21>]
security_bprm_set_creds+0x21/0x40
Sep 21 07:18:17 softfax kernel: [  497.172294]  [<ffffffff81152840>]
prepare_binprm+0x90/0x130
Sep 21 07:18:17 softfax kernel: [  497.172301]  [<ffffffff8115487a>]
do_execve+0x2ba/0x480
Sep 21 07:18:17 softfax kernel: [  497.172308]  [<ffffffff8100a1f1>]
sys_execve+0x51/0x90
Sep 21 07:18:17 softfax kernel: [  497.172315]  [<ffffffff8100cb5a>]
stub_execve+0x6a/0xc0
Sep 21 07:18:17 softfax kernel: [  497.172320] Code: b6 fe ff ff 0f 1f 00
4c 89 fe 65 48 8b 3c 25 00 b0 00 00 e8 cf f5 ff ff 85 c0 89 85 6c ff ff ff
0f 85 25 fe ff ff e9 ee fe ff ff <41> f6 45 68 08 0f 84 ff fd ff ff 90 e9
ef fd ff ff 31 f6 4c 89
Sep 21 07:18:17 softfax kernel: [  497.172358] RIP  [<ffffffff812446a4>]
apparmor_bprm_set_creds+0x354/0x440
Sep 21 07:18:18 softfax kernel: [  498.170297]  RSP <ffff880120d79da8>
Sep 21 07:18:18 softfax kernel: [  498.170300] CR2: 0000000000000068
Sep 21 07:18:18 softfax kernel: [  498.173823] ---[ end trace
b33f086d1fccd282 ]---
====================================================================== 

---------------------------------------------------------------------- 
 (0127186) davidw (reporter) - 2010-09-21 08:30
 https://issues.asterisk.org/view.php?id=18022#c127186 
---------------------------------------------------------------------- 
This is a linux kernel bug, not an Asterisk bug.  Actually, it looks like
it is a third party kernel driver, part of AppArmor.

As a general principle any Oops that is generated by running non-driver
code is a kernel bug. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-21 08:30 davidw         Note Added: 0127186                          
======================================================================




More information about the asterisk-bugs mailing list