[OpenSER-Devel] [ openser-Bugs-1706149 ] Suse 10.1 PPC 64bit Crash

SourceForge.net noreply at sourceforge.net
Wed Jul 11 10:09:15 CEST 2007


Bugs item #1706149, was opened at 2007-04-23 23:17
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1706149&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.1.x
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Navaneetha (navaneetha)
Assigned to: Bogdan (bogdan_iancu)
Summary: Suse 10.1 PPC 64bit Crash

Initial Comment:
Hi,

OpenSER module is crashing in release mode on startup on Suse 10.1 PowerPC machine. First the build wouldnt succeed as it would keep complaining abt -mtune=ppc64 setting. After removing that option for PPC setting in make file, I'm able to build it. In release mode, the process just crashes on startup. Doing a backtrace on core dump shows this

(gdb) bt
#0  0x100276a4 in xl_add_extra ()
#1  0x0fdc14cc in mod_init () from /usr/local/lib64/openser/modules/tm.so
#2  0x1004ff04 in init_mod ()
#3  0x1004fea0 in init_mod ()
#4  0x1004fea0 in init_mod ()
#5  0x1004fea0 in init_mod ()
#6  0x1004fea0 in init_mod ()
#7  0x1004fea0 in init_mod ()
#8  0x1002bbd4 in main ()


Analysing the method xl_add_extra() in items_extra.c shows that the crash happens at line 

 memset(&tmspec, 0, sizeof(xl_spec_t));

This seems real odd as bzero on the same struct seems to work fine. 

Also attaching info from gdb

Core was generated by `./openser -f openser.cfg'.
Program terminated with signal 4, Illegal instruction.

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/power5/libc.so.6...done.
Loaded symbols for /lib/power5/libc.so.6
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Reading symbols from /usr/local/lib64/openser/modules/sl.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/sl.so
Reading symbols from /usr/local/lib64/openser/modules/tm.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/tm.so
Reading symbols from /usr/local/lib64/openser/modules/rr.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/rr.so
Reading symbols from /usr/local/lib64/openser/modules/maxfwd.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/maxfwd.so
Reading symbols from /usr/local/lib64/openser/modules/usrloc.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/usrloc.so
Reading symbols from /usr/local/lib64/openser/modules/registrar.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/registrar.so
Reading symbols from /usr/local/lib64/openser/modules/textops.so...done.
Loaded symbols for /usr/local/lib64/openser/modules/textops.so
#0  0x100276a4 in xl_add_extra ()


Would appreciate if this could be resolved or provide a work around at the earliest possible.

Thanks

----------------------------------------------------------------------

>Comment By: Bogdan (bogdan_iancu)
Date: 2007-07-11 11:09

Message:
Logged In: YES 
user_id=1275325
Originator: NO

To be honest I suspect a problem related to linking or similar. As
Navaneetha said, replacing the memset with bzero solved his problem, but
logically has no sense as both functions are doing exactly the same...maybe
is a problem in the memset implementation on PPC 64b...

otherwise, such an obviously crash should have been reported also by other
people.

regards,
bogdan

----------------------------------------------------------------------

Comment By: Henning Westerholt (henningw)
Date: 2007-07-10 16:36

Message:
Logged In: YES 
user_id=337916
Originator: NO

Hi Navaneetha,

is this problem still present? Does the crash happens also with the 1.2
branch?

Cheers,

Henning

----------------------------------------------------------------------

Comment By: Bogdan (bogdan_iancu)
Date: 2007-05-03 23:25

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Navaneetha,

you say replacing the memset with bzero solves the crash??

regards,
bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1706149&group_id=139143



More information about the Devel mailing list