CelestineSauvage commented on issue #50466:
URL: https://github.com/apache/arrow/issues/50466#issuecomment-4981806906

   Hi, I work with @eligriv75 😄 
   
   > "Also, out of interest, does running options(arrow.use_threads = FALSE) 
before write_parquet() change anything?" 
   
   — the crash persists.
   
   I have run the debug both with and without this option; here are the logs 
for the single-threaded run:"
   
   ```
   (1510.b04): Access violation - code c0000005 (first chance)
   First chance exceptions are reported before any exception handling.
   This exception may be expected and handled.
   arrow!Z17Array__infer_typeP7SEXPREC+0x119f72e:
   00007ffa`f75090be 498b4308        mov     rax,qword ptr [r11+8] 
ds:00000000`00000008=????????????????
   0:000> k
    # Child-SP          RetAddr               Call Site
   00 00000037`517f6080 00007ffa`f7230d2b     
arrow!Z17Array__infer_typeP7SEXPREC+0x119f72e
   01 00000037`517f60c0 00007ffa`f7d5361e     
arrow!Z17Array__infer_typeP7SEXPREC+0xec739b
   02 00000037`517f6150 00007ffa`f7dae4fa     
arrow!ZN12GcMemoryPool8AllocateExxPPh+0x3e
   03 00000037`517f6220 00007ffa`f7dade4d     
arrow!ZN5arrow10MemoryPool13ReleaseUnusedEv+0x91a
   04 00000037`517f62c0 00007ffa`f7233ec5     
arrow!ZN5arrow10MemoryPool13ReleaseUnusedEv+0x26d
   05 00000037`517f6370 00007ffa`f7db58b5     
arrow!Z17Array__infer_typeP7SEXPREC+0xeca535
   06 00000037`517f63d0 00007ffa`f807469e     
arrow!ZN5arrow13BufferBuilder6ResizeExb+0x95
   07 00000037`517f6430 00007ffa`f8087212     
arrow!ZN5arrow8internal14SerialExecutor19RunInSerialExecutorIbNS_6FutureIbEENS_6ResultIbEEEET1_NS0_6FnOnceIFNS3_IT_EEPNS0_8ExecutorEEEE+0x155e
   08 00000037`517f6500 00007ffa`f6efc2b4     
arrow!ZN5arrow8internal19DictionaryConverterINS_9UInt8TypeENS_1r10RConverterEE4InitEPNS_10MemoryPoolE+0x10f2
   09 00000037`517f65f0 00007ffa`f7e61941     
arrow!Z17Array__infer_typeP7SEXPREC+0xb92924
   0a 00000037`517f6640 00007ffa`f7dff2e8     
arrow!ZN5arrow1r9Converter7ConvertERKSt10shared_ptrINS_5ArrayEE+0x36c1
   0b 00000037`517f66a0 00007ffa`f6dd36ac     
arrow!ZN5arrow15BaseListBuilderINS_8ListTypeEED1Ev+0x2ba88
   0c 00000037`517f6710 00007ffa`f8085240     
arrow!Z17Array__infer_typeP7SEXPREC+0xa69d1c
   0d 00000037`517f6770 00007ffa`f81c206c     
arrow!ZN5arrow8internal19DictionaryConverterINS_10StringTypeENS_1r10RConverterEE4InitEPNS_10MemoryPoolE+0x40
   0e 00000037`517f67f0 00007ffa`f8081854     
arrow!ZN5arrow8internal9ConverterIP7SEXPRECNS_1r18RConversionOptionsEE9ConstructESt10shared_ptrINS_8DataTypeEES5_PNS_10MemoryPoolE+0x6c
   0f 00000037`517f6830 00007ffa`f7e00fde     
arrow!ZN5arrow8internal17MakeConverterImplINS_1r10RConverterENS2_15RConverterTraitEE5VisitERKNS_14DictionaryTypeE+0xc4
   10 00000037`517f68e0 00007ffa`f6344edb     
arrow!ZN5arrow15VisitTypeInlineINS_8internal17MakeConverterImplINS_1r10RConverterENS3_15RConverterTraitEEEJEEENS_6StatusERKNS_8DataTypeEPT_DpOT0_+0x10ce
   11 00000037`517f6960 00007ffa`f634631f     
arrow!ZN5arrow1r26vec_to_arrow__reuse_memoryEP7SEXPREC+0xfb
   12 00000037`517f69f0 00007ffa`f62e1df7     
arrow!Z16Table__from_dotsP7SEXPRECS0_b+0xb0f
   13 00000037`517f6c80 00007ffb`1c72227e     arrow!arrow_Table__from_dots+0x57
   14 00000037`517f8d00 00007ffb`1c5dcf35     R!rwarn_+0x28e0e
   15 00000037`517f8f30 00007ffb`1c5ebe6b     R!R_ParseEvalString+0x3fc5
   16 00000037`517f9840 00007ffb`1c5ec15b     R!R_ParseEvalString+0x12efb
   17 00000037`517f9910 00007ffb`1c5f1282     R!R_ParseEvalString+0x131eb
   18 00000037`517f9bf0 00007ffb`1c5f263f     R!Rf_eval+0x4a62
   19 00000037`517f9ff0 00007ffb`1c5f32bb     R!Rf_eval+0x5e1f
   1a 00000037`517fa080 00007ffb`1c630b12     R!Rf_eval+0x6a9b
   1b 00000037`517fa0c0 00007ffb`1c6317eb     R!getPRIMNAME+0x932
   1c 00000037`517fa140 00007ffb`1c631f5c     R!R_has_methods_attached+0x37b
   1d 00000037`517fc1c0 00007ffb`1c63215d     R!R_has_methods_attached+0xaec
   1e 00000037`517fc270 00007ffb`1c5e1072     R!R_has_methods_attached+0xced
   1f 00000037`517fc720 00007ffb`1c5ebe6b     R!R_ParseEvalString+0x8102
   20 00000037`517fd030 00007ffb`1c5ec15b     R!R_ParseEvalString+0x12efb
   21 00000037`517fd100 00007ffb`1c5f1282     R!R_ParseEvalString+0x131eb
   22 00000037`517fd3e0 00007ffb`1c5f263f     R!Rf_eval+0x4a62
   23 00000037`517fd7e0 00007ffb`1c5ec36d     R!Rf_eval+0x5e1f
   24 00000037`517fd870 00007ffb`1c6188fd     R!R_ParseEvalString+0x133fd
   25 00000037`517fdb50 00007ffb`1c618c70     R!Rf_ReplIteration+0x26d
   26 00000037`517fdbb0 00007ffb`1c618d12     R!Rf_ReplIteration+0x5e0
   27 00000037`517fec30 00007ff6`81b4b5a3     R!run_Rmainloop+0x52
   28 00000037`517fec60 00007ff6`81b44db4     
rsession_utf8!rd_traceback+0x9fbb43
   29 00000037`517fef00 00007ff6`80ec7101     
rsession_utf8!rd_traceback+0x9f5354
   2a 00000037`517ff160 00007ff6`820b9270     
rsession_utf8!git_trace_set+0x1e9501
   2b 00000037`517ffd80 00007ffb`4f3b7ac4     
rsession_utf8!rd_traceback+0xf69810
   2c 00000037`517ffdc0 00007ffb`4fdba8c1     KERNEL32!BaseThreadInitThunk+0x14
   2d 00000037`517ffdf0 00000000`00000000     ntdll!RtlUserThreadStart+0x21
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to