#539 Crash when closing Station List window OSX

v1.0_(example)
closed
nobody
5
2014-08-04
2009-08-22
Anonymous
No

I am running xastir 1.9.5, which I compiled on MacOS X, using the instructions at http://www.xastir.org/wiki/index.php/HowTo:Mac_OSX

The program runs fine, but any time I open any of the Station List windows (View -> Mobile Stations, All Stations, Local Stations, Last Stations), Xastir will crash with a seg fault when I hit the "Close" button on that window.

Is there a fix for this, or, alternately, has anyone built a known good binary for OSX 10.5? Thanks!

Russ N3WDZ
russ at whiterose dot net

Here's the Apple stack trace info:

Process: xastir [8327]
Path: /usr/local/bin/xastir
Identifier: xastir
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [8326]

Interval Since Last Report: 1786712 sec
Crashes Since Last Report: 7
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 4

Date/Time: 2009-08-22 11:17:14.408 -0400
OS Version: Mac OS X 10.5.7 (9J61)
Report Version: 6
Anonymous UUID: A8A0E259-6C4E-4A4D-B8AC-74ABD161ACE3

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c0422697
Crashed Thread: 0

Thread 0 Crashed:
0 libXm.3.dylib 0x005d0ce4 SortChildren + 452
1 libXm.3.dylib 0x005cff14 DeleteChild + 87
2 libXt.6.dylib 0x0089487a XtPhase2Destroy + 826
3 libXt.6.dylib 0x00894a2d _XtDoPhase2Destroy + 125
4 libXt.6.dylib 0x008990bf XtDispatchEvent + 559
5 libXt.6.dylib 0x00899464 XtAppMainLoop + 68
6 xastir 0x000cbdb4 0x1000 + 830900
7 xastir 0x00001f86 0x1000 + 3974

Thread 1:
0 libSystem.B.dylib 0x95c10f9a read$UNIX2003 + 10
1 xastir 0x0004b5c1 0x1000 + 304577
2 libSystem.B.dylib 0x95c1e155 _pthread_start + 321
3 libSystem.B.dylib 0x95c1e012 thread_start + 34

Thread 2:
0 libSystem.B.dylib 0x95c3c6fa select$DARWIN_EXTSN + 10
1 xastir 0x0004b5f1 0x1000 + 304625
2 libSystem.B.dylib 0x95c1e155 _pthread_start + 321
3 libSystem.B.dylib 0x95c1e012 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xc0422683 ebx: 0x005d0b2c ecx: 0x010305f8 edx: 0x00d6a8d0
edi: 0x008d2590 esi: 0x005cfebd ebp: 0xbfffea68 esp: 0xbfffea20
ss: 0x0000001f efl: 0x00010246 eip: 0x005d0ce4 cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0xc0422697

Binary Images:
0x1000 - 0x354ffb +xastir ??? (???) <dfaf915f5ef5946047dfcd5306026e2a> /usr/local/bin/xastir
0x592000 - 0x7fbfff +libXm.3.dylib ??? (???) /sw/lib/libXm.3.dylib
0x886000 - 0x8d1ff8 +libXt.6.dylib ??? (???) <1ecdb03a7ccef21ce2e9d5c424a83478> /usr/X11/lib/libXt.6.dylib
0x8e6000 - 0x9d2fe7 +libX11.6.dylib ??? (???) <4622e75999230dd6c13f9596ee85d140> /usr/X11/lib/libX11.6.dylib
0x9f4000 - 0xa74feb +libfreetype.6.dylib ??? (???) <222f45ef1fa11e8249a701e322512477> /usr/X11/lib/libfreetype.6.dylib
0xa8d000 - 0xaaefe3 +libpng12.0.dylib ??? (???) <a6ae3629a735f024dc517d2de5300746> /usr/X11/lib/libpng12.0.dylib
0xab7000 - 0xac3ffa +libXext.6.dylib ??? (???) <93da9ae478f96f0381a2afd2c2f3d59c> /usr/X11/lib/libXext.6.dylib
0xacb000 - 0xad0ffc +libSM.6.dylib ??? (???) <8a23b7339058beac2b0830af9732d678> /usr/X11/lib/libSM.6.dylib
0xad6000 - 0xae7fff +libICE.6.dylib ??? (???) <8922699fceea1ab3cb877c66729887ec> /usr/X11/lib/libICE.6.dylib
0xaf0000 - 0xafdfe3 +libXpm.4.dylib ??? (???) <07e2a5991ca1da38ac47db9e3cdb390a> /usr/X11/lib/libXpm.4.dylib
0xb03000 - 0xb0aff3 +libintl.3.dylib ??? (???) <2ef926f747c874953d1a8aeb56ad297d> /sw/lib/libintl.3.dylib
0xb11000 - 0xb15ff3 +libXp.6.dylib ??? (???) <86d480a200e66e0c338ff4bf673b14e3> /usr/X11/lib/libXp.6.dylib
0xb1b000 - 0xb46ffb libcurl.4.dylib ??? (???) <54ada27deb3b4ff7043d8836264eca0d> /usr/lib/libcurl.4.dylib
0xb50000 - 0xb79fe7 +libpcre.0.dylib ??? (???) /sw/lib/libpcre.0.dylib
0xb7d000 - 0xb91fe7 +libXmu.6.dylib ??? (???) <31b928c881bf62809fcc9bb615626f49> /usr/X11/lib/libXmu.6.dylib
0xb9a000 - 0xb9aff1 +libXau.6.dylib ??? (???) <b689fbf8a13afa2210c7e24346b7dd0b> /usr/X11/lib/libXau.6.dylib
0xb9f000 - 0xba1fef +libXdmcp.6.dylib ??? (???) <ffee675c7361243f7bcc4f7f8cb6e166> /usr/X11/lib/libXdmcp.6.dylib
0xba6000 - 0xc9dfe2 +libiconv.2.dylib ??? (???) <0dc0d3841c6bd3c7cd5e29d5408ab599> /sw/lib/libiconv.2.dylib
0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld
0x90003000 - 0x9008fff7 com.apple.LaunchServices 290.3 (290.6) <bdba267184df88bd5b8e2116ea903872> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x905ad000 - 0x905b1fff libGIF.dylib ??? (???) <572a32e46e33be1ec041c5ef5b0341ae> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x905b2000 - 0x9060cff7 com.apple.CoreText 2.0.4 (???) <f0b6c1d4f40bd21505097f0255abfead> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x90613000 - 0x906b7fec com.apple.CFNetwork 438.10 (438.12) <fde64bbb20532794396fb21911ccaa98> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x906c8000 - 0x906ecfeb libssl.0.9.7.dylib ??? (???) <8084593b773bec8f2b9614fd23c5ed73> /usr/lib/libssl.0.9.7.dylib
0x90725000 - 0x90729fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x90738000 - 0x90738ff8 com.apple.ApplicationServices 34 (34) <8f910fa65f01d401ad8d04cc933cf887> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x9073e000 - 0x9076bfeb libvDSP.dylib ??? (???) <b232c018ddd040ec4e2c2af632dd497f> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x90a93000 - 0x90b1aff7 libsqlite3.0.dylib ??? (???) <3334ea5af7a911637413334154bb4100> /usr/lib/libsqlite3.0.dylib
0x90b6a000 - 0x90c35fff com.apple.ColorSync 4.5.1 (4.5.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x90d77000 - 0x90d83fff libbz2.1.0.dylib ??? (???) <c5a3563ebe66db7fa456e0fb75b657df> /usr/lib/libbz2.1.0.dylib
0x90ea5000 - 0x90fd8fef com.apple.CoreFoundation 6.5.6 (476.18) <2d52bab73660117571bd6486dc318f8e> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x91159000 - 0x91188fe3 com.apple.AE 402.3 (402.3) <b13bfda0ad9314922ee37c0d018d7de9> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x916c0000 - 0x9199aff3 com.apple.CoreServices.CarbonCore 786.11 (786.13) <9e2d85d52e5e2951aa4dd53c48ccc52f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x91a0f000 - 0x91e1ffef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x92f74000 - 0x92ff1fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x92ffa000 - 0x93008ffd libz.1.dylib ??? (???) <5ddd8539ae2ebfd8e7cc1c57525385c7> /usr/lib/libz.1.dylib
0x93010000 - 0x9328cfe7 com.apple.Foundation 6.5.8 (677.24) <aa84b0383891378c348ffa4a94853082> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x933cc000 - 0x9359dffb com.apple.security 5.0.5 (36371) <c13e0bb1acfdcf94be4d3ee118ef190e> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x935a9000 - 0x93650feb com.apple.QD 3.11.56 (???) <a94d0f5438b730e88e5efdb233295c52> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x93651000 - 0x93658ffe libbsm.dylib ??? (???) <d25c63378a5029648ffd4b4669be31bf> /usr/lib/libbsm.dylib
0x936cc000 - 0x93703fff com.apple.SystemConfiguration 1.9.2 (1.9.2) <8b26ebf26a009a098484f1ed01ec499c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x9377b000 - 0x93783fff com.apple.DiskArbitration 2.2.1 (2.2.1) <75b0c8d8940a8a27816961dddcac8e0f> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x937c7000 - 0x93846ff5 com.apple.SearchKit 1.2.1 (1.2.1) <3140a605db2abf56b237fa156a08b28b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x93a8f000 - 0x93bd5ff7 com.apple.ImageIO.framework 2.0.4 (2.0.4) <6a6623d3d1a7292b5c3763dcd108b55f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x93bd6000 - 0x93bd6ffa com.apple.CoreServices 32 (32) <2fcc8f3bd5bbfc000b476cad8e6a3dd2> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x93bd7000 - 0x93bdefe9 libgcc_s.1.dylib ??? (???) <a9ab135a5f81f6e345527df87f51bfc9> /usr/lib/libgcc_s.1.dylib
0x93bdf000 - 0x93cbffff libobjc.A.dylib ??? (???) <7b92613fdf804fd9a0a3733a0674c30b> /usr/lib/libobjc.A.dylib
0x93cc5000 - 0x93d58ff3 com.apple.ApplicationServices.ATS 3.7 (???) <a535fc4982d3acff6530ec25c402e679> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x93d59000 - 0x93d84fe7 libauto.dylib ??? (???) <42d8422dc23a18071869fdf7b5d8fab5> /usr/lib/libauto.dylib
0x93d85000 - 0x93dffff8 com.apple.print.framework.PrintCore 5.5.4 (245.6) <03d0585059c20cb0bde5e000438c49e1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x93e11000 - 0x93e2cffb libPng.dylib ??? (???) <4780e979d35aa5ec2cea22678836cea5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x94003000 - 0x9404cfef com.apple.Metadata 10.5.2 (398.25) <e0572f20350523116f23000676122a8d> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9405e000 - 0x9441cfea libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x94563000 - 0x94c03fe3 com.apple.CoreGraphics 1.409.3 (???) <25dceb14af3455b768f56e8765ecf3ca> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x94c04000 - 0x94c55ff7 com.apple.HIServices 1.7.0 (???) <01b690d1f376e400ac873105533e39eb> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x94f04000 - 0x94f04ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x9507c000 - 0x9508cffc com.apple.LangAnalysis 1.6.4 (1.6.4) <8b7831b5f74a950a56cf2d22a2d436f6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x9508d000 - 0x9513dfff edu.mit.Kerberos 6.0.13 (6.0.13) <804bd1b3f08fb57396781f012006367c> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x9513e000 - 0x9515dffa libJPEG.dylib ??? (???) <e7eb56555109e23144924cd64aa8daec> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x951d1000 - 0x9522effb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x9522f000 - 0x952e9fe3 com.apple.CoreServices.OSServices 227 (227) <30cebcb68b1b571df7d77474e0c31556> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x95350000 - 0x9538ffef libTIFF.dylib ??? (???) <3589442575ac77746ae99ecf724f5f87> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9542b000 - 0x95564ff7 libicucore.A.dylib ??? (???) <cac059ebdac7d9a63ee0f7a648c9f6cf> /usr/lib/libicucore.A.dylib
0x95565000 - 0x9562cff2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x95791000 - 0x957a1fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <06d8fc0307314f8ffc16f206ad3dbf44> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x95b1c000 - 0x95b32fff com.apple.DictionaryServices 1.0.0 (1.0.0) <ad0aa0252e3323d182e17f50defe56fc> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x95b33000 - 0x95be5ffb libcrypto.0.9.7.dylib ??? (???) <9d714c92872a93dd127ea8556b2c8945> /usr/lib/libcrypto.0.9.7.dylib
0x95bec000 - 0x95d53ff3 libSystem.B.dylib ??? (???) <b47c8e6e45aef620730710a732bf1930> /usr/lib/libSystem.B.dylib
0x96ebd000 - 0x96f9eff7 libxml2.2.dylib ??? (???) <2f6b294896866822330a8888b7f53b75> /usr/lib/libxml2.2.dylib
0x96f9f000 - 0x96fa1ff5 libRadiance.dylib ??? (???) <8a844202fcd65662bb9ab25f08c45a62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x96fdd000 - 0x97069ff7 com.apple.framework.IOKit 1.5.2 (???) <97b9f9d584f48891377f0481b9104434> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x970b0000 - 0x970d4fff libxslt.1.dylib ??? (???) <0a9778d6368ae668826f446878deb99b> /usr/lib/libxslt.1.dylib
0x97110000 - 0x97110ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x97111000 - 0x9712ffff libresolv.9.dylib ??? (???) <a8018c42930596593ddf27f7c20fe7af> /usr/lib/libresolv.9.dylib
0x97439000 - 0x97462fff libcups.2.dylib ??? (???) <1b0435164b9dc6c773d0b1f24701e554> /usr/lib/libcups.2.dylib
0xfffe8000 - 0xfffebfff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

Discussion

  • Jason Godfrey
    Jason Godfrey
    2010-08-19

    The following patch fixes it for me:

    Index: list_gui.c

    RCS file: /cvsroot/xastir/xastir/src/list_gui.c,v
    retrieving revision 1.55
    diff -u -u -r1.55 list_gui.c
    --- list_gui.c 31 Jan 2010 02:12:24 -0000 1.55
    +++ list_gui.c 19 Aug 2010 13:01:08 -0000
    @@ -387,47 +387,10 @@
    begin_critical_section(&station_list_dialog_lock, "list_gui.c:station_list_destroy_shell" );

     for (i = 0; i < ROWS; i++) {
    
    • XtDestroyWidget(SL_list[type][i]);
    • XtDestroyWidget(SL_da[type][i]);
    • XtDestroyWidget(SL_call[type][i]);
      if (SL_callback[type][i]) {
      XtFree(SL_callback[type][i]);
      SL_callback[type][i] = NULL;
      }
    • switch (type) {
    • case LST_ALL: // station list
    • case LST_TNC: // local station list
    • case LST_TIM:
    • case LST_OBJ: // Objects/Items
    • case LST_MYOBJ: // My objects/items
    • XtDestroyWidget(SL_packets[type][i]);
    • XtDestroyWidget(SL_pos_time[type][i]);
    • XtDestroyWidget(SL_node_path[type][i]);
    • XtDestroyWidget(SL_power_gain[type][i]);
    • XtDestroyWidget(SL_comments[type][i]);
     
  • Jason Godfrey
    Jason Godfrey
    2014-06-24

    Closing this bug as Curt checked in the above fix some time ago.

     
  • Jason Godfrey
    Jason Godfrey
    2014-06-24

    • status: open --> closed
    • Group: --> v1.0_(example)