Opened 11 years ago
Closed 11 years ago
#2992 closed defect (fixed)
oscam crash with "double free or corruption (!prev): "
Reported by: | dpeddi | Owned by: | |
---|---|---|---|
Priority: | major | Component: | General |
Severity: | Please fill in | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
oscam-1.20-unstable_svn-r7944
Issue Description
oscam crash unexpectly
When the issue occurs
unexpected
How the issue is reproducable
I don't know if you can replicate.
Attachments (5)
Change History (16)
by , 11 years ago
Attachment: | valgrind.log added |
---|
comment:1 by , 11 years ago
comment:2 by , 11 years ago
if you can´t provide a log as described in thread http://www.streamboard.tv/wbb2/thread.php?threadid=30975 the problem can´t be fixed. switching source files is a useless task...
comment:4 by , 11 years ago
for me, now svn r7948 is working properly.
thanks theparasol
PS
sorry if I did not post the log as indicated, but did not succeed.
I do experience more
comment:6 by , 11 years ago
/usr/local/oscam/oscam-sb/build_dir.x86# ./oscam -V
Version: oscam-1.20-unstable_svn-r7948
oscam died at sab 8 dic 2012, 15.29.11, CET
oscam started at sab 8 dic 2012, 15.29.16, CET
* glibc detected * /usr/local/oscam/oscam-sb/build_dir.x86/oscam: double free or corruption (!prev): 0x00007f2274007b20 *
oscam died at sab 8 dic 2012, 13.55.29, CET
oscam started at sab 8 dic 2012, 13.55.34, CET
* glibc detected * /usr/local/oscam/oscam-sb/build_dir.x86/oscam: double free or corruption (!prev): 0x0000000000e85540 *
oscam died at sab 8 dic 2012, 15.29.11, CET
oscam started at sab 8 dic 2012, 15.29.16, CET
* glibc detected * /usr/local/oscam/oscam-sb/build_dir.x86/oscam: double free or corruption (!prev): 0x00007f2274007b20 *
Problem persists...
I've configured my system to provide you GDB log
error is:
"../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory."
but i've logged out and I couldn't ask for bt to gdb...
I' try again with modified script...
comment:7 by , 11 years ago
by , 11 years ago
Attachment: | oscam-gdb.log added |
---|
comment:8 by , 11 years ago
17 #5 0x0000000000471fdc in cc_parse_msg (cl=0x7ffff007b230, 18 buf=0xaaaa20 "$\002\006k\030\005", l=1647) 19 at /root/oscam/oscam-sb/module-cccam.c:2929 20 #6 0x0000000000472708 in cc_recv (cl=0x7ffff007b230, 21 buf=0xaaaa20 "$\002\006k\030\005", l=2048) 22 at /root/oscam/oscam-sb/module-cccam.c:3086 }}}
The buf pointer is definitely wrong and that brings the problem.
comment:9 by , 11 years ago
Compiled and running running under gdb.
I keep it running for few days and I will let you known
Thanks
comment:10 by , 11 years ago
I see your fixed a line in emm management by ccam,
after an uptime of 31 hours
and
0 / 35934 / 0 / 78 blocked emm
0 / 35934 / 0 / 78 blocked emm
0 / 35934 / 0 / 78 blocked emm
0 / 0 / 2 / 0 written emm
0 / 0 / 15 / 0 skipped emm
0 / 73 / 14 / 0 written emm
0 / 1044 / 54 / 0 skipped emm
received using cccam protocol
I consider the patch good.. I think you can commit it
valgrind log