Re: mISDNcapid still segfaults sometimes

Tobias Powalowski <tobias.powalowski-gM/[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <[email protected]>
Am 24.05.2012 12:33, schrieb Karsten Keil:
> Am 24.05.2012 12:14, schrieb Tobias Powalowski:
>> Hi,
>> again mISDNcapid segfaults on i686:
>> mISDNcapid[357]: segfault at 10 ip 08055d
>> 8b sp b73060d0 error 4 in mISDNcapid[8048000+21000]
>> May 24 11:59:33 Linux-Apotheke kernel: base_sock_release(dd451900)
>> sk=ddfa3c00
>> May 24 11:59:33 Linux-Apotheke systemd[1]: mISDNcapid.service: main
>> process exit
>> ed, code=killed, status=11
>> May 24 11:59:33 Linux-Apotheke systemd[1]: Unit mISDNcapid.service
>> entered faile
>> d state.
>>
>> It's not that easy to crash it as it was earlier, but happened again on
>> receiving a fax.
>> Do we need again logs/debugging for this?
>>
> Yes, it could be helpfull to see when it happens. You can also try to
> enable coredumps before you start mISDNcapid (ulimit -c unlimited).
>
> Karsten
>
> _______________________________________________
> isdn4linux mailing list
> [email protected]
> https://www.isdn4linux.de/mailman/listinfo/isdn4linux
(gdb) run -f
Starting program: /usr/sbin/mISDNcapid -f
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
May 24 13:20:28.205934             daemon.c:1506                  
main():Init mISDN lib version 20005, debug = 0 (0)
May 24 13:20:28.216310             daemon.c:1518                  
main():Did set eGID to uucp gid:14
May 24 13:20:28.217363          mc_buffer.c:  40        
mc_buffer_init():Setup mc buffer MI_MCBUFFER_DEBUG
debug=0x13 do_daemon=0 config=/etc/capi20.conf
May 24 13:20:28.449154             daemon.c:1325             
main_loop():mIControl added to idx 0
May 24 13:20:28.450278             daemon.c:1331             
main_loop():mIsock added to idx 1
May 24 13:20:28.450969             daemon.c:1337             
main_loop():mCsock added to idx 2
May 24 13:20:56.813779             daemon.c:1053       
mIcapi_register():register application id 1 fd=13
May 24 13:20:56.815500             daemon.c:1053       
mIcapi_register():register application id 2 fd=14
May 24 13:20:56.818121     layer3/mlayer3.c:  94           
open_layer3():mISDN kernel version 1.01.31 found
May 24 13:20:56.818218     layer3/mlayer3.c:  95           
open_layer3():mISDN user   version 1.01.31 found
May 24 13:20:56.818236     layer3/mlayer3.c:  96           
open_layer3():mISDN library interface version 2 release 5
[New Thread 0xb7b85b40 (LWP 6543)]
[New Thread 0xb71ffb40 (LWP 6553)]
May 24 13:21:06.121918             daemon.c: 621  
CreateBchannelThread():Created Bchannel tread -1222640832
May 24 13:21:09.305810              lplci.c:1039
plci_cc_disconnect_ind():PLCI 0101: Got Disconnect with cause 16 (0x10)
loc 01

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b85b40 (LWP 6543)]
0x080580ca in get_lPLCI4Id (plci=0xb7201e90, appId=2) at mplci.c:245
245     mplci.c: Datei oder Verzeichnis nicht gefunden.
(gdb) backtrace
#0  0x080580ca in get_lPLCI4Id (plci=0xb7201e90, appId=2) at mplci.c:245
#1  0x08057930 in plciAttach_lPLCI (plci=0xb7201e90, lp=0xb7201e90)
    at mplci.c:77
#2  0x08057bc4 in plciHandleSetupInd (plci=0xb7201e90, pr=5, mc=0xb6849b70)
    at mplci.c:138
#3  0x08057e6a in plci_l3l4 (plci=0xb7201e90, pr=5, l3m=0xb72004a8)
    at mplci.c:185
#4  0x0804d34a in l3_callback (l3=0x8093c68, cmd=5, pid=65629,
l3m=0xb72004a8)
    at daemon.c:951
#5  0xb7f98fe0 in mISDN_l3up (l3p=0xb7201df8, prim=5, l3m=0xb72004a8)
    at layer3/layer3.c:393
#6  0xb7f94718 in l3dss1_setup (pc=0xb7201df8, pr=12552, l3m=0xb72004a8)
    at layer3/dss1user.c:879
#7  0xb7f97669 in dss1_fromdown (l3=0x8093c68, msg=0xb7200468)
    at layer3/dss1user.c:2247
#8  0xb7f9a1c3 in handle_l2msg (l3=0x8093c68, mb=0xb7200468)
    at layer3/layer3.c:784
#9  0xb7f9acd4 in layer3_thread (arg=0x8093c68) at layer3/layer3.c:922
#10 0xb7e36ce8 in start_thread () from /lib/libpthread.so.0
#11 0xb7d754de in clone () from /lib/libc.so.6


-- 
Tobias Powalowski
Archlinux Developer & Package Maintainer (tpowa)
http://www.archlinux.org
tpowa-fd97jBR+K/[email protected]

_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux
signature.asc (application/pgp-signature, 554 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPvhoJAAoJEHcd9mJ+32gf/AYH/2i8yiVZvjYJGrdjdr+Zf/MK
/jg5sGdBMAM+bgacd3swsZ8DHjBxAXD9ZQOpDPqCalhip1OX1QTvL8Uvu0fMlxME
6U7lud2QA1FT93KDf/pwXwe5FvTHkK+6i/FOZwLRSQmtQ4fHe9mBFhfF6WzX87wi
VFhQhHf4MJkrqKYX8D7+m+qgtC666w21NN6AsG5oP79j1kSuhTia0CZ1iyC1MLTI
IOBIPm/iAX7qsT4HWuTiedRKC6AqUWWbmXTrlPWRpVQ0jbo2ZFeFz4topeZ0UtSq
P0cFjhqLAFgLiF/ZsEPypFq9LR2bjybUn5HMyjoZ6Ph5qVMQy0XVHwayientHWs=
=upyZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.