Malloc() receives signals and the process hangs

Hi, I am having a batch process which receives a signal (sometimes SIGSEGV and someother times SIGUSR) during malloc and hangs forever. Please refer the following pstack and let me know, if it is related to some patch issue or heap corruption issue.
Os Details
SunOS dxxxxx09 5.8 Generic_117350-46 sun4u sparc SUNW,Ultra-Enterprise-10000
Pstack
----------------- lwp# 1 / thread# 1 --------------------
ffffffff748a79bc lwp_sema_wait (1002666d0)
ffffffff74e0c3d0 _park (1002666d0, ffffffff74f20000, 0, 1002665c0, 2, ffffffff74f21c74) + 114
ffffffff74e0c09c _swtch (1002665c0, ffffffff749c0308, ffffffff74f20000, 0, 5, 1000) + 424
ffffffff74e0db80 mutexadaptive_lock (ffffffff749c0308, ffffffff74f2f5d8, 4c00, 1000, fffeffff, 1) + 164
ffffffff74e0d888 cmutexlock (ffffffff749c0308, ffffffff74f20000, ffffffff7f72e930, ffffffff7484ab5 4, ffffffff7a701d28, ffffffff7fff982c) + 84
ffffffff7484ab54 free (100272900, ffffffff76810b98, ffffffff768384d0, ffffffff7a701d28, ffffffff7f72 e930, ffffffff73d00838) + 18
ffffffff763179bc meFree (1, 100272900, ffffffff7fff9980, ffffffff768384d0, ffffffff72800000, a) + 1c
ffffffff7683348c shm_deallocate (100378b80, ffffffff7fffa0a8, ffffffff769525e0, ffffffff769525d8, ff ffffff7694a5f0, 1) + 24
ffffffff768384d0 discshm (0, c350, ffffffff7fffa0a8, ffffffff7682d6b8, ffffffff7694a5f0, ffffffff73d 00838) + 250
ffffffff76830ab0 tlDiscon (10030f980, a, ffffffff7681ccfc, ffffffff76826cb8, ffffffff7f72e930, fffff fff73d00838) + b4
ffffffff7682d6b8 slSQIdiscon (0, a, a, ffffffff7fffa0a8, ffffffffffffffff, 10037eea0) + 2b8
ffffffff76826cb8 pfDiscon (ffffffff7fffa0a8, a, ffffffff7fffa008, ffffffff7fffa0a8, 10030f980, 10037 ee00) + b8
ffffffff7681ccfc cmDiscon (a, 10030fa50, ffffffff7fffa008, ffffffff76814dc4, 0, 0) + ac
ffffffff7681198c ascAbort (ffffffff7fffa0a8, 10030fa50, ffffffff7fffa000, ffffffff7fffa0a8, ffffffff 7694a5f0, ffffffffffffff84) + 24
ffffffff76814dc4 asfExit (10030ff30, ffffffff7fffa0a8, a, 0, 0, 10030fa50) + 224
ffffffff76814b34 ASF_Call (a, ffffffff76950f18, f0, ffffffff7fffa000, ffffffff7fffa0a8, 10030fa50) + 3e4
ffffffff76a1388c asf_abort (10030f980, 2, 1002f6870, 2, ffffffff7a701680, 10037c816) + 84
ffffffff76a1546c disconnect (1002f6870, 2, 0, 1002b4ae0, 0, 1002f7140) + 184
ffffffff76a1579c disconnect_all (1002f6870, 0, ffffffff76b63a00, 2, 2, 1002f6870) + 13c
ffffffff76a15a74 sqli_connect_close_tcb (0, 100268610, 2, ffffffff76b5df48, 0, 2) + a4
ffffffff76a2b804 sqlexit (1002f6870, 0, 0, 0, 0, 0) + 34
0000000100077c40 __1cOsignal_handler6Fi_v_ (a, ffffffff7fffaf90, ffffffff7fffacb0, 0, 0, 0) + 10
ffffffff74e1edd8 __sighndlr (a, ffffffff7fffaf90, ffffffff7fffacb0, 100077c30, 8000, 0) + c
ffffffff74e1b668 sigacthandler (1002665c0, 0, 0, 0, ffffffff7fffacb0, a) + 71c
--- called from signal handler with signal 2516416 (SIG Unknown) ---
ffffffff7484aa60 t_splay (0, 100470ff0, ffffffff749b6f60, 140, 0, 2d60) + 110
ffffffff7484a3a4 realfree (100470fe0, ffffffff749c3780, 100470eb0, ffffffff749b6f60, 100470ea0, 141) + a0
ffffffff7484acb8 cleanfree (0, ffffffff749c3670, ffffffff749b6f60, 0, ffffffff749c3668, ffffffff749c 3768) + 60
ffffffff74849da0 mallocunlocked (a, 0, ffffffff749b6f60, 10, 5, 0) + f8
ffffffff74849c8c malloc (a, 100268610, 0, 0, 1002f6c18, 2000c) + 20
ffffffff74c08820 __1c2n6FL_pv_ (a, ffffffff74c07830, 0, 104274, ffffffff74d0ca70, 1002f6c18) + 28
00000001000ee2a8 __1cIpre_sfno6F_v_ (0, 0, ffffffff7fffba57, ffffffff7fffbce4, ffffffff7fffba6b, 2) + 40d0
00000001000679dc __1cTprocessStagingTable6F_i_ (0, ffffffff7fffc720, ffffffff7fffcd78, 20, 132, ffff ffff7fffc843) + 32c
0000000100076948 main (9, ffffffff7fffcf08, ffffffff7fffcf58, 0, 0, 100000000) + 21e8
000000010003cd1c _start (0, 0, 0, 0, 0, 0) + 17c
----------------- lwp# 2 / thread# 2 --------------------
ffffffff748a74c0 signotifywait ()
ffffffff74e11794 _dynamiclwps (ffffffff74f20000, ffffffff746044b6, ffffffff74b01698, ffffffff73d0083                                          8, 6d8b5, 0) + 24
ffffffff74e14d38 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 4 / thread# 4 --------------------
ffffffff74e1c77c lwp_cond_wait (ffffffff74f21c20, ffffffff74f21c08, 0)
ffffffff74e0b684 cotimerset (ffffffff74f21c20, ffffffff74f20000, ffffffff74f21c08, 3, 0, 0) + a0
ffffffff74e1ecd8 threadstart (0, 0, 0, 0, 0, 0) + 40
----------------- lwp# 5 --------------------------------
ffffffff748a5534 door (0, 0, 0, 0, ffffffff73209ba0, 4)
ffffffff74e19c94 scdoor_func (ffffffff73209c50, ffffffff74f20000, 4, 3, ffffffff74f20000, 1) + 6c
ffffffff74e0d0c8 lwpstart (ffffffff73209c50, 0, 0, 0, 0, 0) + 18
ffffffff74e14d38 thr_yield (0, 0, 0, 0, 0, 0) + 8c
----------------- lwp# 6 / thread# 3 --------------------
ffffffff748a79bc lwp_sema_wait (ffffffff7360dd60)
ffffffff74e0c3d0 _park (ffffffff7360dd60, ffffffff74f20000, 0, ffffffff7360dc50, 1, ffffffff74f21c74                                          ) + 114
ffffffff74e0c09c _swtch (ffffffff7360dc50, ffffffff74f260c8, ffffffff74f20000, 0, 5, 1000) + 424
ffffffff74e10800 reapwait (ffffffff74f260c8, ffffffff74f2b618, 0, 0, 0, 0) + 38
ffffffff74e10550 _reaper (ffffffff74f21d18, ffffffff74f260c8, 0, ffffffff74f21cf0, 0, 1000) + 38
ffffffff74e1ecd8 threadstart (0, 0, 0, 0, 0, 0) + 40

Thanks a lot for your response.
Yes, I executed the program in dbx using RTC. There are couple of Read from uninitialized (rui) errors and Read from unallocated (rua). Surprisingly, the (rua) error comes from the location where I am using EXEC SQL FREE.
The following is the code inside DoPrepare():
db_count++;
EXEC SQL PREPARE curs_stm_1 FROM ' select * from eq_to_pr
where location_id = ? and e_trak = ?';
db_count++;
EXEC SQL DECLARE cc_bay CURSOR WITH HOLD FOR curs_stm_1;
EXEC SQL FREE curs_stm_1;
db_count++;
return true; /* SUCCESS*/
In the above code, dbx points Read from unallocated (rua) error from EXEC SQL FREE statement. When I commented out, the error is gone.
The samething with the following code too:
EXEC SQL CLOSE cc_bay;
EXEC SQL FREE cc_bay;
Note: I am using IBM Informix CSDK Version 2.80, IBM Informix-ESQL Version 9.52.FC2
Otherthan the above errors, RTC output was not having anything else.
I dont know why EXEC SQL FREE is being flaged.
The following is the dbx output:
<rtc> Read from unallocated (rua) on thread 1:
Attempting to read 4 bytes at address 0x1006a1dcc
which is 75 bytes past end of heap block of size 121 bytes at 0x1006a1d08
This block was allocated from:
[1] sqgdesc() at 0xffffffff5312af94
[2] process_msgs() at 0xffffffff5312f0d4
[3] sqrmessages() at 0xffffffff5312bccc
[4] _iqprepare() at 0xffffffff5311ae14
[5] sqli_prep_tcb() at 0xffffffff5311ab74
[6] sqli_prep() at 0xffffffff5311aa48
[7] DoPrepare() at line 275 in "oreo_eq_add.ec"
[8] oreo_eq_add() at line 390 in "oreo_eq_add.ec"
Location of error:
current thread: t@1
=>[1] sqli_curs_free_tcb(0x1005cbdf8, 0x1006a1db0, 0x2010c, 0x0, 0x1005a67d8, 0x0), at 0xffffffff531197dc
[2] DoPrepare(), line 284 in "oreo_eq_add.ec"
[3] oreo_eq_add(e_trak = 29365102, e_error1 = 0, process = 9, equip_id = 0), line 390 in "oreo_eq_add.ec"
[4] pre_bay_sc(), line 452 in "pre_bay_sc.ec"
[5] processStagingTable(), line 576 in "OreoDatabaseFunctions.ec"
[6] main(argc = 9, argv = 0xffffffff7fffccb8), line 327 in "OreoMain.ec"

Similar Messages

  • When exporting many videos with Lightroom 5, the process hangs randomly and needs to be restarted.

    When exporting few videos, the process hangs randomly. The processor performance is 0 % and the lightroom says it is working (actually it is not). I have to quit lightroom, kill all processes like amecommand.exe, Adobe Media Core, Adobe Dynamic Link Manager and restart the process. It stops randomly.
    I am exporting ALL-I videos from Canon 5D mark  III, into H264, high quality.
    PS: The same situation was with Lightroom 4.

    Hello,
    i have the same problem on LR5.5 on Win 7 (8G RAM)
    Thank you for any help.
    Petr

  • How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something"sign... it just doesn't start the system....

    How do I fix a initializing problem with my macbook pro? I only get to the blank screen with the apple logo and the "processing something" sign... it just doesn't start the system....
    Please help
    Marcelo

    If there is no loading bar, it's usually a problem with a third party kext file in OS X itself.
    You can press the power button down to force a hardware shutdown, then reboot holding the shift key down on a wired or built in keyboard, this will disable them and you go around and update your third party software.
    Gray, Blue or White screen at boot, w/spinner/progress bar
    Also take this time to backup your users files off the machine if possible.
    Most commonly used backup methods
    Sometime that won't work and you need to do more
    ..Step by Step to fix your Mac

  • I attempted to upgrade the software on my iPad and I got a message that said it couldn't restore the iPad software due to an error. Now the iPad has a black scrren with the apple symbol and the processing symbol going around.

    I attempted to upgrade the software on my iPad 2 and I got a message that said "unable to restore Ipad due to error". Now the iPad had a black screen with the Apple symbol and the processing symbol going around and around. When I tried to re connect it to iTunes is says "cannot connect to this iPhone due to error". How do I reset the ipad?

    Please Get the iPad User Manual for iOS 5.

  • I have a macbook air and  and hdmi that i have used many times, but not all of a sudden the tv won't recognize the hdmi. The computer flashes when it is plugged into the hdmi but the tv says "no signal" and the airplay displays option says "no device"

    I have a macbook air and  and hdmi that i have used many times, but not all of a sudden the tv won't recognize the hdmi. The computer flashes when it is plugged into the hdmi but the tv says "no signal" and the airplay displays option says "no device detected" and the drop down bar is grey and locked.

    I have a macbook air and  and hdmi that i have used many times, but not all of a sudden the tv won't recognize the hdmi. The computer flashes when it is plugged into the hdmi but the tv says "no signal" and the airplay displays option says "no device detected" and the drop down bar is grey and locked.

  • Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached an email back to the sender and a preset admin password would open it

    Is it possible to create a standard form that can be emailed to anyone and once filled out by the receiver, have a button that the receiver clicks and the form is encrypted and attached to an email back to the sender and a preset admin password would open it?

    Hello Graphicsguy123,
    You would need to first create the form ( or Widget in EchoSign) first to generate a url which you can paste it in the email being sent to customers. You would need to make sure you have a Document Cloud Enterprise Premium account in order to create a Widget. If you don't have the account, you can use the trial version to test it. Here is the link:
    Global Trial Registration | eSign services from Adobe
    -Rijul

  • Flash play installation not work - The exe file deelete automaticly and the process is still running

    Flash play installation not work - The exe file deelete automaticly and the process is still running

    Why i get no answer?

  • Mac pro 5,1 / 10.8.2 / 10.0.7 - while working in fcx and the program and the system hangs (freezing)

    mac pro 5,1 / 10.8.2 / 10.0.7 - while working in fcx and the program and the system hangs (freezing). Only moves the mouse pointer. In addition to disconnecting from the mains, nothing helps! what to do?

    Yes, it would if you ran it on the new MBP which is the reason I am saying install rather then clone.
    If you clone then you are only getting the same code as the old MBP which probably will not have the correct drivers.

  • I can't access to wi fi even though i have a good signal and the router is working properly (my laptop works perfectly)

    i can't access to wi fi even though i have a good signal and the router is working properly (my laptop works perfectly)

    Try rebooting the router and see if that helps. unplug it from power for about 30 seconds and then plug it in again.
    You can also try restarting your iPad. 
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Silverlight shows no video and the pc hangs afterwards

    silverlight is up to date installed, however I can't see any video, I only hear the sound and the pc hangs afterwards when I try to close Mozilla Firefox

    very likely caused by routing, were you able to ping the other party?
    =============================
    Please remember to rate useful posts, by clicking on the stars below. 
    =============================

  • While trying to opening Video link in IE6 browser a white screen appears and the screen hangs.

    Added a video as an internal link to a news article.
    The flash player version we are using is 7.0.0.0. This video opens fine in all the browsers except for IE6 browser.
    While trying to opening this link in IE6 browser a white screen appears and the screen hangs.
    Please find the link below :
    http://www.abnamroprivatebanking.com/global#global/au-news/global/14241
    When we try to open any videos in the above link using IE6 browser white screen appears.
    Could you please provide a solution as what can be done to resolve this issue.

    if you're using an flvplayback component, you need to use fp 8 or better.  or, use the netstream class with fp 7.

  • I upgraded to Lion and now Safari doesn't work and the updater hangs so I can't install the updates. Can anyone help me with this?

    I upgraded to Lion and now Safari hangs up and the updater hangs up so I can't install the update. Can anyone help?

    Reinstalling Lion
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alterhatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • TS1398 my new ipad works perfectly. the iphone 5, however, cannot connect to the same wifi, can barely get a 3G signal, and the power level is at 53% after being barely used for 1\2 a day. Is this a hardware problem?? My old 3Gs was fine until it died.

    my new ipad works perfectly. the iphone 5, however, cannot connect to the same wifi, can barely get a 3G signal, and the power level is at 53% after being barely used for 1\2 a day. Is this a hardware problem?? My old 3Gs was fine until it died.

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • TS3988 I am in the midst of setting up my new iPad Air, and the process seems to be stuck on "Updating iCloud settings..."  What is a reasonable amount of time for this step to take?

    I am in the midst of setting up my new iPad Air, and the process seems to be stuck on "Updating iCloud settings..."  What is a reasonable time for this step to take?

    Shouldn't take more than a few seconds to a minute.  If it's stuck, you might want to give Apple support a call to see if they are experiencing unreported server issues.  Since your device is new, you are within the 90-day free call support period.  You can set up the call here: http://www.apple.com/support/icloud/contact/.  You will need your serial number, which is on the box and (I believe) the back of your iPad.

  • My Ipod touch is acting very annoying. When i press the sleep/wake button to turn it on it just turns on with the apple logo and stays there. The screen will then blink white occasionally and the process will start again.

    My Ipod touch is acting very annoying. When i press the sleep/wake button to turn it on it just turns on with the apple logo and stays there. The screen will then blink white occasionally and the process will start again. Once when it turned white. i pressed the power and home buttons at the same time and then the above process continued.

    Sounds like your iPhones software may be corrupt. Try placing the iPhone into recovery mode. To do this, follow the steps in this article:
    http://support.apple.com/kb/HT1808
    Hope this helps
    - Greg

Maybe you are looking for

  • Help setting up Open DNS with new airport extreme

    I cant seem to get Open DNS to work with a new airport extreme. The status says I am not using Open DNS and its not filtering anything. I have followed the exact steps for set up listed on their website, checked the dns settings, cleared both caches

  • Help with JQuery Mobile App- Passwords

    Hello, I just downloaded the Dreamweaver CS5.5 trial today onto my MacBook Pro (OS 10.6.6) and am trying to make a JQuery Mobile web app.  Once users get to the webpages on their iphone/android, I need them to be able to login so that they can get da

  • Unsupported Browser on iPhone / iPad with ISE 1.3

    I'm playing around with ISE 1.3 and the self provisioning flow.  I'm able to provision a Windows client, but an iPhone or iPad with IOS 7.1.2 gives me an "unsupported browser" error when I try to sign on.  I have an IOS client provisioning profile se

  • Curve: average value of the maximum peaks?

    Hi @ all! DIAdem 11.1: is it somehow possible to calculate the average value of all the maximum peaks of a curve? If yes, how can I make it? Thanks for your help!

  • USB Headphones and iTunes incompatible

    Hello all, I just purchased the Logitech 350 USB (only) headphones for digital voice recognition as I also use Dragon v9.5. Point becomes when USB headphones are plugged in, iTunes pumps sound out through the built in speakers of my laptop. iTunes is