[omniORB] core dump on Solaris using omnithreads

vjo@infosynergi.no vjo@infosynergi.no
Mon, 1 Oct 2001 11:34:16 +0200


Duncan,

Thanx for the tip. Only thing is that I get the same problem with 3.0.1 as
well...
Also using Suns C++ compiler, Sun WorkShop 6 update 2, gave the same
result.

Running my application without using multithreading everything works fine.

A typical backtrace on the core file from gdb looks like this

(gdb) bt
#0  0xfeb456f0 in _smalloc () from /usr/lib/libc.so.1
#1  0xfeb45734 in malloc () from /usr/lib/libc.so.1
#2  0xff3241f0 in c::c () from /usr/lib/libCrun.so.1
#3  0x300494 in __1cDstdJallocator4CpnJFaktLinje__Iallocate6MIpv_4_ ()
#4  0x300394 in __1cDstdTallocator_interface4n0AJallocator4CpnJFaktLinje___C2_Iallocate6MIp2_4_ ()
#5  0x300018 in __1cDstdGvector4CpnJFaktLinje_n0AJallocator4C2___2G6Mrk3_r3_ ()
#6  0x2b3848 in __1cNRecord101_201QcomputeKraftNett6MpnJFaktPeker_rd33rnDstdGvector4CpnJFaktLinje_n0CJalloca
tor4C6_____v_ ()
#7  0x2aefa0 in __1cNRecord101_201Fwrite6MpnJFaktPeker_pnHEmuFile__nJEmuReturn__ ()
#8  0x28183c in __1cKEmuManagerRproduceEmuRecords6MpnJFaktPeker__nJEmuReturn__ ()
#9  0x281518 in __1cKEmuManagerHproduce6M_nJEmuReturn__ ()
#10 0x281474 in __1cKEmuManagerOrun_undetached6Mpv_1_ ()
#11 0xa178c in omni_thread_wrapper ()

rgds
Vegar





Duncan Grisby <dgrisby@uk.research.att.com>@uk.research.att.com on
17.09.2001 11:47:22

Sent by:  dpg1@uk.research.att.com


To:   vjo@infosynergi.no
cc:   omniorb-list@uk.research.att.com
Subject:  Re: [omniORB] core dump on Solaris using omnithreads


On Wednesday 12 September, vjo@infosynergi.no wrote:

> Using omnithreads in my application I get spurious segmentation
violations
> or bus errors on Solaris.
> I am using GNU C++ compiler version 3.0 on Solaris 2.7.

GCC 3.0 is very buggy. Try again with 3.0.1.

Cheers,

Duncan.

--
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --