<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Operating System - Linux의 주제 Re: SIGBUS Error on third party application</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869598#M98701</link>
    <description>&lt;!--!*#--&gt;Why does gdb say you got SIGQUIT instead of SIGBUS?  Do you have a SIGBUS handler and then later it aborted with SIGQUIT?  It appears that the __fattach stack trace has nothing to do with your SIGBUS.&lt;BR /&gt;&lt;BR /&gt;Taking the output from tusc, you can see that you have an alignment trap:&lt;BR /&gt;   0x401d21c5 is not word aligned.&lt;BR /&gt;   LDW  0(r23),r26&lt;BR /&gt;&lt;BR /&gt;To find the proper function, you could do:&lt;BR /&gt;   disas 0x68c9c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 26 Sep 2006 18:26:20 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2006-09-26T18:26:20Z</dc:date>
    <item>
      <title>SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869594#M98697</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;our application crashes with a Bus-Error.&lt;BR /&gt;I run it with truss and see this:&lt;BR /&gt;&lt;BR /&gt;read(89, "01&amp;amp; 02\001\0\0\001&amp;amp; 02\001\0\0\0".., 2048)       = 2048&lt;BR /&gt;lseek(89, 1241088, SEEK_SET)                               = 1241088&lt;BR /&gt;read(89, "1c\0\0\0019804\0&amp;lt; 0f0e\0011f\f\0".., 1776)       = 1776&lt;BR /&gt;  Received signal 10, SIGBUS, in user mode, [caught], partial siginfo&lt;BR /&gt;    Siginfo: si_code: I_NONEXIST, faulting address: 0x401d21c5, si_errno: 0&lt;BR /&gt;    PC: 0x68c9f, instruction: 0x4afa0000&lt;BR /&gt;&lt;BR /&gt;gdb (bt) show this:&lt;BR /&gt;Core was generated by `_progres'.                                        &lt;BR /&gt;Program terminated with signal 3, Quit.                                  &lt;BR /&gt;                                                                         &lt;BR /&gt;warning: The shared libraries were not privately mapped; setting a       &lt;BR /&gt;breakpoint in a shared library will not work until you rerun the program.&lt;BR /&gt;                                                                         &lt;BR /&gt;(no debugging symbols found)...(no debugging symbols found)...           &lt;BR /&gt;(no debugging symbols found)...(no debugging symbols found)...           &lt;BR /&gt;(no debugging symbols found)...(no debugging symbols found)...           &lt;BR /&gt;(no debugging symbols found)...#0  0xc01f8368 in __fattach ()            &lt;BR /&gt;   from /usr/lib/libc.2                                                  &lt;BR /&gt;(gdb) bt                                                                 &lt;BR /&gt;#0  0xc01f8368 in __fattach () from /usr/lib/libc.2                      &lt;BR /&gt;#1  0x2a2300 in utcore () from /home/dlc83e/bin/_progres                 &lt;BR /&gt;#2  0x461b0 in drexit () from /home/dlc83e/bin/_progres                  &lt;BR /&gt;#3  0x46cfc in drSigFatal () from /home/dlc83e/bin/_progres              &lt;BR /&gt;#4  0xc01f7150 in __pause_sys () from /usr/lib/libc.2                    &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What can ce the cause ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;S.Marquardt&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 05:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869594#M98697</guid>
      <dc:creator>Stefan Marquardt_1</dc:creator>
      <dc:date>2006-09-26T05:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869595#M98698</link>
      <description>Stefan&lt;BR /&gt;did you see the problem descriptions in threads:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1012523" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1012523&lt;/A&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=73484&lt;/A&gt;</description>
      <pubDate>Tue, 26 Sep 2006 05:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869595#M98698</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-09-26T05:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869596#M98699</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;yes i see this cases but SIGBUS seems to be a global error for much circumstances and my SIGBUS is another SIGBIS error than the other cases.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 06:51:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869596#M98699</guid>
      <dc:creator>Stefan Marquardt_1</dc:creator>
      <dc:date>2006-09-26T06:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869597#M98700</link>
      <description>you can start with looking at what fattach is supposed to do:&lt;BR /&gt;&lt;A href="http://www.opengroup.org/pubs/online/7908799/xsh/fattach.html" target="_blank"&gt;http://www.opengroup.org/pubs/online/7908799/xsh/fattach.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;you can see that it takes 2 parameters, the second one being a string. since the SIGBUS is in libc (common to all applications and hence thoroughly tested), it is likely that your program passed it a bad string. you can try printing it. in gdb:&lt;BR /&gt;  p/x $r25&lt;BR /&gt;will print the pointer value.&lt;BR /&gt;  x/s $r25&lt;BR /&gt;will print the string (if the address is valid) or give an error message.</description>
      <pubDate>Tue, 26 Sep 2006 12:38:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869597#M98700</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2006-09-26T12:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869598#M98701</link>
      <description>&lt;!--!*#--&gt;Why does gdb say you got SIGQUIT instead of SIGBUS?  Do you have a SIGBUS handler and then later it aborted with SIGQUIT?  It appears that the __fattach stack trace has nothing to do with your SIGBUS.&lt;BR /&gt;&lt;BR /&gt;Taking the output from tusc, you can see that you have an alignment trap:&lt;BR /&gt;   0x401d21c5 is not word aligned.&lt;BR /&gt;   LDW  0(r23),r26&lt;BR /&gt;&lt;BR /&gt;To find the proper function, you could do:&lt;BR /&gt;   disas 0x68c9c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 18:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869598#M98701</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-09-26T18:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869599#M98702</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;yes there seems to be a a signal handler (i don't know C very well as a VB programmer)&lt;BR /&gt;sigaction(SIGBUS, 0x40037438, 0x40037460)                  = 0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Disassembling shows me the same function i got in the handler:&lt;BR /&gt;(gdb) disas 0x68c9c                             &lt;BR /&gt;Dump of assembler code for function fmESUBR:    &lt;BR /&gt;0x68c90 &lt;FMESUBR&gt;:      stw %rp,-0x14(%sp)      &lt;BR /&gt;0x68c94 &lt;FMESUBR&gt;:    ldo 0x40(%sp),%sp       &lt;BR /&gt;0x68c98 &lt;FMESUBR&gt;:    b,l 0x4de40 &lt;FMEVAL&gt;,%rp&lt;BR /&gt;0x68c9c &lt;FMESUBR&gt;:   ldw 0(%r23),%r26        &lt;BR /&gt;0x68ca0 &lt;FMESUBR&gt;:   ldw -0x54(%sp),%rp      &lt;BR /&gt;0x68ca4 &lt;FMESUBR&gt;:   bv %r0(%rp)             &lt;BR /&gt;0x68ca8 &lt;FMESUBR&gt;:   ldo -0x40(%sp),%sp      &lt;BR /&gt;0x68cac &lt;FMESUBR&gt;:   break 0,0               &lt;BR /&gt;End of assembler dump.                          &lt;BR /&gt;(gdb)                                           &lt;BR /&gt;&lt;BR /&gt;fmESUBR is a function from the developer of the database engine.&lt;BR /&gt;&lt;BR /&gt;The "handler" give this:&lt;BR /&gt;                              &lt;BR /&gt;( 0)  0x002b33d0   uttraceback + 0x18[/home/dlc83e/bin/_progres]&lt;BR /&gt;( 1)  0x002a24b4   uttrace + 0x134[/home/dlc83e/bin/_progres&lt;BR /&gt;( 2)  0x002a22d4   utcore + 0xbc  [/home/dlc83e/bin/_progres]&lt;BR /&gt;( 3)  0x000461b0   drexit + 0x120[/home/dlc83e/bin/_progres]&lt;BR /&gt;( 4)  0x00046cfc   drSigFatal + 0x64[/home/dlc83e/bin/_progres]&lt;BR /&gt;( 5)  0xc01f7150   _sigreturn[/usr/lib/libc.2]    &lt;BR /&gt;( 6)  0x00068c9c   fmESUBR + 0xc[/home/dlc83e/bin/_progres] &lt;BR /&gt;( 7)  0x0004e1a0   fmeval + 0x360[/home/dlc83e/bin/_progres]&lt;BR /&gt;( 8)  0x0004dfb8   fmeval + 0x178[/home/dlc83e/bin/_progres]&lt;BR /&gt;( 9)  0x0004dfb8   fmeval + 0x178[/home/dlc83e/bin/_progres]&lt;BR /&gt;(10)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres]                  &lt;BR /&gt;(11)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres]                  &lt;BR /&gt;(12)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres]                  &lt;BR /&gt;(13)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(14)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(15)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(16)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(17)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(18)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(19)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(20)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(21)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(22)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(23)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(24)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(25)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(26)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(27)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(28)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(29)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(30)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres] &lt;BR /&gt;(31)  0x0004dfb8   fmeval + 0x178[/home/dlc83e/bin/_progres]&lt;BR /&gt;(32)  0x00066e68   fmEIFTE + 0x40[/home/dlc83e/bin/_progres]&lt;BR /&gt;(33)  0x0004e1a0   fmeval + 0x360[/home/dlc83e/bin/_progres]&lt;BR /&gt;(34)  0x0004e010   fmeval + 0x1d0  [/home/dlc83e/bin/_progres]           &lt;BR /&gt;(35)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres]           &lt;BR /&gt;(36)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres]           &lt;BR /&gt;(37)  0x0004dfb8   fmeval + 0x178  [/home/dlc83e/bin/_progres]           &lt;BR /&gt;(38)  0x00165d3c   rnasgsimple + 0x8ac[/home/dlc83e/bin/_progres]&lt;BR /&gt;(39)  0x00150b68   rnexec_entry + 0x3a0[/home/dlc83e/bin/_progres]&lt;BR /&gt;(40)  0x0016137c   rninterpret + 0x44[/home/dlc83e/bin/_progres]&lt;BR /&gt;(41)  0x001b3418   umeDispatchEvent + 0xda0[/home/dlc83e/bin/_progres]&lt;BR /&gt;(42)  0x000c2d48   wvRunDispatcher + 0x128[/home/dlc83e/bin/_progres]&lt;BR /&gt;(43)  0x00292694   iodispatch + 0x9c[/home/dlc83e/bin/_progres]&lt;BR /&gt;(44)  0x00058fe0   rnrq + 0x68[/home/dlc83e/bin/_progres]&lt;BR /&gt;(45)  0x00040fdc   main + 0x134[/home/dlc83e/bin/_progres]&lt;BR /&gt;(46)  0xc013f204   _start + 0xc8[/usr/lib/libc.2]&lt;BR /&gt;(47)  0x0003789c   $START$ + 0x1a4[/home/dlc83e/bin/_progres]&lt;BR /&gt;&lt;BR /&gt;Are there any information to give to the developer of the database engine what is going wrong ?&lt;BR /&gt;On another HP-UX 11.0 host i can't reproduce this error !&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;S.Marquardt&lt;BR /&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;&lt;/FMEVAL&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;</description>
      <pubDate>Wed, 27 Sep 2006 03:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869599#M98702</guid>
      <dc:creator>Stefan Marquardt_1</dc:creator>
      <dc:date>2006-09-27T03:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: SIGBUS Error on third party application</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869600#M98703</link>
      <description>&amp;gt;Disassembling shows me the same function i got in the handler:&lt;BR /&gt;(gdb) disas 0x68c9c&lt;BR /&gt;0x68c90 &lt;FMESUBR&gt;: stw %rp,-0x14(%sp)&lt;BR /&gt;0x68c94 &lt;FMESUBR&gt;: ldo 0x40(%sp),%sp&lt;BR /&gt;0x68c98 &lt;FMESUBR&gt;: b,l 0x4de40 &lt;FMEVAL&gt;,%rp&lt;BR /&gt;0x68c9c &lt;FMESUBR&gt;: ldw 0(%r23),%r26  &amp;lt;&amp;lt; TRAP&lt;BR /&gt;&lt;BR /&gt;This shows that fmESUBR is calling fmeval.  It is getting the alignment trap in deferencing its 4th parm to pass to first parm.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The "handler" give this:&lt;BR /&gt;( 6) 0x00068c9c fmESUBR + 0xc[_progres]&lt;BR /&gt;( 7) 0x0004e1a0 fmeval + 0x360[_progres]&lt;BR /&gt;&lt;BR /&gt;Frame 7 is passing a bad 4th parm (misaligned) to fmESUBR.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Are there any information to give to the developer of the database engine what is going wrong?&lt;BR /&gt;&lt;BR /&gt;I'm not sure if this will help.  You will need to see what frame 7 is doing at fmeval + 0x360.  This is different from the other recursive calls but similar to frame 33 but calling a different function.&lt;/FMESUBR&gt;&lt;/FMEVAL&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;&lt;/FMESUBR&gt;</description>
      <pubDate>Thu, 28 Sep 2006 03:19:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sigbus-error-on-third-party-application/m-p/3869600#M98703</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-09-28T03:19:49Z</dc:date>
    </item>
  </channel>
</rss>

