Danny,

Sorry for this late reply but I got caught up with another bug. I've started working on the XbaeMatrix problem again. I've attached a file to this email. Its contains the stack trace obtained from a debugger on a Sun/Solaris 2.6 machine.  The problem as I mentioned before only occurs for string lengths greater than 40 characters.

Thanks for your help
--Neeta.
 
 

Danny Backx wrote:

Neeta,

Which version of Xbae on which platform ?

Have you tried to reproduce this in a small example ? (E.g. one
of the example programs that comes with Xbae ?)

Also if it crashes, could you send us a stack trace of the
application state ? This helps to figure out exactly where
it dies.

        Danny

Neeta <[EMAIL PROTECTED]> wrote :
> I'm having some problems with the XbaeMatrix widget and need some help.
> Whenever I resize one of my columns (any column) and then key in a string
> thats larger than 40 characters the application segvs in t_splay called
> from malloc.... The problem only seems to occur for characters strings with
> an even number of characters and does not occur if the string length is
> odd.
>
> If I don't resize the column, the problem does not occur because the user
> cannot key in more than 15 characters.  This limit (15) is being set by my
> application.
>
> Do you have any ideas? I am not explicitly setting the XmNColumnMaxLengths
> resources  for the matrix widget. I understand that if I don't set it, by
> default it gets the value of the XmNColumnWidths resource.

-- 
-----------------------------------------------------------------------------
Neeta Bhate Patwardhan      
GeoFrame Data Management      Phone; (713)-513-2563
Schlumberger-GeoQuest         Fax:   (713)-513-2038
 
(dbx) where
  [1] t_splay(0x5ce7f0, 0x5cc88, 0xefffa640, 0xefffafe8, 0xec98a6d0, 0xec98a68c), at 
0xec44665c
  [2] t_delete(0x5ce7f0, 0xec4a3100, 0x31320030, 0x5ce7c0, 0x28c220, 0x28), at 
0xec4464c4
  [3] realfree(0x5ce7c8, 0x5ce7e8, 0xec4a9710, 0xec4a3100, 0x5ce7c0, 0x2b), at 
0xec446198
  [4] cleanfree(0x0, 0xec4a3100, 0xec4a9684, 0xec4a9704, 0xec4a9684, 0x1), at 
0xec446994
  [5] _malloc_unlocked(0x10, 0x0, 0xefffa940, 0x5ce7c0, 0x0, 0xec4a3100), at 0xec445bf0
  [6] malloc(0xc, 0x1, 0xefffa940, 0x185d08, 0xefffafe8, 0x1), at 0xec445af8
  [7] calloc(0x1, 0xc, 0xc, 0x1, 0x13e8, 0xec98a668), at 0xec43ac68
  [8] XtCalloc(0x1, 0xc, 0xec7f016c, 0xec97842c, 0x0, 0xec98a68c), at 0xec79e3f8
  [9] SetValuesPrehook(0x185d08, 0xefffa940, 0xefffa640, 0xefffafe8, 0xec98a6d0, 
0xec98a68c), at 0xec8ce4a0
  [10] SetValuesRootWrapper(0x0, 0xefffa940, 0x185d08, 0xefffafe8, 0xefffa640, 
0xec97842c), at 0xec8436ec
  [11] CallSetValues(0x0, 0xefffac60, 0xefffa940, 0x185d08, 0xefffafe8, 0xec843650), 
at 0xec7c58d8
  [12] CallSetValues(0x0, 0xefffac60, 0xefffa940, 0x185d08, 0xefffafe8, 0x1), at 
0xec7c5870
  [13] CallSetValues(0x0, 0xefffac60, 0xefffa940, 0x185d08, 0xefffafe8, 0x1), at 
0xec7c5870
  [14] CallSetValues(0x0, 0xefffac60, 0xefffa940, 0x185d08, 0xefffafe8, 0x1), at 
0xec7c5870
  [15] XtSetValues(0x185d08, 0xec7f3c90, 0xec7f3c8c, 0x10, 0x356dd8, 0xec9813c8), at 
0xec7c5e9c
  [16] ProcessSingleWidget(0x185a90, 0x185d08, 0xec9873a4, 0xec97842c, 0x1, 
0xec7df3cf), at 0xec8a3abc
  [17] DoProcessMenuTree(0x185a90, 0xec9873a8, 0xec9873a4, 0xec97842c, 0x2, 
0xec987b40), at 0xec8a3348
  [18] set_values_non_popup(0x0, 0x185a90, 0xec97842c, 0x0, 0xefffb6f0, 0xefffb6f0), 
at 0xec8f0520
  [19] SetValues(0x2000, 0x0, 0x185a90, 0xec97842c, 0xefffb6f0, 0xefffb3d0), at 
0xec8f0f88
  [20] CallSetValues(0x0, 0xefffb6f0, 0xefffb3d0, 0x185a90, 0xefffba78, 0xec8f0a00), 
at 0xec7c58d8
  [21] XtSetValues(0x185a90, 0xec7f3c90, 0xec7f3c8c, 0x70, 0x356dd8, 0xec983464), at 
0xec7c5e9c
  [22] XtSetSensitive(0x185a90, 0x1, 0xec7f016c, 0x0, 0xec77c4dc, 0xec95787e), at 
0xec7c56b0
=>[23] udm_ProjectSurfaceDataManager::SetSensitivityOne(this = 0x15fdd8, Flag = 
'\001'), line 967 in "udm_projectsurface.cc"
  [24] udm_ProjectSurfaceDataManager::EnterCell(this = 0x15fdd8, row = 0, col = 1), 
line 457 in "udm_projectsurface.cc"
  [25] udm_mdiCellEnterCB(W = 0x177e08, ClientData = 0x15fdd8, CallbackData = 
0xefffbcfc), line 10879 in "udm_matrixdieditor.cc"
  [26] XtCallCallbackList(0x177e08, 0x18cc78, 0xefffbcfc, 0xea70fa38, 0x0, 0x72), at 
0xec79f944
  [27] xbaeEditCell(mw = 0x177e08, row = 0, column = 1), line 1635 in "Methods.c"
  [28] xbaeEditCellACT(w = 0x177e08, event = 0xefffc290, params = 0x18bfc8, nparams = 
0x1e09f8), line 845 in "Actions.c"
  [29] HandleActions(0x0, 0x177e08, 0x3f4c08, 0x1e09f8, 0x2a12d4, 0x1e09f0), at 
0xec7d6874
  [30] HandleSimpleState(0x8, 0x1737a8, 0x0, 0x14, 0x1e09c0, 0x1), at 0xec7d6fb0
  [31] _XtTranslateEvent(0x177e08, 0x0, 0xec7f016c, 0x177e38, 0xef4a80e8, 0x8), at 
0xec7d76a8
  [32] XtDispatchEventToWidget(0x1, 0xefffc290, 0xefffbfa8, 0x1, 0x0, 0x1), at 
0xec7acf58
  [33] _XtDefaultDispatcher(0xefffc290, 0x4, 0x0, 0x33240c, 0x0, 0x29a088), at 
0xec7adb94
  [34] XtDispatchEvent(0xefffc290, 0x0, 0xec7ad7f4, 0xec7f016c, 0x0, 0x1), at 
0xec7ade3c
  [35] OvmXtMainLoop(MinSchedInterval = 100), line 1315 in "ovm_xtmainloop.cc"
  [36] tks_XtMainLoop(MinSchedInterval = 100), line 1619 in "ovm_xtmainloop.cc"
  [37] MainEntry(argc = 1, argv = 0xefffc9fc, envp = 0xefffca04, InhibitTks = '\0', 
GetLicense = '\0', LicenseName = (nil), LicenseVersion = 0.0), line 544 in 
"system_link.cc"
  [38] ovm_user_main(argc = 1, argv = 0xefffc9fc, envp = 0xefffca04), line 610 in 
"system_link.cc"
  [39] ovm_user_main_caller(main_args = 0xefffc988), line 120 in "ovm_main.cc"
  [40] ovm_StackRoot(Process = 0x38c78), line 1308 in "ovm_process.cc"
  [41] ovm_Start(MainFunc = 0x15340 = &ovm_user_main_caller(function_args*), MainArg = 
4026517896U), line 1429 in "ovm_process.cc"
  [42] ovm_InitProcesses(MainFunc = 0x15340 = &ovm_user_main_caller(function_args*), 
MainArg = 4026517896U), line 490 in "ovm_init.cc"
  [43] main(argc = 1, argv = 0xefffc9fc, envp = 0xefffca04), line 172 in "ovm_main.cc"
(dbx) 

Reply via email to