Hi Jim, Here is the sample code, which is not working on Linux.
<<Native.zip>> Please build the require component using shlib.sh file included in the attachment. I am trying in following configuration: 1. Red Hat Linux 6.0 2. JDK 1.3.0 I try to use native methods and pthread in the same code. If I remove pthread reference then it works fine. Test program is TestPgr.java which will call native method in which I use pthread calls. Hope now you can reproduce the problem. I will appreciate your help. Thanks, Ilesh H. Garish Automation Technology, Inc. Email: [EMAIL PROTECTED] Phone: 408-473-0239 Fax: 408-473-0201 Web ID: www.atinet.com > -----Original Message----- > From: Jim Blandy [SMTP:[EMAIL PROTECTED]] > Sent: Friday, April 21, 2000 3:49 PM > To: Ilesh Garish > Cc: [EMAIL PROTECTED] > Subject: Re: Segmentation error during dlclose() > > > I don't have enough information here to really help out. You need to > explain exactly what your program is doing, and show exactly what > crashes. Include a transcript of your GDB session. Post the complete > information to [EMAIL PROTECTED] > > In general, a useful bug report needs to include enough information to > allow us to reproduce the problem ourselves. Failing that, the > chances are quite slim that we'll happen to recognize the problem. > > > > Ilesh Garish <[EMAIL PROTECTED]> writes: > > > > > > > > > > -----Original Message----- > > > From: Free Software Foundation [SMTP:[EMAIL PROTECTED]] > > > Sent: Wednesday, April 19, 2000 2:36 AM > > > To: Ilesh Garish > > > Subject: Re: FW: Segmentation error during dlclose() > > > > > > > > > <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]> is probably the right place > to > > > send > > > this report. > > > > > > Ilesh Garish wrote: > > > > > -----Original Message----- > > > > > From: Ilesh Garish > > > > > Sent: Monday, April 17, 2000 3:39 PM > > > > > To: '[EMAIL PROTECTED]' > > > > > Cc: '[EMAIL PROTECTED]' > > > > > Subject: Segmentation error during dlclose() > > > > > > > > > > Hi, > > > > > > > > > > I am getting segmentation fault during dlclose() function. > > > > > Actually I built shared object (.so) file of my project. It was > > > working > > > > > fine during last month. > > > > > But then I changed my code to use POSIX threads (i.e. linking with > > > > > lpthread) and after that > > > > > I start facing this problem. > > > > > I debug using xxgdb and it so me the area of > "pthread_manager_thread: > > > > > 0000" , where it crashes. > > > > > > > > > > So do you have any idea about dlclose and pthread has some linkage > > > > > problem? > > > > > > > > > > Thanks in advance. > > > > > Ilesh > > > > > > -- > > > Bradley M. Kuhn, Assistant to Richard Stallman > > > Free Software Foundation | Phone: +1-617-542-5942 > > > 59 Temple Place, Suite 330 | Fax: +1-617-542-2652 > > > Boston, MA 02111-1307 USA | Web: http://www.gnu.org > > begin 600 Native.zip M4$L#!!0````(`#)U:2M1=NO:H0```,4!```(````<VAL:6(N<VC-4#L*PS`, MW0.Y@^:";4J/T*E3.O0"MBP2NTX<_"GI[>O0I)#%<T$22$]ZDIZ5+XEP[90E M3-R6K&W6.``P[_2.'(LLIJSB$4-X4$SW/FPD/2*P8C>18Q!K35C]//.+,!.Z MK.G+5(6%,U->*DT5:)OE8O\-_^\F]SLJ#C)064W+[$-B^CW)T6"1NRN*@S-J M%9='#R?N@;FQ^)R&0%*W3=M\`%!+`P04````"`#0=&DKYGF-,H(```"F```` M#````$-/8FIE8W0N:F%V836,P0Z",!!$[TWZ#QM.>)%XYHA'E0/^P+;=X&JE MI%U)B/'?+2*3N4QFYE75B/:!/<&`PA,=:JVT&E_&LP7K,25H6G,G*_#6"K+^ MW3J'*;"#*R6Y_/*9Y!9<@]Z7G40>>CBBX*Y>KTGRR&Z@1=V<A)Y[']"=V$2, M<UDLM&*[?+3*_@)02P,$%`````@`Y71I*Z:2_LDF`0``_`$```D```!#3V)J M96-T+FAUD&%+PS`0AC\;R'\XMB^SJ/L!%6%TDQ9T$];OY=9<VXPLG4E:%-E_ M-YGM1)B!D'`O[WO/W3R"Y0;6FQQ6RRR'/,VV\)R]K.`>I`-IX8!E(S5!39H, M.A(0S3F;2EVJ3A`\:G2RIX?FB;-Y!"FA(`-5:Z!4:"TDF]V>2G<V!5NE!550 M9#]V40RZEWP]]+DB<>8^CQ1\UIG.AR4A>DS^X@S\*1LT\+98QC<>8['>9I"` MH?=.&K*#KPM?UT*#/0&"(K0.6M_S0(>=IPZ,IS_A,6<I:J$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[!,\SA`E+I"\B*2\'AJ`D^F1/AU-D,E"BEB^W`E.6%[\"`;(XG:\&%; M70^F\\G#ZW+QO(;*2<'@?C:#J:;]9VM;`*XFLU)+8E;ZD.5F`AT5$L;PV\[K M:E:4(@[UBW3QK7]]`Y=PM1WJC76:)*ZA&0B@US`+]`,338-O%'P0Y!WGB5NA M=GMH>)@*7"O47KTMW$)KTVN=S8Y*3B:NLZ[N#I/QH$GC#7/\TT^$`M/$5:+P MES%A@J@ODRD&<Q\P!X(7(@I$(8`ES_<<'0:@O95Q4\"%EC9SGD?@6!:<*?AI M6U]02P$",@L4````"``R=6DK47;KVJ$```#%`0``"``````````!`"``MH$` M````<VAL:6(N<VA02P$",@L4````"`#0=&DKYGF-,H(```"F````#``````` M```!`"``MH''````0T]B:F5C="YJ879A4$L!`C(+%`````@`Y71I*Z:2_LDF M`0``_`$```D``````````0`@`+:!<P$``$-/8FIE8W0N:%!+`0(R"Q0````( M`.1T:2MZH,<>!P$``,0!```)``````````$`(`"V@<`"``!#3V)J96-T+F-0 M2P$",@L4````"`#9=&DKPA5@.\$```!)`0``#``````````!`"``MH'N`P`` M5&5S=%!G<BYJ879A4$L!`C(+%`````@`&W5I*U4EI5I5`0``3P(```H````` M`````0`@`+:!V00``$-/8FIE8W1L+F-02P4&``````8`!@!0`0``5@8````` ` end _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb